Hi Alex, The RayTracedTechnique doesn't included checks against gl_ClipPane so doesn't support standard OpenGL clip plans as is. You could provide your own shader to do this,
The MultiPassTechnique is a lot more sophisticated and allows you to constrain the rendering volume to a convex hull geometry, it doesn't have support for gl_CliPlane though - again this could be added by custom shaders. Robert On 7 April 2016 at 15:18, Alex Taylor <[email protected]> wrote: > I'm getting started with working on putting together a UI where a user can > interactively control clipping planes when displaying a volume rendering > created using the osgVolume nodekit. > > I was wondering how this might interact with RayTracedTechnique > > and ran into this: > > http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/47113 > > Has this feature been provided in later versions of the library or, or in > MultiPassTechnique? I'd really like to have GPU shaders rendering AND the > ability to clip my volume. > > - Alex > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

