Hi, I have the following task: I must draw a polygon which can contain texts or symbols. Like this:
---------------- ABC -------------------- DEF ----------------- At the positions of the texts/symbols there should be a gap in the polygon. The line can be arbitrarily complex. Is there a way with osg::Scissors, osg::ClipNode or something else? I did some tests but didn“t have success. At the moment I run along the polygon and test if the points are inside a boundingbox or not and draw single polygons. The problem is, that I must scale the boundingbox of the text/symbol with the current map scale. That works fine for one view but not for two views with different map scales. Before I use callbacks I would like to know if there is an easier way. Thank you! Cheers, Sabine ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51883#51883 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

