Craig Lane 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.?
Using multiple Cameras for this algorithm would be overkill. You should
consider using multiparenting, with different state at each parent. If
you are new to OSG and not familiar with these concepts, please take a
look at the OSG Quick Start Guide.
-Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org