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. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paul Griffiths Sent: Friday, May 22, 2009 4:06 PM To: [email protected] Subject: [osg-users] Capping holes made by clipping? Hi, Im using a clipNode, and when I clip a model, i get a hole, can these be filled? ... Thank you! Cheers, PaulG ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=12796#12796 _______________________________________________ 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

