> From: "Decker, Scott D" <[EMAIL PROTECTED]>
> Subject: [java3d] re:parallel view picking
> To: "'Java3D'" <[EMAIL PROTECTED]>
> MIME-version: 1.0
>
>
> let me know if I am wrong here
> but Java3d does not do any orthographic picking, just parallel
> if you wanted to do orthographic picking
> you would need to implement your own methods
I'm not sure what the distinction between orthographic and parallel picking is.
The J3D 1.1.2 picking code and the pickingExt packages both handle parallel
projections by generating a PickRay perpendicular screen in "physical" space and
then translating that to "virtual" space. Specifically, the we generate an
image plate point for the screen x,y point, and a image plate "parallel eye"
point which has the x,y value of the screen point and the z value of the eye
point. The pair of points are then translated to VWorld coordinates and used to
generate a PickRay in VWorld space.
The result is that a pick ray is through the screen x,y point and parallel to
the viewing direction.
Doug Gehringer
Sun Microsystems
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/