Hi Robert On 9/17/07, Robert Osfield <[EMAIL PROTECTED]> wrote: > > HI Rafa, > > On 9/17/07, Rafa Gaitan <[EMAIL PROTECTED]> wrote: > > Node doesn't have a releaseAllGLObjects, and trying with > > releaseGLObjects, doesn't work as I expect. Maybe I'm using > > a bad approach to the problem! :(. > > Sorry, > > viewer->releaseGLObjects();
This, doesn't work :(. Is the call I was thinking of. > > > releaseAllGLObjects method is only inside SceneView class > > which is not easily accessible in the osgViewer::Viewer. > > viewer.getSceneData()->releaseGLObjects(); // or getCamera()... > viewer.getCamera()->getGraphicsContext()->getState()->reset(); > osg::flushAllDeletedGLObjects(0); Yes, This works better, Thank You!, there is some issues with PagedLOD nodes, so I need to debug more and see how to solve them. Thanks! Rafa. _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org