Vasu,

Try: myTransform3D.lookAt(new Point3d(5,0,0), new Point3d(0,0,0), new Vector3d(0,1,0));

Hope this helps,
Guillermo E. Gutierrez, [EMAIL PROTECTED]
Software Engineer, Visualization Group
Harris Corporation

[EMAIL PROTECTED] wrote:

> Hi,
>    Suppose I am trying to view an object centered at the origin from the point 
>(0,0,5). And I wanna change my view point to (5,0,0) and view the same object still 
>centered at origin. Can anyone suggest a nice technique for this. I have tried 
>rotX(), rotY() methods for transform3D object.
> Thanx in advance.
> Vasu Suram
>
> ------------------------------------------------------
> Get the Latest News at CNN Interactive: http://CNN.com
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/
begin:vcard 
n:Gutierrez;Guillermo
tel;fax:407-984-6323
tel;work:407-984-6543
x-mozilla-html:TRUE
org:Harris Corporation;ISD
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
x-mozilla-cpt:;-2976
fn:Guillermo Gutierrez
end:vcard

Reply via email to