[osg-users] ClipNode Opposite Behavior

Christian Buchner christian.buchner at gmail.com
Thu Jul 23 01:35:46 PDT 2015


I think you only need to flip the clipping plane around (reverse the
plane's normal vector) to get the desired effect.


2015-07-22 21:28 GMT+02:00 Erik Hensens <ehensens at hunter.com>:

> 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
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150723/e4ab8ef8/attachment-0003.htm>


More information about the osg-users mailing list