I have a data set which compromises of the order of a million cuboids. I render it as a single node, using TriangleMesh. This seems OK, rotation is fast. But I also want to do slicing of it, so I implemented code to recalculate the faces and apply these. It works, but is a bit slow - not in calculating the faces indices, but it seems in the rendering.
Each cuboid consists of 12 triangles
I then tried it with having a separate node for each cuboid, and setting the nodes visible/invisible. Performance of this was horrible.
Any ideas? To get an idea of what I am talking about, take a look at