[osg-users] Lightpoint behavior with DirectionalSector

Robert Osfield robert.osfield at gmail.com
Tue Feb 23 06:25:07 PST 2016


On 23 February 2016 at 12:08, Renato Semadeni <rsemadeni at flyelite.ch> wrote:

> Hi Robert
>
> Thanks a lot for point me to the source code responsible of handling the
> lights. I will take a look at it later on.
>
> Just another question: Would it be possible to control multiple lights
> with the same directional sector?
>

The LightPoint::_sector is just a ref_ptr<> so can happily share a single
Sector instance between multiple LightPoint.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160223/d8fdf605/attachment-0003.htm>


More information about the osg-users mailing list