Have you considered an approach using stenciling? The general approach is to draw your labels (text) first with stencil buffer writes enabled. Then disable stencil writes, and draw the rest of your scene. When you come to drawing the lines or polygons which should have the outlines of the text removed, then enable the stencil test.
------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52177#52177 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

