The sun's example: MouseRotate.java is difficult to
accurately control the pose of the object.

It is not because of the inaccurate movement of the
mouse , but actually the object  is not following the
draging direction.

I explore the source code of the example, find it uses
rotX and rotY to rotate the object according the mouse
movement on x and y axes.

But note that the mouse movement is along the x and y
axes of view world coordinate. while the rotX and rotY
make the object rotate about local coordinate which is
different from the world coordinate. the difference
can be figured out by the method: getLocalToVworld.

I am wondering if this mixuse of different coordinates
can be called a bug in the program.

Does anybody know java3D provide APIs that can rotate
the object about view world axes ? if no, ideas to fix
this bug.

Richard





__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/

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