use the lookAt( new Point3d(x,y,z), new Point3d(xx, yy,zz), upVector3d)
method defined in Transform3D to define this viewing transform with the
above
parameters.  Note you need to specify an up Vector3d component that makes
sense.
Next, take the inverse of this transform.  This is the transform you set for
the
Viewplatform object for your view in the scenegraph.

-Pedro

----- Original Message -----
From: "z_mailing list" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 6:21 AM
Subject: [JAVA3D] how to set ViewingPlatform?


> I'd like to see the world from point (x,y,z) in direction (xx,yy,zz):
> how can I do?
>
> the direction is relative to (x,y,z) or to (0,0,0) ?
>
> Thank you in advance, Mario.
>
>
===========================================================================
> 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