[osg-users] Lighting behavior and osgViewer::osgViewer

Robert Osfield robert.osfield at gmail.com
Thu Sep 13 06:28:02 PDT 2007

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.



On 9/13/07, Christophe Medard <christophe.medard at oktal.fr> 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" <robert.osfield at gmail.com>
> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list