> Date:         Wed, 26 Feb 2003 14:51:21 -0700
> From: Yi <[EMAIL PROTECTED]>
>
> The values of the pick point is supposed to be in its local coordinates. I
> checked with VW method, it gave me the same value. But they are quite
> different from screen value of x and y. If they are the value in world
> Coordinate. How can I make them normalized and what is the base values? Is
> there another way to transfer these values to screen values to make
> transformation work?

The pick point does give you local coordinates relative to the picked object.
If the tranform above the picked object is identity, it will be the same as
virtual world coordinates.

Sounds more like you want to convert mouse coordinates to screen coordinates.
If that's the case, you don't need to pick; use getPixelLocationInImagePlate()
from the Canvas3D.  If you want that position in the virtual world, transform
it by the transform returned by getImagePlateToVworld().

-- Mark Hood

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