a bug in IndexedTriangleStripArray?
No matter what I do, I can only get it to draw POINTS to the screen, and changing the paramter “int[] stripIndexCounts” ain’t doing anything…
confirmed
int strips[] = new int[0],
indicies[] = new int[2*(numberOfNodes - gridWidth)];
for(int i =0; i<strips.length;i++)
strips[i] = 2*gridWidth;
waterGeomtry = new IndexedTriangleStripArray(numberOfNodes,
GeometryArray.COORDINATES |
GeometryArray.NORMALS ,// |
// GeometryArray.COLOR_4,
indicies.length,
strips);
Where ichanging strips size to any number doesn’t do sh|t, meaning I always get the same results
It is currently broken.
Please see
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d;action=display;num=1071694462
for patch for this one.