[osg-users] release and flush GL Objects?
rafa.gaitan at gmail.com
Mon Sep 17 09:44:56 PDT 2007
On 9/17/07, Robert Osfield <robert.osfield at gmail.com> wrote:
> HI Rafa,
> On 9/17/07, Rafa Gaitan <rafa.gaitan at gmail.com> 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! :(.
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()...
Yes, This works better, Thank You!, there is some issues with
PagedLOD nodes, so I need to debug more and see how to solve
> osg-users mailing list
> osg-users at lists.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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users