Archived

This topic is now archived and is closed to further replies.

OpenGL (C++ or Java)

This topic is 5652 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
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/

Share this post


Link to post
Share on other sites