Hi Ron,

OpenGL fixed function pipeline doesn't support using clip planes and
lighting in the way you want. This means you will need use either multiples
or projective texturing to achieve the result you want.

Robert
On May 30, 2012 4:29 PM, "Ron Mayer" <[email protected]> wrote:

> Hi,
>
> I would like to have a colored light applied to my scene, restricted by
> some clipping planes.
> For example, I would like to shed a green light on anything that is only
> to the right of the half plane x = 5, to the left of the half plane x = -5,
> above the half-plane y = 10, and under the half plane y = -10.
>
> I saw there is a class osg::ClipNode related to LightSource but I am not
> sure how to use it. I also tried looking at the osg examples, and searched
> the forums but did not find anything.
>
> Thank you!
> Ron
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=47945#47945
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to