• Advertisement

Archived

This topic is now archived and is closed to further replies.

Equal rotation?Please help!

This topic is 5406 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Strictly mathematical:Say that I want to do this:first a rotation of a point around a "u1" axis by "theta1" degrees,then a translation of the rotated point by "t1" vector,then a second rotation around a "u2" axis by "theta2" degrees and finally a translation by a "t2" vector.Which are the equal rotation(around a "u" axis by "theta" degrees) and translation which give the same result?If anyone knows... Thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
Thanks for the answer but isn''t there any other way?

Share this post


Link to post
Share on other sites
Probably the simplest way is to construct each of those transforms as a 4X4 matrix, concatenate them all together and then extract the axis-angle and translation components from the result. The translation extraction is trivial, but the axis-angle is harder (but can be done). You could also extract the rotation to a quaternion if that floats your boat.

Share this post


Link to post
Share on other sites
I have found that the equal rotation 3x3 matrix is R=R2*R1 where R2 and R1 are the rotation matrices for each rotation.But how can I extract the u vector and the theta value from this?
As you said , it''s difficult and nothing occurs to me right now

Share this post


Link to post
Share on other sites

  • Advertisement