[osg-users] ClipNode Opposite Behavior

Erik Hensens ehensens at hunter.com
Wed Jul 22 12:28:27 PDT 2015


Hi everyone!

I have a geode that is just a quad rectangular surface and I need to be able to put circular holes in it. To better visualize what I'm talking about, think about a flat slice of Swiss cheese.

I just discovered the ClipNode node and I figured I could achieve what I want by adding clip nodes that were the roughly circular, but ClipNode apparently behaves opposite to how I originally thought (I'm new to this).

Is there a way to make ClipNode remove parts of the scene instead or keeping only those parts in the clip node region?

Or, is there a better way to achieve this flat slice of Swiss cheese shape? Thanks very much in advance!

Thank you!

Cheers,
Erik

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








More information about the osg-users mailing list