Trouble finding specific GL classes in JOGL 2.4.0

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

Trouble finding specific GL classes in JOGL 2.4.0

n8skow
This post was updated on .
I see that 'javax.media.opengl' is now 'com.jogamp.opengl' in JOGL 2.4.0 - but I have not been able to find the following classes... any tips on where they live?

glPushMatrix
glTranslatef
glColor3f
glBegin
glTexCoord2f
glVertex2f
glEnd
glPopMatrix

Are these deprecated in newer versions of JOGL? If so - what's the equivalent means for calling them?
Reply | Threaded
Open this post in threaded view
|

Re: Trouble finding specific GL classes in JOGL 2.4.0

gouessej
Administrator
Please look at the Java documentation. javax.media.opengl no longer exists, it has been renamed:
https://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/index.html?overview-summary.html

Those methods are in the fixed pipeline, you'll find them in com.jogamp.opengl.GL2ES1, GL2, GL3bc, GL4bc and GLES1.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Trouble finding specific GL classes in JOGL 2.4.0

n8skow
Lots to digest there, thank you Julien.
Reply | Threaded
Open this post in threaded view
|

Re: Trouble finding specific GL classes in JOGL 2.4.0

gouessej
Administrator
You're welcome.
Julien Gouesse | Personal blog | Website