Repeatedly calling "osgviewer cow.osg" is not the problem. This works just fine.
If there is a problem in OSG, it is probably in that a resource associated with osgViewer::Viewer isn't being freed unless the application exits. I've had this same problem before and Robert fixed a GL resource cleanup problem. The probably is evident when the X server is restarted between these calls to create the osgViewer::Viewer. I don't think it matters any if the restart is inside the program or not as long as it happens when no osgViewer::Viewer is active. No fear in restarting the X server. I do it about 20-30 times a day :-). Paul P. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43893#43893 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

