I would like to place my Viewplatform.

Consider that t is the Transform3D to which my
ViewPlatform is attach to. 

I have written this :

  t.setTranslation(new Vector3d(5,5,5));
  temp.set(new
AxisAngle4d(1.0,0.0,0.0,Math.toRadians(45)));                     
  t.mul(temp); 
  temp.set(new
AxisAngle4d(0.0,1.0,0.0,Math.toRadians(45)));                    
  t.mul(temp); 
  temp.set(new
AxisAngle4d(0.0,0.0,1.0,Math.toRadians(0)));                     
  t.mul(temp); 

So, I'm placing the view at (x=5 y=5 z=5), rotating of
45 degrees around the x axe and of 45 degrees around the
y axe.

Doing this, I have placed a cube at the point (x=0 y=0 z=0)
that I should see, but I don't.

I would like to know if there was a bug in the composition
of rotations, or if my code was bad written.

Could someone help me ? 

Thanks for your answer.
 
---------------------------------------------------------------
-     Karine  OLSZOWY                Ecole Superieure         -
-  1 avenue de Provence                    en                 -
-      06600 ANTIBES              Sciences Informatiques      -
-                                                             -
-     [EMAIL PROTECTED]           http://www.essi.fr/~olszowy   -
---------------------------------------------------------------
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to