On 7/11/07, Wangzhu <[EMAIL PROTECTED]> wrote:
Hi Robert,
Yes I used OSG itself and can switch off the lighting, but then I can't use
OpenGL to switch on the lighting from exterior……
Does the OSG only use itself to control lighting?
Is there any other way to use OpenGL code to control OSG lighting on and off?
The OSG is not designed to inherit OpenGL state, doing so would
massively complicate the set up on each frame and would be extremely
inefficient.
Please just set up the OSG so it knows about the state you want.
Robert.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/