The focal point for perspective transforms is at the screen (image plate).
--
Kevin Rushforth
Java 3D Team
Sun Microsystems
[EMAIL PROTECTED]
>Date: Mon, 26 Mar 2001 11:53:54 +0800
>From: Tang Yuguan <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Fw: Distance from the screen.
>To: [EMAIL PROTECTED]
>
>
>----- Original Message -----
>From: Darren 'deft' Vollmer
>To: Discussion list for Java 3D API
>Sent: Sunday, March 11, 2001 2:51 AM
>Subject: Distance from the screen.
>
>
>I want to pan and zoom an object in a view window. When I grab the object and pan I
>want the object to remain fixed to the mouse cursor. Of course, when I zoom in or
>out on the object, the mouse coordinates wont match up with world coordinates. The
>further away i move the object the slower it is going to appear to move, and it
>certainly wont keep up with the mouse
>
>I know how far back the object is from the screen, but I dont know how far in front
>of the screen the focal point? If I knew this I could just use the triangle to figure
>out how far to move the object relative to the mouse movement.
>
>Hope this made sense :(
>Fiasco
===========================================================================
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".