Paul Martz wrote: > I couldn't view your screen shot for some reason. I'm assuming you are > clipping a model and seeing "inside" a part of the model that is solid, and > you want to render a polygon coincident with the clip plane that only draws > where there are these "holes". > > The stencil buffer has been used for CSG tasks like these for some time. The > concept is similar to how stencil is used for volumetric shadows; even > stencil values mean "don't draw" and odd stencil values mean "it's a hole". > The OpenGL red book covers this algorithm in some detail, if I remember > correctly.
Yes, thats exactly what im after, so it doesnt come standard with osg then? Is it hard to impliment? In know little about the inner working of osg mind you. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=12827#12827 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

