Konstantinos,

Check the JavaDoc for the ObjectFile class. It contains reference to a flag
RESIZE that:

Flag sent to constructor. The object's vertices will be changed so that the
object is centered at (0,0,0) and the coordinate positions are all in the
range of (-1,-1,-1) to (1,1,1).

This sounds like what you are seeing.

Sincerely,

Daniel Selman

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Konstantinos Rekalidis
Sent: Saturday, January 19, 2002 5:27 AM
To: [EMAIL PROTECTED]
Subject: Obj Coordinates


Hi, I sent this message about 3 days ago but i dont get any reply so i am
sending this again, please if anyone knows something about this subject i
would be very grateful if he replied.

I use the object loader to load a .obj file, and when i get the coordinates,
using getCoordinates() method of GeometryStripArray class I get different
coordinates than these that there are in .obj file.
e.g instead of a coordinate like (552.8, 0.0, - 3.6) i get like
(-0.99427754, -0.981402, 1.0).
What i have to do to get the original coordinates?
If you have questions in what i mean please let me know.

Kostantinos Rekalidis

Thanks in advace

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

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