I think you're making all well, but remember that the angle of rotation
must be in radians.
200 looks like too much (I don't know if it could affect)
-----Mensaje original-----
De: Crossley, Allistair <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Fecha: miércoles 23 de mayo de 2001 17:54
Asunto: [JAVA3D] Rotating
>Hi,
>
>I have setup a scene with 1 object in it loaded from a 3DS file. I have
also
>setup my viewing platform and shifted it 250 back so I can see the object.
>
>Problem is I am looking at the object from the top but need to position the
>vp to look at it from the front. This is how I setup the positioning for
the
>vp.
>
>Transform3D vpt3d = new Transform3D();
>vpt3d.set(new Vector3f(0.0f, 0.0f, 250.0f));
>TransformGroup vpTransform = new TransformGroup(vpt3d);
>vpTransform.addChild(vp);
>
>Can someone indicate how I would keep the camera looking forward towards
the
>object but rotate down 90 degrees so I am facing the object?
>
>Cheers,
>
>Allistair Crossley
>Web/New Media Consultant
>Logica UK Ltd
>Tel: 02074 463267
>Mob: 07884 056274
>
>===========================================================================
>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".