kiss3d
kiss3d copied to clipboard
Performance bottleneck on large amount of objects
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 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.