NAME
DtGroupGetCount - Get the number of groups in a given shape.
SYNOPSIS
#include <Dt.h>
int DtGroupGetCount( int shapeID )
DESCRIPTION
DtGroupGetCount() returns the number of groups in the shape
indicated by shapeID.
The polygons in a shape are sorted by material and placed
into groups. Each shape is made up of one or more groups
depending on the number of materials that are assigned to
the shape.
OPENMODEL IMPLEMENTATION
Alias polysets are converted to shapes in Dt. A group will
be generated for each shader assigned to the polyset, the
group sharing the same vertex data (see
DtShapeGetVertices(3W)) with other groups in the shape but
having different material properties. A shape will have as
many groups as the polyset it is derived from had shaders
assigned.
FILES
Link with -lDtOMio