[osg-users] Getting active light

Ivan Bolčina ivan.bolcina at gmail.com
Thu Sep 6 11:13:58 PDT 2007


Thanks. Just for info, how are lights inherited in osg node tree?

2007/9/6, Robert Osfield <robert.osfield at gmail.com>:
>
> On 9/6/07, Ivan Bolčina <ivan.bolcina at gmail.com> wrote:
> > I have added CameraNode to scene. I want to remove default light from
> this
> > ode and set a new one.
>
> Just add a LightSource to its subgraph, as per the osglight example.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070906/c71e918f/attachment-0003.htm>


More information about the osg-users mailing list