The center and eye points specify the direction vector. The up vector
gives the final orientation of the viewer along the direction. So, it is
just a direction with some orientation information.
Doug Twilleager
Java 3D Team
> X-Accept-Language: en,ru
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Subject: [JAVA3D] Transform3D.lookAt() general question
> To: [EMAIL PROTECTED]
>
> Does anybody here knows how this funciton actually works? In General
> Documentation it is said:
>
> > lookAt
> >
> > public void lookAt(Point3d eye,
> > Point3d center,
> > Vector3d up)
> >
> > Helping function that specifies the position and orientation of a view
matrix.
> > Parameters:
> > eye - the location of the eye
> > center - a point in the virtual world where the eye is looking
> > up - an up vector specifying the frustum's up direction
>
> I wonder why we need "center" parameter, since it's sufficient to have
> only eye's position in the virtual world and vector pointing out the
> direction of the look. Moreover, in most cases (at least in my case) i
> don't actually know _the point_ the eye should look at, but rather
> direction only. Have i misunderstood something or what? I think the
> answer is as simple as a keyboard, but.... Please, if anybody knows the
> answer, help me.
>
> vladimir
> --
> -=V=-
> >~~~~~~~<=============>~~~~~~~<
> Join in Java community now!
> http://javacafe.virtualave.net/
> >~~~~~~~<=============>~~~~~~~<
>
> ===========================================================================
> 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".