Hi Chris,

On Thu, May 14, 2009 at 1:01 AM, Chris 'Xenon' Hanson
<xe...@alphapixel.com> wrote:
> The Goal: Render both of them, but with object A _always_ obscured by
> object B, regardless of what their Z values (which are mostly
> coincident) would normally dictate.

This type of task is exactly what the stencil buffer is good for.  The
OSG supports stencil buffer natively.  See the osgreflect example.

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

Reply via email to