Paul Martz wrote: > 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: > [mailto:] On Behalf Of Paul > Griffiths > Sent: Friday, May 22, 2009 3:59 PM > To: > Subject: 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 > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ > osg-users mailing list > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ------------------ > Post generated by Mail2Forum
Good idea, should of though of that. Now im thinking about when it should/shouldnt clip. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=12828#12828 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org