Advertisement Jump to content

Archived

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

evil_ash

Quick Matrix question

This topic is 5842 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!