Archived

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

OpenGL for Java?

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

Well, I''ve gone through the excellent tutorials on NEHE''s site and since my main programming language of choice is Java I started looking at Hodglim''s ports of the tutorials to Java... One problem I''ve found with the implimentation of GL4Java is that all source code involves OpenGL usage in Java Applets. While Hodglim''s port was excellent, I want to break these out and create java applications as opposed to applets(If I want to develop a quick demo or something in Java I would rather not use something tied to a browser). To get to the point of this post: Has anyone had luck implimenting OpenGL as a java application? Is there a better API thats more flexible than GL4Java? And finally, source code would be greatly appreciated if any of you have successfully ported NEHE''s tutorials or anything else for that matter as a Java application...

Share this post


Link to post
Share on other sites
How about trying to download the Java3D opengl SDK from SUN?

(check http://java.sun.com/products/java-media/3D/index.html and be sure to grab the 1.4 beta 3 SDK while you are there)

Share this post


Link to post
Share on other sites
I would suggest grabbing jre 1.4b3, the prerelease 2.8.0.8 of GL4Java and Java3Db1. NIO is a big help speed wise. OpenGL works just fine through either of these api''s. They also work just fine in jframes. Just remember that java3D is a scenegraph api sitting on top of opengl or dx so if you want actual opengl calls you have to use gl4java.

The fanatic is incorruptible: if he kills for an idea, he can just as well get himself killed for one; in either case, tyrant or martyr, he is a monster.
--EM Cioran

Opere Citato

Share this post


Link to post
Share on other sites