I've only just got round to reading this, but for the sake of clarification, I think I know what your problem was.
OSG will run perfectly happily at the start with a CompositeViewer but no views. But after some are created, as soon as they are all destroyed, the CompositeViewer decides that it's finished with and enters a kind of 'living death' state, where it won't try to render anything anymore - in code terms ViewerBase::_done is set. The only thing you can do at this point is destroy the CompositeViewer and make a new one when you want a new scene. Our application has multiple types of view windows, not all using OpenSceneGraph, so that is a problem we have had to face. I'd really rather not have to do this, so it would be nice if CompositeViewer was changed, even optionally, to be allowed to exist with no views in it. Perhaps is a view is added to a compositeViewer that is "_done", the value could be set back to false? Alistair Baxter Software Engineer ________________________________ Our September newsletter is now available to view online: http://www.mve.com/news Midland Valley Exploration Ltd. 144 West George Street Glasgow G2 2HG United Kingdom Tel: +44 (0) 141 332 2681 Fax: +44 (0) 141 332 6792 The structural geology experts _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

