Skip to main content
GameDev.net gamedev.net
🔒 Locked

Quick Matrix question

Started by evil_ash Jan 23, 2003 at 2:33 PM 0 replies 650+ views
Original Post
evil_ash
evil_ash
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};
joanusdmentia
joanusdmentia
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]
"Voilà! In view, a humble vaudevillian veteran, cast vicariously as both victim and villain by the vicissitudes of Fate. This visage, no mere veneer of vanity, is a vestige of the vox populi, now vacant, vanished. However, this valorous visitation of a bygone vexation stands vivified, and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition. The nly verdict is vengeance; a vendett o

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.