[osg-users] Selective ClipNode

Ale Maro sasha71 at teletu.it
Tue Apr 18 08:59:10 PDT 2017


Thank you Sebastian,

I also found another way that is useful in my case.
I simply call the following code for each node I want to exclude from clipping:

node->getOrCreateStateSet()->setMode(GL_CLIP_PLANE0, osg::StateAttribute::OFF | osg::StateAttribute::PROTECTED);

Ale

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70786#70786








More information about the osg-users mailing list