Hi Christophe, I wouldn't recommended messing with SceneView unless you really have to.
osgViewer now honours the Camera's StateSet, and this acts as the global StateSet. You can simply sets modes and attributes you want on the camera i.e. viewer.getCamera()->getOrCreateStateSet()->setMode(..); Robert. On 9/13/07, Christophe Medard <[EMAIL PROTECTED]> wrote: > I'll build v.2.1.10 and try to alter the _globalStateSet of both sceneviews > in the osgViewer::Renderer for everything is accessible in that version > indeed. > It should work... > > Thanks a bunch ! > > ----- Original Message ----- > From: "Robert Osfield" <[EMAIL PROTECTED]> > Sent: Thursday, September 13, 2007 11:21 AM > Subject: Re: [osg-users] Lighting behavior and osgViewer::osgViewer > > > Hi Christophe, > > The SVN and 2.1.x versions of the OSG have cleaned up light management > in osg::View, the management of SceneView for rendering is also more > exposed via osgViewer::Renderer. > > Robert. > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

