Hi, I am trying to clean up everything, release all gl objects, textures .. etc. I found osg::Node::releaseGLObjects, osg::Texture::deleteAllTextureObjects and I wrote visitors so before recreating new scenegraph I am calling it. Still have issues with missing textures though. It works when you dynamically create/destroy viewers but looks like it should be called in some "proper time" - can not do that so my intension is to programatically clean and release about everything. will setSceneData(0) reset just about everything? Nick
http://www.linkedin.com/in/tnikolov
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

