2 ms·
The rendering engine is pretty primitive by modern standards, and shows signs of being implemented by someone new to OpenGL. It displays all the performance iss
by astrodust 16y ago
The rendering engine is pretty primitive by modern standards, and shows signs of being implemented by someone new to OpenGL. It displays all the performance issues that a typical first OpenGL implementation does like significant lag when turning around quickly where objects are swapped in and out of memory in a blocking manner.
It could benefit from significant optimizations in terms of algorithm and these would probably make it perform an order of magnitude even faster than porting the same code to C++ would ever do.
The OpenGL layer is not being utilized effectively. I think the game is currently CPU/VM bound and simply can't keep up with the GPU.
More aggressive use of the GPU, like through OpenGL or OpenCL calls, would improve performance considerably. I'm not sure how viable the OpenCL angle is on Java, though.