I have a n by m grids, each grid is devided into 2 triangles.
I used the TriangleStripArray(int vertexCount, int vertexFormat,
int[] stripVertexCounts).
vertexCount = n * m
vertexFormat = GeometryArray.COORDINATES | GeometryArray.NORMALS,
stripVertexCounts = {(m-1)*2, (m-1)*2, ....} (this array size is n-1)
This should be straight forward. But I got an Exception in thread "main"
java.lang.IllegalArgumentException: Illegal stripVertexCounts. Could
anyone please give me some hint? or send me an example?
I also tried GeometryInfo to generate the geometry but failed. Does anyone
have an example of using GeometryInfo that I could take a look?
Thanks!
===========================================================================
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".