On 6 April 2017 at 15:13, Latha Rani Baddala <[email protected]> wrote:
> I am new to osgEarth,I have doubts on osg::ClipNode.I am using osgEarth2.8 
> version.I am not getting that how ClipNode will establishes  poistional 
> state.And difference b/w clipnode & clip-plane.

ClipNode exists to provide a mechanism for the OSG's cull traversal to
record the modelview matrix which to apply ClipPlane associated with
that ClipNode.  ClipPlanes have to applied with a specific modelview
matrix in OpenGL which is what makes it "positional state".
osg::LightSource + osg::Light work, TexGenNode and osg::TexGen  in a
similar way as they both require a specific modelview matrix.

See the osgclip example to see ClipNode in action.

Robert
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to