• Advertisement
Sign in to follow this  

[java] compact java ogl library

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

Is there something like glut available for java? I got JOGL working (with swift i think) but its like 300 lines of crap just to get a window up. I only wanna mess about with gl. Any ideas? (cross platform would be great)

Share this post


Link to post
Share on other sites
Advertisement
Have you tried LWJGL? It doesn't force you into an obscure gl event listener setup unlike jogl, and doesn't need AWT either so creating a window is much less hassle.

Share this post


Link to post
Share on other sites
Not that I know of. LWJGL might be a bit shorter on the setup, but you still have to go through the motions. My window setup code in LWJGL is about 150 lines, but I go through a lot of trouble to make sure the user gets at least some kind of useable window by having five loops over the display modes list.

You could try JME or one of the other scene graphs, they generally have all that window stuff packaged. I think JME even has a little Swing app to configure display resolution before starting the main window proper.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement