New answers tagged jogl
jogl 2.0 have added profiles, this is important in order to support the new shader only based OpenGL contexts. The base GL class only contain functionality that is still common across all OpenGL profiles. http://jogamp.org/jogl/doc/Overview-OpenGL-Evolution-And-JOGL.html To fix your code you first need to request a fixed function compatible profile. This is ...
If you use a build system like MAVEN it is actually fairly easy to use JOGL. (But it is indeed stupidly hard to configure without it). Just add this to your POM file <dependencies> <dependency> <groupId>org.jogamp.gluegen</groupId> <artifactId>gluegen-rt-main</artifactId> ...
JOGL does just that, but makes it easier for you. If you have trouble installing JOGL, you will have a lot more trouble trying to do it yourself. If you still insinst on doing it yourself, search for JNI and/or JNA.
Top 50 recent answers are included