P Watson wrote:
Hi,

I was hoping someone may be able to help.
I have a primitive box vrml file which I have loaded into my Java3d
scene and I would like to click on it to get the x,y,z coords.
The x and y coords provided seem fine but I don't understand why the Z
coordinate seems to vary between -1 & 1 depending on where I click the
shapes front face. Surely it should be 1 all over !.

Hi, the method getPointCoordinates will give the point relative to the origin of the system of the cube (each TransformGroup "define" a coordinate system below it). To get the absolute coordinates you have to use getPointCoordinatesVW.

Bye


Lorenzo


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