Hi,
I have used the constructor below for using IndexedTriangleStripArray, but it isn't drawn.
What 's the problem with this constructor ?
IndexedTriangleStripArray geometry=new IndexedTriangleStripArray( 6,
                 IndexedTriangleStripArray.COORDINATES|IndexedTriangleStripArray.COLOR_3, 6, 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, 0.5, 0),
                 new Point3d(-.5, .5, 0),new Point3d(-.5, 0, 0),
        };
geometry.setCoordinates(0, points);
 
And can you pleaes describe me the third parameter more. I read the sun dcument, but I didn't
understand exactly.
 
Regards,
Saeed


Saeed Ansari [EMAIL PROTECTED]
Islamic Azad University of  Qazvin , Faculty of computer & IT.
Header  Of  MRL Soccer Simulation Team.
 


Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone. =========================================================================== 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