Hi Gerrick, Peculiar, I have just checked the OpenGL extension registry site and the glext.h there defines GL_LOWER_LEFT etc in the 2.0 fallback section so I'd expect it to be there in 2.1 drivers.
I have just rearranged the #if's to: #ifndef GL_ARB_point_sprite #define GL_POINT_SPRITE_ARB 0x8861 #define GL_COORD_REPLACE_ARB 0x8862 #endif #ifndef GL_POINT_SPRITE_COORD_ORIGIN #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 #define GL_LOWER_LEFT 0x8CA1 #define GL_UPPER_LEFT 0x8CA2 #endif Could you try a cvs update to see if this works. Robert. On 11/17/06, Gerrick Bivins <[EMAIL PROTECTED]> wrote:
In the lastest cvs of OSG, PointSprite doesn't compile : gmake[2]: Entering directory `/home/users/biv/research/externalAPIs/OSG/OpenSceneGraph/src/osg' gmake[3]: Entering directory `/home/users/biv/research/externalAPIs/OSG/OpenSceneGraph/src/osg/Linux32.Opt' g++ -O2 -W -Wall -fPIC -pipe -DOSG_LIBRARY -I../../../include -I/home/users/biv/research/externalAPIs/OSG/OpenThreads/include -I/home/users/biv/research/externalAPIs/OSG/Producer/include -c ../PointSprite.cpp In file included from ../PointSprite.cpp:16: ./../../include/osg/PointSprite:62: error: `GL_UPPER_LEFT' was not declared in this scope ./../../include/osg/PointSprite:62: error: enumerator value for `UPPER_LEFT' not integer constant ./../../include/osg/PointSprite:64: error: `GL_LOWER_LEFT' was not declared in this scope ./../../include/osg/PointSprite:64: error: enumerator value for `LOWER_LEFT' not integer constant gmake: *** [default] Error 1 Basically, with the newest GL drivers from Nvidia (96.29) supporting gl 2.1 GL_ARB_point_sprite is defined but the constants in PointSprite are not. Any suggestions? biv _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
