[osg-users] Clipping planes and osgVolume

Robert Osfield robert.osfield at gmail.com
Fri Apr 8 02:51:39 PDT 2016


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 <alextaylor at gmail.com> 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
> 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/20160408/3db700dd/attachment-0002.htm>


More information about the osg-users mailing list