OpenGL (C++ or Java)

Started by
3 comments, last by C Barrier 21 years, 10 months ago
Is there any advantage using Java with OpenGL or is C++ better with OpenGL? Was OpenGL written in C?
Advertisement
quote:Original post by C Barrier
Is there any advantage using Java with OpenGL

You can run Java from your browser...
quote:
or is C++ better with OpenGL?

I don't know.
quote:
Was OpenGL written in C?

No it wasn't.

[edited by - IndirectX on June 25, 2002 5:20:26 PM]
---visit #directxdev on afternet <- not just for directx, despite the name
sorry, can I add a question of my own in here;
Can you use OpenGL in a java applet ?
quote:Original post by Tylon
sorry, can I add a question of my own in here;
Can you use OpenGL in a java applet ?


yes, you can use the GL4Java library, but I can't recommend using it in a browser since installation of that library is quite errorprone and not something you would want end users to do.

[edited by - felonius on June 25, 2002 6:59:23 PM]
Jacob Marner, M.Sc.Console Programmer, Deadline Games
quote:Original post by C Barrier
Is there any advantage using Java with OpenGL
or is C++ better with OpenGL?


OpenGL is practically the same with Java as it is in C++. In Java the overall program will be a little slower, but you will be more productive in the non-OpenGL related parts of the program. So you must weight productivity against performance when making this choice.

For a more in depth deiscussion read this report:

http://www.rolemaker.dk/articles/evaljava/

Jacob Marner, M.Sc.Console Programmer, Deadline Games

This topic is closed to new replies.

Advertisement