Hey All,

I'm having a particularly vexing rotation problem.  I want to be able to
rotate around multiple axes simultaneously.  Currently, I perform the
multiple rotations by creating 3 Transform3D's, and using rotX(xAngle) on
one, rotY(yAngle) on another, and rotZ(zAngle) on the third.  Then I
multiply the 3 together in the order xTransform*yTransform*zTransform. This
works fine.  Unless....

Say yAngle is 90 degrees.  Then, due to the order of the rotations given
above, rotations about x and z have the same effect- they both rotate about
the z axis.


I believe the way to solve this may be to use the AxisAngle object to set
Transform3D.  If I can form orthogonal vectors, and use AxisAngle to rotate
around them, wouldn't this work?  Or would there be a more efficient (ie
faster) method?

Thanks,
Evan Drumwright

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