Most state attributes, including ClipPlane, have a 1-to-1 correspondence
with OpenGL state, so you can look up what they do:
http://www.opengl.org/sdk/docs/man/xhtml/glClipPlane.xml

The short answer is that plain vanilla ClipPlane won't do this. However, you
could easily attach an UpdateCallback that knows the current view position,
and enable/disable the corresponding GL_CLIP_PLANE accordingly.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul
Griffiths
Sent: Friday, May 22, 2009 3:59 PM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Single-sided ClipPlane?

Hi,
Is it possible to set a ClipPlane so it's singe-sided so it only clips when
viewed from only one side? and can you select which side?
... 

Thank you!

Cheers,
PaulG

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to