Is it possible to have an IndexedTriangleStripArray index a subset of a Vertex Array? 
I have a set of vertices which are being used both by triangle strips and by 
triangles. The total of vertices in the vertex array is greater than the number of 
triangles in the strips.

The documentation says that the number of vertices in the IndexedTriangleStripArray 
must equal the total of the strip counts in the stripCount array. This seems to 
indicate that the answer to my question is "No".
I get an error when i do:
IndexedTriangleStripArray t = new 
IndexedTriangleStripArray(nVerticesInVertexData,COORDS,sumofStripCounts, 
stripCountArray)
when nVerticesInVertexData != stripCountArray

if I change nVerticesInVertexData to sumofStripCounts, I get an error when I do
t.setCoordinates(0,VertexData)


Is there a work around?

Thanks,
David.

===========================================================================
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