kiss3d icon indicating copy to clipboard operation
kiss3d copied to clipboard

Performance bottleneck on large amount of objects

Open up-to-you opened this issue 6 years ago • 1 comments

I just tried to use cube.rs example with 10_000+ cubes in a single scene cube.rs

The great surprise was that bottleneck for smooth rendering was not GPU but CPU: Ubuntu 18.04, i7-6700K, intel HD 530.

The ratio of utilization was CPU-100% single thread, GPU - 30%.

I'm poor nooby in Rust, but tried to dig a bit deeper and I was a bit confused about this recursive loop scene_node.rs

are there any room for optimizations like "batch" rendering instead of the need to compute conditions for every element ?

up-to-you avatar Oct 14 '18 21:10 up-to-you

@up-to-you I know it's been a while, but were you every to improve performance for a lot of objects? I'm dealing with a similar situation, 1 CPU core pegged with ~10fps for ~10k polygons.

LucasPickering avatar Dec 05 '20 04:12 LucasPickering