Hi, you can backup the current OSG states, perform your OpenGL operation and restore the preevious render states.
cons: low performance. For example: Code: // save OSG-State osg::ref_ptr<osg::StateSet> clonedStateSet = reeinterpret_cast<osg::StateSet*>( renderInfo.getCurrentCamera()->getOrCreateStateSet()->clone(osg::CopyOp::DEEP_COPY_ALL) ); // perform your OpenGL operation // restore OSG-State renderInfo.getCurrentCamera()->setStateSet( clonedStateSet ); Cheers, Torben ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28347#28347 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

