I have drawn a lot of sprites and GUI now, how can I improve the performance of my GUI like spriteMaker, because one of the requirements I have encountered is the need to display a large number of different names
This is my preliminary implementation case, please help me optimize performance, one is frame rate, and the other is sometimes crashing
You’ll need to improve the way panels are instanciated. For example adding/removing them in a radius around the camera. It depends on your use case, what you want to achieve at the end and then find solutions toward that goal.
Here are some hints - When drawing a large number of objects in a GUI.Container and performing container movement, the performance becomes very sluggish
I may need to display everything from a certain perspective, which is an unavoidable issue. Although partial rendering can indeed improve performance to a certain extent
you may find some solutions here: Best Approach for Displaying Dynamic Sensor Values in Babylon.js - #6 by wulf11
2 Likes