hi tanju,
i am new, too, but i found the following:
consider the default Transform3D is y axis, then rotate it 1/2 PI on x
axis and you'll get z axis Transform3D:
...
Transform3D yAxis = new Transform3D();
yAxis.rotX(Math.PI*0.5d); //*
...
t.e. add line * to rotate on z axis.
niki
-----Original Message-----
From: Tanju Gurel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Rotating ColorCube on x-axis or z-axis....
Hi,
I'm new at Java3D. In HelloUniverse.java example ColorCube rotates on
y-axis.
How can i rotate it on x-axis or z-axis.
Transform3D xAxis = new Transform3D();
Thanks.
tanju
========================================================================
===
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".