Login  Register

Re: OpenGL constants location

Posted by Sven Gothel on Nov 18, 2011; 12:44am
URL: https://forum.jogamp.org/OpenGL-constants-location-tp3517354p3517528.html

On Friday, November 18, 2011 01:13:16 AM Demoscene Passivist [via jogamp] wrote:

>
> On Friday, November 18, 2011 12:31:19 AM KanonBol [via jogamp] wrote:
> >Why did you move them around? Fuck!
>
> LOL! Looks like u just awoke from stasis as ur question is quite '07 ...
> anyway to avoid any further 'tedious' explanations just try to use:
>
>
> ... hope that helps
>
> ps. I agree with pixdesk, plz check ur language next time ...

Funny indeed, well, we all may have our finest moments :)

As Dominik mentions, the OO GL profile abstraction is not really new
and well documented here:
  http://jogamp.org/jogl/doc/Overview-OpenGL-Evolution-And-JOGL.html
  http://jogamp.org/jogl/doc/bouml/html-svg/index-withframe.html

The 'move around' was a major re architecture for the new JOGL
allowing the use of OpenGL profiles validation at compile time .. and more.

On Friday, November 18, 2011 12:31:19 AM KanonBol [via jogamp] wrote:
> (there does not seem to be an index and navigating the
> javadocs is tedious)

Even via the javadoc you can browse the index (here G):
  http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/index-all.html#_G_

Just scroll down a bit and you reach the capital stuff, ie GL_....
No more tedious than browsing a paperback/book, but well ..

Within an IDE you may also just search for it. Eg. from within Eclipse
you may search the java declaration of field 'GL_RED'.

~Sven