I still cant figure this out.

All I want to do is take the drag distance from the mouse and convert it to
the corresponding 3d world distance.  This, of course, would vary depending
on how far the object your moving is from the screen.


----- Original Message -----
From: "Artur Biesiadowski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 6:15 AM
Subject: Re: [JAVA3D] Getting world coordinates from screencoordinates


> > Fiasco wrote:
> >
> > I'm trying to figure out how I can transform mouse coordinates from
> > the screen into world coordinates.   I'm trying to grab objects of
> > varying z distance and want them to appear to stick to the mouse
> > cursor as I drag them.
>
> Look at the source code of
> com.sun.j3d.utils.picking.PickCanvas
> method
> setShapeLocation(int x, int y)
>
> Artur
>
>
===========================================================================
> 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