JOGL Tutorials

It’s been very frustrating to try to get and learn JOGL, firstly I spent hours and hours trying to work out why…

import net.java.games.jogl.*;

…wouldn’t work, thinking it was me not linking to the jogl.jar correctly, then finally finding a tiny bit of text saying that it was moved to javax.media.opengl :-X Now nearly all of the tutorials are using the old import and old methods that arn’t in anymore, so I’m finding it very hard to follow them.

My question is: are there any good beginner tutorials using JOGL that are up to date? If possible I’d like to learn from as many different sources as possible :stuck_out_tongue:

Thank you for your time.

these demos are not really tutorials, but cover most of the jogl features:

https://jogl-demos.dev.java.net/

Thanks, they are ok but it’s not easy to get at the source code, it’s hard to go through their CVS to find which source code relates to which demo, and as you’ve said they arn’t really tutorials so it’s quite hard for me to work out what’s going on!

I bought Killer Game Programming in Java by Andrew Davison a few years ago and found it very useful for learning about graphics in Java. After checking his site again and looking at the draft chapters for his new book Pro Java 6 3D Game Development I’ve seen that he has some chapters on JOGL, these are great and are pretty much the starting point I wanted, he’s also showing how active rendering can be used which is what I’d prefer to use for my games, so I’ll be using this and the NeHe/Java NeHe ports to learn JOGL/OpenGL!

If anyone has other tutorials for JOGL please let me know, it’s so difficult to find useful up-to-date material for beginners

you may try the NetBeans OpenGL Pack (https://netbeans-opengl-pack.dev.java.net) it comes with all the jogl demos (ready to run) and jogl project templates.