HI Werner, The OSG will apply lights for you an each new frame as part of the RenderStage set up.
Its difficult to comment on what you what be amiss on what you are doing with so little detail. The best I can do is point you in the direction of the osglight example. Robert. On 7/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello. In my scene I have set up the SceneView to use SKY_LIGHT with setLightingMode(). I also have access to the osg::Light object form the SceneView, but when changing the direction or material of the light, nothing really changes in the rendering. Do I need to use the apply() funciton on the light? If so, which State am I going to use? (Not to familiar with that part yet)... Regards, Werner Lindgård. _______________________________________________ Werner Lindgård, Programmerer Telephone +47 67 81 70 00 Direct line +47 67 81 70 68 [EMAIL PROTECTED] ViaNova Systems AS Leif Tronstads Plass 4, P.O.Box 434 N-1302 Sandvika, Norway ________________________________________________ http://www.vianova.no http://www.novapoint.com ________________________________________________ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
