For some reason I had to set the ambient light on the second view. I did this using the setAmbient function on the default light.
Code: myView->getLight()->setAmbient(osg::Vec4d(1.0f,1.0,1.0f,1.0f)); This makes sure everything is lit up for that view. Also I have to add: Code: myView->getCamera()->setClearMask(GL_DEPTH_BUFFER_BIT); to make the background invisible to let the first view show through and add: Code: myView->getCamera()->setAllowEventFocus(false); so your new view doesn’t take over the mouse functions from the mouse manipulator set in the first view. Anything I forgot to add? Enjoy All! ... Cheers, D Glenn ------------------------ D Glenn (a.k.a David Glenn) - Join the Navy and See the World ... from your Desk! ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=24394#24394 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

