Contents
What do you need to know about JOGL?
Jogl provides access to the latest OpenGL routines (OpenGL 4.x with nearly all vendor extensions) as well as platform-independent access to hardware-accelerated offscreen rendering (“pbuffers”).
How to add a jar to a project in JOGL?
In the “project” tab, select the “Libraries” node, select the item “Add JAR/Folder” and select the required JARs. Users of other IDEs should consult the IDE’s documentation to see how to add jar files and native libraries to their current project.
Where can I find the source code for JOGL?
Most of the native code is autogenerated during the build process by a new tool called GlueGen, the source code of which is available from its own jogamp.org project. Most developers using JOGL will download the most current release build. Separate instructions are available on how to build the source tree .
Where do I find the native library path in JOGL?
If you don’t use automatic native libraries loading , as enabled by default, you must set either the VM property java.library.path or the platform-dependent environment variable used for the location of native libraries, PATH on Windows, LD_LIBRARY_PATH on Unix (Linux, Solaris, ..) and DYLD_LIBRARY_PATH on Mac OS X.
Is it OK to drop JOGL jars in JRE?
Dropping the JOGL jars and native libraries into the extension directory of the JRE is strongly discouraged. Doing so will cause conflicts with third-party applications launched via Java Web Start, and causes confusion later when upgrading the distribution.
Where do I find the environment variable in JOGL?
The environment variable shall contain the full path to the “lib” directory; for example, on Windows, add “C:\\Users\\myhome\\jogamp-all-platforms\\lib\\windows-amd64” to your PATH using the System control panel, Advanced tab, Environment Variables button. At this point your Java installation should be able to see the Jogl class files.
How does JOGL integrate with AWT and swing?
OpenGL Evolution & JOGL ( UML) gives you a brief overview of OpenGL, its profiles and how we map them to JOGL. It integrates with the AWT, Swing and SWT widget sets, as well with custom windowing toolkits using the NativeWindow API. JOGL also provides its own native windowing toolkit, NEWT .