OpenGL constants location

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenGL constants location

KanonBol
With pretty much every code example I get errors like "GL_VERTEX_ARRAY is not a member of object javax.media.opengl.GL2" and it's driving me fucking nuts.
Seems like the constants where moved around and I'm having trouble finding them (there does not seem to be an index and navigating the javadocs is tedious)
Why did you move them around? Fuck!
Reply | Threaded
Open this post in threaded view
|

Re: OpenGL constants location

Pixelapp
I don't know about you guys, but I will not be answering to stuff with this kind of language.
Reply | Threaded
Open this post in threaded view
|

Re: OpenGL constants location

Demoscene Passivist
Administrator
In reply to this post by KanonBol
>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:
import static javax.media.opengl.GL4bc.*;

... hope that helps

ps. I agree with pixdesk, plz check ur language next time ...
Reply | Threaded
Open this post in threaded view
|

Re: OpenGL constants location

Sven Gothel
Administrator
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
Reply | Threaded
Open this post in threaded view
|

Re: OpenGL constants location

KanonBol
>LOL! Looks like u just awoke from stasis as ur question is quite '07
I'm just getting into stuff now and I am looking at Wiki Examples

> ... anyway to avoid any further 'tedious' explanations just try to use ...
This does not work for me but I blame it on Scala because importing works a bit different there

> "plz check ur language next time ... "
Oh, the irony... well thank you anyway ;)

>The 'move around' was a major re architecture for the new JOGL
>allowing the use of OpenGL profiles validation at compile time .. and more.
I don't exactly know what that means but I'll give you the benefit of the doubt that this was worth pissing me off

>Even via the javadoc you can browse the index (here G):
Thanks, I must've.. uh.. overseen that.


Reply | Threaded
Open this post in threaded view
|

Re: OpenGL constants location

Sven Gothel
Administrator
On Friday, November 18, 2011 01:58:43 AM KanonBol [via jogamp] wrote:
> >The 'move around' was a major re architecture for the new JOGL
> >allowing the use of OpenGL profiles validation at compile time .. and more.
> I don't exactly know what that means but I'll give you the benefit of the
> doubt that this was worth pissing me off

I guess you just made an epic thread on our forum with this comment :)

Indeed, I anticipated the confusion and this thread (temporal cold war),
hence I messed up the monolithic structure.

Win :)

This is now a fun thread .. why shouldn't we have some ?

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: OpenGL constants location

Demoscene Passivist
Administrator
> I don't exactly know what that means but I'll give you the benefit of the
> doubt that this was worth pissing me off

 This definitly is epic ...