Hi,

I am seeing these leaks too, or at least I think that
is what I'm seeing.

I get texture and geometry problems when I destroy a
scene view and then create a new one. In the new scene
view there is sometimes the odd geometry that is
displayed as another random geometry from the scene.
In the case of textured geometries I sometimes get no
texture appearing.

After making the changes suggested ie. adding the
calls 

 m_SceneView->releaseAllGLObjects();
 m_SceneView->flushAllDeletedGLObjects();

the situation appears to improve in that the
geometries seem to be fine. I'm assuming this means
that display lists are now properly released. I'm
still getting problems with textures not appearing in
some places although not quite as frequently as
before.

Are these two functions meant to be called manually
and is there anything I've missed to clean up the
texture objects?

I should point out that I'm using Qt and that I need
to enable display list shating between the QGLWidgets
for the above calls to clean up the display lists.
There doesn't seem to be an equivalent option for
texture objects.

Thanks.

Paul

Send instant messages to your online friends http://uk.messenger.yahoo.com 
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to