I need to visualize a lot of points in three dimensional space in jMonkeyEngine 3. One point is represented by a tetrahedron (a dome with two planes and three corners) to minimize the number of triangles per point.
That basically works but I get massive performance issues with more points. I probably need to visualize a million points or something like that but the FPS drop with more points until they hit 0 at around 250,000 points. The strange thing is that this is independent from the underlying graphics card. I tried it with an “Intel® UHD Graphics 620” and with a “Quadro RTX 6000/PCIe/SSE2”, both with the same result. It also does not make a difference if the display goes full screen or to a canvas inside a JFrame.
I would expect the Quadro to be able to render significantly more before finally giving up. I would also expect the performance to be better in full screen mode. This however is not the case. I suspect that rendering isn’t taking place on the GPU at all but on the CPU. Could that be it? If yes, how do I confirm this? If no, what else could be the cause?