hi,

rotation doesn't affect translational components  only if the object is
placed in the origin of the coordinate system. If you place your
viewplatform at (1,0,1) and perform a rotation (pi) around  the y-axis, the
new location will be at (-1,0,-1). orientation and locations have changed.
if you want to rotate an object in place, you first have to perform a
coordinate transformation.

Gernot
[EMAIL PROTECTED]




                    Vladimir Olenin
                    <Vladimir.Olenin@arcad        To:     [EMAIL PROTECTED]
                    ia.spb.ru>                    cc:
                    Sent by: Discussion           Subject:     Re: [JAVA3D] Coordinate 
Transform
                    list for Java 3D API
                    <JAVA3D-INTEREST@JAVA.
                    SUN.COM>


                    30.11.99 07:48
                    Please respond to
                    Vladimir Olenin






If all u do is Rotation only, then no translation components of
Transform3D matrix are changed. So, u can easily use
transform3D.get(vector3d) or transform3D.get(vector3f) functions in
order to get the position (but it wouldn't change anyway).

vladimir
             -=V=-
>-------<=============>-------<
Join in Java community now!
http://JavaCafe.VirtualAve.net/
>-------<=============>-------<

In your previous letter u wrote:
--------------------------------
CY> Could any one help me figure out this problem? When I move the
viewpoint
CY> by rotation, I have 3*3 matrix after rotation and 4*4 matrix before
CY> rotation, how could I get the coordinate(x,y,z)  of the viewpoint in
the
CY> original coordinate system?
CY> thank you in advance.

CY> Chen

CY>
===========================================================================
CY> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
CY> of the message "signoff JAVA3D-INTEREST".  For general help, send email
to
CY> [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".

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