Jump to content
  • Advertisement

Archived

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

evil_ash

Quick Matrix question

This topic is 5749 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

Can someone correct me on this if i am wrong if A= R*T; when R={r1,r2,r3,0, r4,r5,r6,0, r7,r8,r9,0, 0,0,0,1}; T={1,0,0,x, 0,1,0,y, 0,0,1,z, 0,0,0,1}; then A-1(inverse)=R*T when R={r1,r4,r7,0, r2,r5,r8,0, r3,r6,r9,0, 0,0,0,1}; T={1,0,0,-x, 0,1,0,-y, 0,0,1,-z, 0,0,0,1};

Share this post


Link to post
Share on other sites
Advertisement
I think you'll find it should be A-1=T*R

You initialiy rotated and then translated. The inverse is undoing this so you first have to translate back before you rotate back. In other words, you do it in the reverse order.

[edited by - joanusdmentia on January 24, 2003 6:19:06 AM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!