You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It could be a huge performance boost to only render part of the scene that need to be redrawn.
The scene could be split into an arbitrary number of parts (3x3 ...) and component should "dirty" the part their into. Alternatively, component can return informations on their bounding box (AABB). Then scene only redraw the union of all AABB. (see below comment)
The text was updated successfully, but these errors were encountered:
I implemented a bounding box solution and performances actually got worse. With 1000 component packed in the same area (bounding box relevant) fps drop from ~20 to ~10.
I think, looping through children and computing the box is more expensive than predicted.
It could be a huge performance boost to only render part of the scene that need to be redrawn.
The scene could be split into an arbitrary number of parts (3x3 ...) and component should "dirty" the part their into.
Alternatively, component can return informations on their bounding box (AABB). Then scene only redraw the union of all AABB.(see below comment)The text was updated successfully, but these errors were encountered: