try this:
- first create a direction vector (for example 0, 0, -1).
- get the Transform3D.
- invert the Transform3D.
- use Transform3D.transform(vector) - the resulting vector should point in the
right direction.

This should also work with a point.

Hope this helps,
Chris

Sterling Wright wrote:

> Hello all,
>   I would like to know if their is a method for getting 2 point3d and a
> vector from a Transform3D? ( a get for the lookAt method in the Trans3D
> class) I was thinking about using the transform(Point3d point) method but I
> don't know how they are used.
>   I am trying to create a camera class where I can specify a position and
> lookAt in to a Transform3D(which i can do) and read them back (can't do).
>   also if someone could point me to computer graphics or mathematics that
> explain how to do this would be very helpful
>
> Thanks
> Sterling Wright
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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".

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