I get the geometry of a primitive sphere . The geometry is of type TriangleStripArray . The problem is that when I ask for the coordinates , I receive the coordinates of the strips of the sphere .many points are repeated over and over in the array .
 
Is there a simple way to get unrepeated vertices in an array?
Bassam
 

GeometryArray ga =(GeometryArray )sphere.getShape().getGeometry();

Point3f[] Q = new Point3f[ga.getVertexCount()];

ga.getCoordinates(0,Q);

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