Borja Marcos Su�rez schrieb:
> I still dont understand this.
>
> Lets see an example:
Assume the transformations are applied to the vieplatform.
>
>
> Front view:
> setTranslation (0,0,50);
e.g. eye: 0,0,50
center: 0,0,0
up: 0,1,0
>
>
> Top view:
> setTranslation (0,50,0);
> rotY((Math.PI/180)*-90);
e.g.:
eye: 0,50,0
center: -1,50,0
up: 0,1,0
an example to see how the up vector works would be:
rotZ( Math.PI)
e.g:
eye: 0,0,0
center:0,0,-1
up: 0,-1,0
or
rotZ(Math.PI/2)
eye:0,0,0
center:0,0,-1
up:1,0,0
>
>
> How can I do this two views with lookAt method?
>
> Thanks in advance.
Anybody correct me if i'm wrong.
>
>
> --
> Borja
>
> ----- Original Message -----
> From: "Dipl. Ing. Paul Szawlowski" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 31, 2001 9:00 AM
> Subject: Re: [JAVA3D] set the view position
>
> | You need all of these parameters to completely define the local coordinate system
>of the camera. With the eye
> | parameter you specify the translation, together with the center parameter you
>specify the local z axes. But how to
> | position the y and x-axes ? Therefore you specify the the direction of he positve
>x - axis by doing the cross
> | product of the direction vector and the up vector. Since it is defined which
>coordinate system (left or right
> | handed) is used, the third axes is also specified.
> |
> | Borja Marcos Suarez schrieb:
> |
> | > I need that users set the position of the view. The method that I think i have
>to use is myViewTransform.lookAt.
> | >
> | > It needs 3 parameters:
> | > .- eye: the position that users set.
> | > .- center: in my program is Point3d (0,0,0)
> | > .- up: I dont have idea what this mean.
> | >
> | > I have looked the docs and I understand the frustrum idea, but not what is the
>vector up.
> | >
> | > When I have front view I set the view position in (0,0,50), but what I have to
>put with this method?
> | >
> | > Please help me... is urgent.
> | >
> | > ----------------------------------------------------------
> | > Borja Marcos Suarez
> | > mail: [EMAIL PROTECTED]
> | > icq: 41472800
> | > msn: [EMAIL PROTECTED]
> | >
> | > Java 3D Spanish Group - http://lapagina.de/java3d
> | > Lista de correo [EMAIL PROTECTED]
> | > ----------------------------------------------------------
> | >
> | > ===========================================================================
> | > 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".
> |
>
> ===========================================================================
> 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".