RE: [osg-users] SceneView in osgViewer

2007-05-07 Thread Paul Martz
. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Monday, May 07, 2007 4:03 PM To: osg users Subject: Re: [osg-users] SceneView in osgViewer Hi Paul, I have now added SceneView style methods for controlling the viewer global light, the new additi

Re: [osg-users] SceneView in osgViewer

2007-05-07 Thread Robert Osfield
Hi Paul, I have now added SceneView style methods for controlling the viewer global light, the new additions to osg::View are: /** Options for controlling the global lighting used for the view.*/ enum LightingMode { NO_LIGHT, HEADLIGHT, SKY_L

Re: [osg-users] SceneView in osgViewer

2007-05-07 Thread Robert Osfield
Hi Paul, On 5/7/07, Paul Martz <[EMAIL PROTECTED]> wrote: If the developer just needs to use GL_LIGHT0 for their own purposes, then I don't think they'd need any new methods in View to do that. I think they can just create a Light with number 0 and change its parameters. How does OSG respond w

RE: [osg-users] SceneView in osgViewer

2007-05-07 Thread Paul Martz
If the developer just needs to use GL_LIGHT0 for their own purposes, then I don't think they'd need any new methods in View to do that. I think they can just create a Light with number 0 and change its parameters. How does OSG respond when there are two Light objects with the same number? If the

Re: [osg-users] SceneView in osgViewer

2007-05-06 Thread Robert Osfield
Hi Paul, On 5/6/07, Paul Martz <[EMAIL PROTECTED]> wrote: 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 wi

[osg-users] SceneView in osgViewer

2007-05-06 Thread Paul Martz
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 applic