• Advertisement

Archived

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

Java 3D vs. OpenGL

This topic is 5495 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

Can you have the same effects with J3D as in OpenGL? Could you make (im not saying im goign to try) a game like Half-Life or Unreal using J3D? what are the disadvantages/advantages of the J3D API? would i WANT to build games with it?

Share this post


Link to post
Share on other sites
Advertisement
Hmm, Java3D? I''ve had to use it for some assignments at school (actually, the entire ''Graphics'' course was centered around Java3D), so I''ve got some experience in using it. At the end of the course I ended up practically begging my teacher to please please please let me use OpenGL
But seriously, I couldn''t het used to working with it. Java3D is a lot less ''low-level'' than OpenGL for instance. Java3D projects ran a lot slower than their OpenGL equivalents.

Anyways, for standalone games etc. I think I wouldn''t want to use Java3D. On the other hand, you could do some cool things with VRML like worlds and games in webbrowsers.

Jappie

Share this post


Link to post
Share on other sites
are u talking about the OpenGL Java implementation? because, C++ OpenGL has been tough for me to learn. I am currently learning java, and was thinking about getting into Java OpenGL or 3D.

Share this post


Link to post
Share on other sites
I''ll second that. DirectX was just horrible, and all I was trying to learn was DirectDraw. I am finding OpenGL to be marvelous so far. It feels like there is nothing I can''t do.

Share this post


Link to post
Share on other sites
The advantages of Java3D is that it gives you plenty of stuff that you will have to write anyway for free, such as model loaders, a scenegraph structure, view frustrum culling, etc. The disadvantage is mainly that it does not support all the features of a lower-level API and that it can have some overhead over code written for such an API. This is especially true for really simple code that does not benefit from the culling, caches and other optimizations in Java3D's scenegraph structure, which is what I am guessing that Jappie is referring to since he was able to create OpenGL 'equivalents'.

There is at least one commercial game that uses Java3D I think, but the latest AAA title that uses Java (IL-2 Sturmovik) seems to be using some lighter OpenGL binding. Your choice of API really depends on what kind of game you are writing.

[edited by - HenryAPe on February 3, 2003 1:25:27 AM]

Share this post


Link to post
Share on other sites

  • Advertisement