try this

pt - point on canvas

                canvas3d.getPixelLocationInImagePlate(pt.x, pt.y, point3d);
                Transform3D temp = new Transform3D();
                canvas3d.getImagePlateToVworld(temp);
                temp.transform(point3d);

saurabh


----- Original Message -----
From: "Vijayan Pandalai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 22, 2002 11:33 AM
Subject: [JAVA3D] Screen to World Coordinates Conversion.


> Hi All, I wish to know how we can convert the points
> got by mouse click (screen coordinates) to the world
> coordinates. At the moment after i capture the mouse
> click events and get the points i am getting the
> screen coordinates. How can i convert these
> coordinates to the world coordinates.
>
> Your advise and suggestions would be highly
> appreciated.
>
> regards
> Vijayan.
>
>
===========================================================================
> 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