Hi Bob, This submission looks like you aren't aware of the DisplaySettings command line parsing that is done in the osgViewer::Viewer(ArgumentParser&) constructor. To get the command line docs on this simple do:
osgviewer --help | grep stencil And you'll see: --stencil Request a stencil buffer visual This hints to the Viewer to create a frame buffer with a stencil buffer. You also note that the osg::Camera has a range of stencil buffer clear methods, so using a ClearNode is not required - you can simple set what is required via the viewers Camera(s). Robert. On Mon, Aug 18, 2008 at 3:26 PM, Bob Kuehne <[EMAIL PROTECTED]> wrote: > added option to enable stencil clear in osgviewer. > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
