Hi Robert -- I had one Quick Start Guide reviewer mention that I should
probably include infor mation on how osgViewer sets up a default light. This
appears to be because the Viewer class uses a SceneView internqally and
configures it with a HEADLIGHT. There doesn't appear to be a way for an
application to overrride this or otherwise access the SceneView via the
Viewer class.

Seems like I should document this as: Viewer configures a default light,
GL_LIGHT0. If you want to use lighting but need to change Viewer's default
configuration, just change the attributes of GL_LIGHT0. If you don't need
lighting, disable GL_LIGHTING and set it to PROTECTED. Does this sound like
the right way to document Viewer's built-in lighting mechanism?

Thanks,
   -Paul

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

Reply via email to