All my problems have been resolved. I dont understand how it works, but it really work
so nice :)
Thanks so much.
----- Original Message -----
From: "Yazel, David J." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 01, 2001 2:02 PM
Subject: Re: [JAVA3D] lookAt function..... its horrible
| Its arcane.
|
| You must invert it.
|
| t.LookAt(sourcePnt, new Vector3d(0,1,0),new Point3d(0,0,0));
| t.invert();
|
| That will work.
|
| Dave Yazel
|
|
|
| -----Original Message-----
| From: Borja Marcos Suárez [mailto:[EMAIL PROTECTED]]
| Sent: Friday, June 01, 2001 6:56 AM
| To: [EMAIL PROTECTED]
| Subject: [JAVA3D] lookAt function..... its horrible
|
|
| English
| ------------------------
| Hello,
|
| in my application I need that the user settles down the point from
| which the objects are seen. The destiny is always (0,0,0) and the
| origin is a point (x, y, z) given by the user.
|
| I have been several days treating to do using it the LookAt()
| function, but it doesnt work nice. In order to establish
| a point in individual as front or top it works.... but when it is
| something dynamic I have not idea.
|
| I need to create a function with a Point3d as parameter and then it modifies
| the View to watch from that point.
|
| Can you give me some idea?
|
| Thanks.
|
| ---------------------------------------------
| Spanish
| -----------
| Hola,
|
| en mi aplicacion necesito que el usuario establezca el punto desde el que se
| ven los objetos. El destino es siempre el (0,0,0) y el origen es un punto
| (x,y,z) dado por el usuario.
|
| Llevo varios días tratando de hacerlo utilizando la funcion LookAt(), pero
| no consigo casi nada. Para establecer un punto en particular como alzado o
| planta funciona.... pero cuando es algo dinámico ya no se como hacerlo.
|
| Necesito crear una funcion a la que paso un Point3d y que modifique la vista
| para mirar desde ese punto.
|
| Se os ocurre alguna idea?
|
| Gracias.
|
|
| ----------------------------------------------------------
| Borja Marcos Suárez
| 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".