osgUtil Tesselatore
TracNav
- About
- Screenshots
- News
- Developer Blog
- Mailing Lists
- Forum
Documentation
- Getting Started
- Platform Specifics
- Tutorials
- Examples
- User Guides
- Programming Guides
- Reference Guides
- LatestDevelopments
- Porting
- CMake
- CDash
- CPack
- FAQ
- Tips And Tricks
- Maths
- Knowledge Base
- Trac Usage Examples
- TracGuide Documentation
- Software Patents
- Software Patents Europe
- Downloads
- Community
- Links
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.
