You should use the method Canvas3D.getImagePlateToVworld(Transform3D t)
that create into the "Transform3D t" the transformation that you need to
obtain the 3D coordinate.
By, Mauro.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 12, 2000 12:39 PM
Subject: [JAVA3D] Transforming canvas mouse coordinates into virtual world
one's
> Hi,
> this is the situation:
> i have a plane in Y=0 and when i pick on it , i create an object in
> that position.
> The problem is that i do not know how to transform mouse coordinates
> relative to the canvas (x,y) into coordinates of the virtual world
> (x,y,z) ( where y=0 ).
>
> I think i need some transform matrix to let me change from a coordinate
> system to an other.... but i do not know which matrix i need and how to
> get it.
> Does anyone has any idea ?
>
> Thank you
> Tiziana Cimoli
>
> [EMAIL PROTECTED]
>
>
===========================================================================
> 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".
>
Hi,
this is the situation:
i have a plane in Y=0 and when i pick on it , i create an object in
that position.
The problem is that i do not know how to transform mouse coordinates
relative to the canvas (x,y) into coordinates of the virtual world
(x,y,z) ( where y=0 ).
I think i need some transform matrix to let me change from a coordinate
system to an other.... but i do not know which matrix i need and how to
get it.
Does anyone has any idea ?
Thank you
Tiziana Cimoli
[EMAIL PROTECTED]
===========================================================================
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".