Thank all of you that helped me.! I will look into the code repository.

I have tried several ways but the rotation around (0,1,0) seems to be
around the moved y (after a rotation around x, the local y changed). I did
use Transform3D.setEuler().

What I like to have is after I rotate around x for a 30 degree, let's say I
am in the air look down now, if I am turn around the vector (0,1,0) I
should keep a 30 degree look down as I turned. I was at the point to quit.
Here comes more hints.
Thank you all and have a pleasant holiday!
Lan



 At 08:53 AM 11/27/2002 +0100, you wrote:
Lan Wu-Cavener schrieb:
Hi, every one:

I have the following rotation problem. What I need is to rotate the
ViewPlatform around its local x axis and  local original y(0,1,0), or the
vector (0,1,0) in the local coordinates. Could anyone please help to figure
out how to make it work.

Thanks in advance!
Lan

Lan Wu-Cavener
Dept. of Landscape Architecture

===========================================================================
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".
Get the localToVworld transformation A of the Viewplatform. Then
calculate the inverse A^-1 then calculate the transforamtion in the
local coordinate system B and set the combination of the 3
transformations: A * B * (A^-1).
Hope i got the right order. Example code can be found in the j3d.org
repositiry. Look for DefaultManipulator class in the
org.j3d.input.spaceball.transformation package.

regards
Paul

===========================================================================
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".
Lan Wu-Cavener
Dept. of Landscape Architecture

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