Login  Register

Trouble finding specific GL classes in JOGL 2.4.0

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

Trouble finding specific GL classes in JOGL 2.4.0

n8skow
13 posts
This post was updated on Nov 10, 2020; 4:17pm.
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
| More
Print post
Permalink

Re: Trouble finding specific GL classes in JOGL 2.4.0

gouessej
Administrator
6038 posts
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
| More
Print post
Permalink

Re: Trouble finding specific GL classes in JOGL 2.4.0

n8skow
13 posts
Lots to digest there, thank you Julien.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Trouble finding specific GL classes in JOGL 2.4.0

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