= osgUtil Tesselatore =
[[TracNav(TracNav/SupportTOC)]]
[wiki:Support/ReferenceGuides/OsgUtilDescription back]
The osgUtil library tesselator converts complex polygons to triangles and implements the gluTess functions.
The algorithm applies to `osg::Geometry objects`. By default:
applies tesselation to any polygon in the Geometry that has more than 3 vertices.
Other options are to:
applies tesselation to the (closed loop) lines in the Geometry (whether a set of line_loops, polygons, triangles or quads etc) to follow the rules of the gluTess algorithms for generating the parts to be filled. See the red book, chap 11) or [http://www.flipcode.com/articles/article_tesselating.shtml] or [http://www.glprogramming.com/red/chapter11.html] (this has better pictures!).
Returns a collection of triangles, tri-strips and tri-fans replacing the polygon(s) in the Geometry.