wood burning stoves*
The moose likes Other JSE/JEE APIs and the fly likes OpenGL and Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "OpenGL and Java" Watch "OpenGL and Java" New topic
Author

OpenGL and Java

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

In a search for a good OpenGL/JAVA implementation, the best one I have found is GL4Java.
Does anyone know of any other ones that are possibly still maintained and kept somewhat current?
GL4Java only supports openGL 1.3 Specs and their last update was in 1998 or something like that. I have been using it and have not had any problems, but having something that is maintained is always nice.
Thanks.


GenRocket - Experts at Building Test Data
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

LWJGL (Light Weight Java Gaming Library) is a pretty recent and up-to-date Java interface to OpenGL and OpenAL. Most of the guys that work on it hang out at JavaGaming.org, and you can find some pretty good tutorials on there, too.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Thanks Nate. From the looks of things, I think I will be sticking to C and C++ when it comes to OpenGL.
It's funny. Instead of spending some good time trying to write a decent wrapper for OpenGL in JAVA, everyone seems to think that an OpenGL GAME Wrapper is the way to go.
Anyway, the other bad thing is that Java GUI API's don't get a long real well with OpenGL it seems. They tend to fight over repainting and it makes things really sluggish.
Thanks again.
Stephen Bloch
Ranch Hand

Joined: Aug 19, 2003
Posts: 48
Any further developments in this area since the last post, over 2 years ago? Are there any good Java interfaces to OpenGL? Or do I have to teach my graphics course in C++?

Does anybody here have experience teaching a graphics course using OpenGL or Java3D?
[ June 27, 2005: Message edited by: Stephen Bloch ]

SCJP 1.4
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Stephen Bloch:
Any further developments in this area since the last post, over 2 years ago? Are there any good Java interfaces to OpenGL? Or do I have to teach my graphics course in C++?


JOGL and LWJGL are the two prominant forces in this area these days. Xith and jmonkeyengine (jME) are the 2 scenegraph API's that are most popular and they both use JOGL and/or LWJGL.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: OpenGL and Java
 
Similar Threads
In Game Opengl GUI
Game development in java
3D situation w/ java & opengl
JNI - Obtaining window handles from AWT
OpenGL and Java..Or Not