Hi, Peter There are some similarities with osg in that regard, osg caches current state to avoid redundant state changes and if you make gl calls yourself you should tell osg state that you changed something, look into osg::State docs about that. Most gl changes in osg done through statesets with setMode(...) which set opengl modes like in glEnable(...)\glDisable(...) and stateattributes. If you need some functionality that not implemented you can create new stateattribute if can fit functionality needed. In case of primitive restart i believe you can enable that with setMode call, and you will need to either write your drawable (or state attribute or drawable draw callback) to be able to set restart index.
Cheers, Sergey. 31.03.2011, 11:41, "Peter Wrobrl" <[email protected]>: > Hi, > > I found this sceniX forum post > > http://developer.nvidia.com/forums/index.php?showtopic=5357&pid=16495&mode=threaded&start= > > and wonder if this is akin to the osg approach. > If so, how can osg be extended in the right way so that currently not > supported GL3 features are accessible ? > > Thank you! > > Cheers, > Peter > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=38097#38097 > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

