pfdSpatialize(3pf) OpenGL Performer 3.2.2 libpfdu Reference Pages
NAME
pfdSpatialize, pfdTravGetGSets - Collect and partition pfGeoSets in scene
graphs.
FUNCTION SPECIFICATION
#include <Performer/pfdu.h>
pfGroup * pfdSpatialize(pfGroup *group, float maxGeodeSize,
int maxGeoSets);
pfList * pfdTravGetGSets(pfNode *node);
DESCRIPTIONpfdSpatialize gathers together all the pfGeoSets referenced in the graph
rooted at group. It constructs a new subgraph where all the pfGeoSets
are grouped together by their spatial location. An octree is used to
control the grouping. It is ensured that no more than maxGeoSets
pfGeoSets will be grouped together in one pfGeode and that the spatial
width of every individual pfGeode constructed will never exceed
maxGeodeSize. The new graph is returned to the caller.
pfdTravGetGSets traverses the graph rooted at node to find all the
referenced pfGeoSets. A list containing every pfGeoSet found by this
traversal is returned to the caller.
NOTES
The libpfdu source code, object code and documentation are provided as
unsupported software. Routines are subject to change in future releases.
SEE ALSO
pfGeoSet
Page 1