pfdAddNodeToMesh(3pf) OpenGL Performer 3.2.2 libpfdu Reference Pages
NAMEpfdAddNodeToMesh - Traverses node and adds all its geometry to a pfMesh
FUNCTION SPECIFICATION
#include <Performer/pfdu.h>
void pfdAddNodeToMesh(pfNode *root, pfMesh *mesh, int part);
DESCRIPTION
This function traverses the given node and adds the primitives stored in
pfGeoSets into the pfMesh. The last parameter part is used to distinguish
different parts of an object. The edges between these parts may be marked
as creases based on flags set on the pfMesh (this information used, for
example, for subdivision surfaces).
See the sample code perf/samples/pguide/libpf/C++/subdivSurface.C for an
example of using the function pfdAddNodeToMesh to set a control mesh of a
subdivision surface.
SEE ALSO
pfMesh, pfSubdivSurface
Page 1