Hi,
I want to darw two squares, using TriangleStripArray, I use the constructor below :
TriangleStripArray geometry = new TriangleStripArray(6,
TriangleStripArray.COORDINATES, new int[] {3,3});
TriangleStripArray.COORDINATES, new int[] {3,3});
Point3d[] points = new Point3d[] {
new Point3d(0.5, 0, 0),new Point3d(.5, .5, 0),
new Point3d(0, 0, 0), new Point3d(0, .5, 0),
new Point3d(-.5, -.5, 0),new Point3d(-.5, 0, 0),
};
new Point3d(0.5, 0, 0),new Point3d(.5, .5, 0),
new Point3d(0, 0, 0), new Point3d(0, .5, 0),
new Point3d(-.5, -.5, 0),new Point3d(-.5, 0, 0),
};
1- Do I need to set 8 points or 6 points ?
2- How should be the order of the vertexes for each strip ? ( clockwise or counter_clockwise )
Regards,
Saeed
Discover Yahoo!
Have fun online with music videos, cool games, IM & more. Check it out! =========================================================================== 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".