pfdExtractGraphTriangles(3pf) OpenGL Performer 3.2.2 libpfdu Reference Pages
NAME
pfdExtractGraphTriangles - Extraxt all the triangle from a scene graph.
FUNCTION SPECIFICATION
#include <Performer/pf.h>
#include <Performer/pfdu.h>
void pfdExtractGraphTriangles(pfNode *node, pfGeoSet *gset,
unsigned long flags);
DESCRIPTION
pfdExtractGraphTriangles takes the pfNode node as input. It traverses the
scene graph portion spanned by this node and collects all the triangles.
It stores all the triangles in the pfGeoSet gset.
pfdExtractGraphTriangles uses the parameter flags to determine whar
triangle attributes are to be collected in gset. flags is a bitwise OR of
the following:
PR_QUERY_TRI_COORD
- Collect PFGS_COORD3 attributes.
PR_QUERY_TRI_TEXTURE
- Collect PFGS_TEXCOORD2 attributes.
PR_QUERY_TRI_COLOR
- Collect per-vertex PFGS_COLOR4 attributes.
PR_QUERY_TRI_NORMAL
- Collect per-vertex PFGS_NORMAL3 attributes.
The libpfdu source code, object code and documentation are provided as
unsupported software. Routines are subject to change in future releases.
SEE ALSO
pfASD, pfTerrain, pfdAlignVerticesToASD, pfdProjectVerticesOnASD
Page 1