I've been developing a 3D game using just standard JavaSE libraries for about a month now. I just got 3D model loading and rendering to work, I tested this with the Standford Dragon (.obj file, 1,000,006 vertices iirc) and it takes 0.15 ms to complete rendering. How can I render this faster?

I've been developing a 3D game using just standard JavaSE libraries for about a month now. I just got 3D model loading and rendering to work, I tested this with the Standford Dragon (.obj file, 1,000,006 vertices iirc) and it takes 0.15 ms to complete rendering. How can I render this faster?

Also, if I were to use LWJGL instead, would this be any faster?

Pretty sure it takes longer than 0.15 ms. That would give you a performance of 1 000 006 / 0.00015 = 6 666 706 666 vertices per second. If that's really the case, I think every graphics programmer in the world would want to have a word with you.

That's still 333 440 000 vertices per second. I'm pretty sure your timings are wrong unless you've figured out how to do a 4D matrix-vertex multiply and a w-divide in 10 clock cycles in Java. What FPS are you getting and exactly how are you rendering this with "standard JavaSE libraries"?

I assume you use software rendering, don't you? If you used hardware rendering, it would be faster, whatever the binding for the OpenGL API you use (JOGL, LWJGL). I switched to hardware rendering in 2007 and it was really efficient but the biggest increases of frame rate came from several kinds of culling and mesh optimizations.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org