[osg-users] Is there a good way to set the rotation and orientation of the SpotLight to match the attitude of the model?

2021-02-04 Thread newli...@gmail.com
I implemented Spot Light by referring to osglight.cpp. However, it is having difficulty in implementing SpotLight to change direction according to the heading of the aircraft at the same location. Even if I get the Pitch, Roll, and Heading values of the aircraft and set the values in the

Re: [osg-users] Several clipping planes

2021-02-04 Thread Robert Osfield
Hi Claudio, Welcome to the OSG community. For your first post you sure are diving into an advanced topic :-) Conventionally one would do clipping using gl_ClipPlane, this is set by osg::ClipPlane state attribute and osg::ClipNode to place one or more ClipPlane in a final position in space, I