This had me stumped for a while too.  The spec is pretty cryptic and
the tutorial avoided the subject completely by using GeometryInfo (as
I recall).

The term StripCount is a bit misleading since the elements in the
array specify the number of vertices per strip, not the number of
strips.  The basic concept is that the list of vertices can form one
or more possibly discontiguous strips.  Each element in the StripCount
array indicates how many vertices are used to form the corresponding
strip.  This is why the sum of all the elements in the array has to
equal the total number of vertices in the list.

For example, if you have 10 vertices total with the first 6 forming
the first strip and the next 4 forming the second strip then the
StripCount array would be "new int[] {6, 4}".

Perhaps a better (but longer) name for the StripCount parameter would
be VertexCountPerStrip.

--jon

> Date:    Fri, 13 Aug 1999 22:19:24 -0700
> From:    Aaron Liebling <[EMAIL PROTECTED]>
> Subject: What are StripCounts?
>
> Following through the tutorials, I am trying to use GeometryInfo to
> generate a shape.  What is the Strip count?  The tutorial doesn't explain
> it at all.  Is there an API or javadoc for the utils?
>
> Thanks!
>
> Aaron Liebling
>

--
____________________ Peculiar Technologies ____________________
Jon Barrilleaux       3800 Lake Shore Ave.         Purveyors of
[EMAIL PROTECTED]        Oakland, CA 94610      Alternate Reality
510.444.4370 voc                           Augmented Simulation
510.444.0231 fax        www.augsim.com         and 3D Solutions

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to