Hi Robert -- I'm building against the GL3 header now, and many symbols
are used in OSG that are deprecated in GL3, such as some of the TexGen
symbols. So I checked to see what you do for the GLES2 case, and I found
the following in the TexGen header:
#if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE)
#define GL_OBJECT_LINEAR 0x2401
#define GL_EYE_LINEAR 0x2400
#define GL_SPHERE_MAP 0x2402
#define GL_TEXTURE_GEN_S 0x0C60
#define GL_TEXTURE_GEN_T 0x0C61
#define GL_TEXTURE_GEN_R 0x0C62
#define GL_TEXTURE_GEN_Q 0x0C63
#endif
If I understand correctly, these are currently non-functional. You've
just added the definitions so that you can compile and link, and you'll
add TexGen later (presumably with the ShaderGen utility). Is that correct?
Should I do the same for GL3?
--
Paul Martz
Skew Matrix Software LLC
_http://www.skew-matrix.com_ <http://www.skew-matrix.com/>
+1 303 859 9466
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org