Hello,
I’m a good programmer in C++/opengl.
I learn JAVA with my job and I want developpe with OPENGL in JAVA.
Jogl (JSR-231) is the best but I can’t find a benchmark between C++ and JAVA with the 3D technologie
Hello,
I’m a good programmer in C++/opengl.
I learn JAVA with my job and I want developpe with OPENGL in JAVA.
Jogl (JSR-231) is the best but I can’t find a benchmark between C++ and JAVA with the 3D technologie
This is a benchmark comparing JOGL, LWJGL (both bindings to OpenGL) and the original C code of Quake 2:
http://bytonic.de/html/benchmarks.html
DP
Thanks, it’s very good perf with JOGL+JAVA, but quake2 is very old.
Have you an exeprience with a game developped 100% in JAVA+OpenGL to PC ?
The gains of time in JAVA programmation is a good deal with the bad perf … not ?
[quote]The gains of time in JAVA programmation is a good deal with the bad perf … not ?
[/quote]
Why do you think as bad perf as a start?
I really think that with java and jogl you can have really good performance.
Performance differences between C++ and Java are quite irrelevant regarding modern grafics programming. Java is fast enough for general purpose tasks (sometimes faster than C++ because of the simplier object model) and most of the eye candy is processed by the GPU anyway (shaders, VBOs). Regarding OpenGL Java is mostly responsible for managing textures and buffers with vertex-data. Of course there are other time consuming aspects of game development like LOD management and AI, but IMHO “fast enough” applies here as well.
As for your question regarding a 100% Java+OpenGL game, there is Tribal Trouble and I am writing one myself right now scheduled for a release this fall.