Hi,
I have a problem getting the world coordinates from a mouseClicked event
on a cavas3D object.
I have been searching in the mail.-archive and everybody uses the
following:
Point3d p = new Point3d();
canvas.getPixelLocationInImagePlate(mouse_x, mouse_y, p);
Transform3D motion = new Transform3D();
canvas.getImagePlateToVworld(motion);
motion.transform(p);
I have tested it in a simple view and it works well, but when I use the
methods ortho or frustum to select the viewable area of the virtual
world the coordinates are wrong.
Have anybody tried it ?
Must I do something else when I use this methods ?
Is it a bug ?
Thanks
--
---------------------------
Jose L. Hernandez Taberner
mailto:[EMAIL PROTECTED]
http://jlhernandez.webjump.com
===========================================================================
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".