I am upgrading to OSG 2.8.1 from OSG 2.4 and am having a problem with
use of the osgViewer::CompositeViewer.  My application adds/destroys
views dynamically and I am having an issue when I have two views loaded
with the same terrain/textures (for example a terrain) when I close one
view the textures in the 2nd view all get removed from the scene.  The
only way I am able to get the textures in the remaining view to reload
is to close the view, leaving none open, and opening a new view.  This
process destroys and recreates the composite viewer.

I have tried calling setUnrefImagedataAfterApplyPolicy(true, false) on
each view as they are created but this has not helped resolve the issue.

Can anyone provide any advice to help with this?

Thanks,
Roger
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to