Moving to JOGL 2.0 - missing GL_DISTANCE_ATTENUATION_EXT

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

Moving to JOGL 2.0 - missing GL_DISTANCE_ATTENUATION_EXT

Mario Z
Can someone help me out and tell me what the replacement is for GL_DISTANCE_ATTENUATION_EXT in JOGL 2.0? I'm moving from JOGL 1.1.1 to 2.0 and I'm don't have this variable available in GL or GL2. I'm guessing this is a change in OpenGL as well, but I can't find any reference to why it is gone or what it has moved to.

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Moving to JOGL 2.0 - missing GL_DISTANCE_ATTENUATION_EXT

Mario Z
I think I just figured it out - like 2 seconds after posting (go figure!!)

It turns out it has changed to:   GL2.GL_POINT_DISTANCE_ATTENUATION
Reply | Threaded
Open this post in threaded view
|

Re: Moving to JOGL 2.0 - missing GL_DISTANCE_ATTENUATION_EXT

gouessej
Administrator
In reply to this post by Mario Z
Hi

Next time, look at our API documentation:
http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Moving to JOGL 2.0 - missing GL_DISTANCE_ATTENUATION_EXT

Mario Z
yes, I will definitely do that...Merci, Julien.