Hi Daniel,

On 6/27/07, Kallfass, Daniel, SDGE1 <[EMAIL PROTECTED]> wrote:
how can I setup lighting in osgViewer::Viewer? I want to disable the
scene light.

I have tried to call setLightingMode from osg::View but it seems to be
ignored. I could also find out that osgViewer::Viewer internally creates
osgUtil::SceneView objects which are set up with HEAD_LIGHT and there is
no way to change this setting.

Any ideas how to solve this problem?

The osg::View lighting mode variables should be used when setting up
the internal SceneViews.

Could you post the lines you are using?  And which version of the OSG
you are using.

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

Reply via email to