tutorial for JOGL

Is there any tutorial for JOGL?

No, but since it’s an opengl binding you can use any tutorial for OpenGl (Nehe’s … )

This was VERY much helpful to me. Actually, I think it should be made a Sticky Thread. Mods?

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1058027992;start=

It is old, but yet the best intro I’ve read to JOGL. Thanks Greg!

I cant set up my jogl properly

pls point me to the right link where i can download the necessary files to begin jogl.
I downloaded the files from August 4 build and there is no binary or i cant find the .dll and stuff in there
i only found the files jogl.jar and native jar files for each OS

pls enlighten me with this

thanks

by the way im using JBUILDER as my IDE…

Ignore my last post i found it
i forgot to extract the jar files using the jar utility i used winztip to extract the files

im so sory

i have found the dll but still i can run the code… it says jawt.dll not found but these file is already in my jre\bin directory

how many native files i need to run jogl? i only got 2 (dlls) extracted from the jar file

This is how I’ve run Nehe tutorial ports. Windows specific example but principal applies to other platforms as well.

I just put everything to lib folder, then specify java.library.path argument when running java.exe/javaw.exe. It tells virtual machine where native libraries are loaded from.

You may want to use a separate c:\nehe\jogl folder where all jogl-related files are located. Modify java.library.path value to reference that directory, so that native .dll files can be loaded by virtual machine.

Don’t forget to modify -cp (-classpath) value to reference jogl jars in that folder as well.

Folder:
c:\nehe\lesson02.bat
c:\nehe\lib\jogl.dll
c:\nehe\lib\jogl_cg.dll
c:\nehe\lib\jog.jar
c:\nehe\lib\nehe-demos.jar
c:\nehe\lib\data.jar

Lesson02.bat


java -Djava.library.path=.\lib -cp ./lib/nehe-demos.jar;./lib/data.jar;./lib/jogl.jar demos.nehe.lesson02.Lesson02
pause