Maybe you should use this instead:

lookAt(new Point3d(0, 0, 0), new Point3d(0, 0, -5), new Vector3f(0, 1,
0));

Hope this helps.

-----Original Message-----
From: Andy [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 26, 2004 3:44 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Moving Camera

Hi, thank you for replying.  I tried t3d.invert() with the lookAt()
function but it still doesn't work.  If I move the cube to (0, 0, -5),
it shows me the cube, but I tried to move the TranformGroup between the
BG and ViewPlatform by using lookAt(new Point3d(0, 0, 0), new Point3d(0,
-5, 0), new Vector3f(0, 1, 0)); and then use t3d.invert(); and then
tg.setTransform(t3d); but it doesn't show me anything.  Any hints?

Andy

========================================================================
===
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