-
Notifications
You must be signed in to change notification settings - Fork 97
Optimize Drawing Speed #492
Copy link
Copy link
Open
Labels
Description
Medium priority optimization
Drawing speed:
When drawing around 1000 basic shapes (I.e lines) the simulation computation speed drops significantly. In some cases, this can cause misinterpretations in algorithm performance and the developer needs to be mindful at the drawing speed of something that seems relatively simple.
There could be a few suggestions for solving this:
- Group shapes together that are similar (for example, if there are 100 small line segments lined up end to end, it can be grouped together into a single long line.)
- Limit the number of drawn shapes.
- Camera occlusion/ frustum culling, where only shapes in the camera view is rendered (not sure if this is already implemented)
- Levels of detail, where it limits the levels of detail being rendered when they are outside a certain range from the camera.
Reactions are currently unavailable