1
Support / Culling inner-cubes
« on: December 03, 2013, 05:38:46 pm »
My game is coming along quite nicely. Right now I have a plane of cubes rendered (20x20) and performance is great. However, when I add a lot of cubes to the scene, the frame rate slows down and eventually it becomes unplayable.
I had tried to use picking to get objects from the scene that are currently "on top" but this is even slower (<1 fps).
Does anybody have any experience with culling interior objects like this?
I have generated a new test (10x10x10) and when you look at the center the framerate drops very quickly, but if you look at a glancing angle the framerate is fine.
All the objects share compiled-data with a single cube, the only thing that changes is the texture.
Thanks for your help again,
Donny
I had tried to use picking to get objects from the scene that are currently "on top" but this is even slower (<1 fps).
Does anybody have any experience with culling interior objects like this?
I have generated a new test (10x10x10) and when you look at the center the framerate drops very quickly, but if you look at a glancing angle the framerate is fine.
All the objects share compiled-data with a single cube, the only thing that changes is the texture.
Thanks for your help again,
Donny