PDA

View Full Version : gl3 and glu compatible?



marshats
11-23-2009, 11:33 PM
How dependent on the version gl are the glu library functions? More specifically is there any chance of using the following glu functions for instance with GL3?


gluNewTess
gluDeleteTess
gluTessBeginContour
gluTessEndContour
gluTessBeginPolygon
gluTessEndPolygon
gluTessCallback
gluTesselator
gluTessNormal
gluTessProperty
gluTessVertex

Groovounet
11-24-2009, 01:59 AM
Dependent on OpenGL 1.1 glVertex... It can't be used with an OpenGL 3 core profile but OpenGL 3 compatible profile will still work with glu

Groovounet
11-24-2009, 08:16 AM
In this page, withim the "samples" there is the source of GLU:
http://oss.sgi.com/projects/ogl-sample/

I guess most implementation are based on it. You will see it mostly glVertex calls.

marshats
11-24-2009, 06:20 PM
Thanks. I ended up looking at the MESA source code for its glu implementation. Yes, you are right there are a lot of deprecated glVertex calls.