pixi3d icon indicating copy to clipboard operation
pixi3d copied to clipboard

Support of LODs and map level geometry culling

Open ex opened this issue 1 year ago • 2 comments

Hello, nice project! I was quickly looking at your Desert Racing demo and your API and I don't see any support for LODs and culling optimizations, is this implemented or is it in the plans?

Best

ex avatar Jan 24 '24 16:01 ex

Hi there! The Desert Racing demo uses a very simple type of culling where objects are not rendered if they too far from the car. General LOD's and culling is not in the plans.

jnsmalm avatar Jan 27 '24 21:01 jnsmalm

Hi there! The Desert Racing demo uses a very simple type of culling where objects are not rendered if they too far from the car. General LOD's and culling is not in the plans.

Oh I see, Yes, I saw the simple culling when changed the camera projection, but I was not sure if that was the only one and if there was plans to implement it more generally. Regarding LODs, it's only changing models at runtime based on size over screen, any tips about what classes can I use for implementing this? My initial idea is loading all the model LODs at startup and just making visible/invisible the ones I want but would need a way to know how much pixel space is using a model over the screen, or using a distance/bounding box approach.

ex avatar Jan 30 '24 19:01 ex