Hi Crag, You could look at the osgreflect example for stencil buffer usage. Multi-pass can be done in several ways with the OSG, a light weight approach like the osgscribe uses, or more eloborate schemes using multiple cameras such as the osgprerender* or osghud examples use.
Robert. On Wed, Feb 3, 2010 at 3:19 AM, Craig Lane <[email protected]> wrote: > Hi, > > I am pretty new to osg and so far have found it excellent. My query is > regarding Multipass Rendering. I need to do Hidden Line remove using a > stencil buffer. See the Red Book "Hidden-Line Removal with the Stencil > Buffer", this is pretty much what I need to do. > > I am a bit confused as to how you set up camera(s) to simulate the multiple > passes. Is it possible to render twice to the same camera bound to a frame > buffer object.? > > Thank you! > > Cheers, > Craig > Formation Design Systems > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=23574#23574 > > > > > > _______________________________________________ > 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

