openscenegraph
|
A tri stripping visitor for converting Geometry surface primitives into tri strips. The current implemention is based upon Tanguy Fautre's triangulation code.
|
inline |
default to traversing all children.
|
virtual |
Accumulate the Geometry drawables to make into strips.
Reimplemented from osg::NodeVisitor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void osgUtil::TriStripVisitor::stripify | ( | osg::Geometry & | drawable | ) |
Convert mesh primitives in Geometry into Tri Strips. Converts all primitive types except points and lines, linestrips which it leaves unchanged.
void osgUtil::TriStripVisitor::stripify | ( | ) |
Stripify (make into strips of tria or quads) the accumulated list of Geometry drawables.