Hi everyone,
I have a scene that has the following coordinate
bounds for example: (-200,-500,-100) to (200, 500, 100). I want to be able to
get the coordinates in this range when I click the mouse button. I tried the
following after reading the archives on this topic:
canvas3d.getPixelLocationInImagePlate(x, y,
point3d);
canvas3d.getImagePlateToVworld(transform); transform.transform(point3d); by getting x, y from the mouse event. But the values don't correspond to the range I am hoping for. I need the x, y to vary as big as the original range of the scene, when I am looking down the z axis.Isn't the virtual world coordinates what I am looking for? Is there some other technique I should be using or
writing? Some setting that needs to be done to get it work
correctly?
Thank you for your help.
Regards,
Priya
===========================================================================
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".
|