Hi Robert, 

Calling setLightingMode doesn't change the lightingmode of the rendering.
I've tried to call setLightingMode(osg::View::NO_LIGHT) before and after
the CompositeViewer is finalized but no succes: I keep the default
headlight.

Kind regards, Michel



Date: Thu, 5 Jul 2007 11:28:27 +0100
From: "Robert Osfield" <[EMAIL PROTECTED]>
Subject: Re: [osg-users] Changing lighting conditions in
        CompositeViewer
To: "osg users" <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Michel,

The osg::View class has the setLightingMode methods for controlling
the viewer lighting.  Note osgViewer::View, that you add to the
CompositeViewer, is subclassed from osg::View.

Robert.

On 7/5/07, Michel van Elk <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm trying to change the lighting settings of the views that are
> incapsulated
> by a compositeviewer. However it seems impossible to access the sceneViews
> that
> are in the sceneview-map of the compositeviewer class.
>
> Anyone?

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to