Hi J3D Studs,
I have a simple wireframe cube displayed (extends Shape3D).

Using the following, I can programmatically get at the coordinates:
////////////////
Point3d[] coordinates = new Point3d[24];
for(int n = 0; n < 24; n++)
{
 coordinates[n] = new Point3d();
}
IndexedQuadArray geom = (IndexedQuadArray).getGeometry();
 geom.getCoordinates(0, coordinates);

System.out.println("coordinateFirst = "+coordinates[0].toString());
////////////////

I've allowed this cube to be transformed by the mouse - moved around, scaled, and rotated.

No matter what the state of the cube though, they coordinates I get in the above code are the same. I can't for the life of me figure out how to get the real coordinates of this cube. If I've enlarged the cube to be absolutely enormous, I still get the same coords as if it is really small.

Please, anyone...how can I get the true coords of this cube?

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