I tested adding different number of simple cube instances to scene. With 400 I am still getting 72 fps but with 1000 the fps is dropped in the order 50 fps. At the latter case the GPU is around 80% and CPU 50%. When I add around 4000 primitives the fps drops to 25 and I get stalled frames. The GPU and CPU drop to lower values. Any idea what could be happening and is this normal?
I tried to enable all tricks given here:
But they did not have considerable effect to the outcome. I would seem logical that you could add more instances to the scene than around 500 especially if you freeze the world matrix and any other computations done per instance per frame. Is there something else I could try disable than what was listed in the “Optimize Your Scene” page?
I set all me meshes always active and called freezeActiveMeshes. With this setting I could get up to 1000 instances with 72 fps. With 2500 instances I again got fps of 40-50. I guess the system is CPU bound when you have that many instances in the scene?