🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Vectors and Matrices

Started by
0 comments, last by alistair b 23 years, 11 months ago
How is the modelview matrix applied to vertex coordinates? - the maths ordering in the superbible looks wrong to me... i think it ought to be: (m00_m01_m02_m03) (x) (x'') (m10_m11_m12_m13)*(y) = (y'') (m20_m21_m22_m23) (z) (z'') (m30_m31_m32_m33) (w) (w'') ie. M.v = v'' but the book has v.M = v'' and i don''t think these are the same... (of course i could just be being stupid!) if anyone understands what i''m talking about, and knows what the answer is i''d appreciate the reply. alistair
Advertisement
You''re right, it should be M.v.

Then
x'' = m00*x + m01*y + m02*z + m03*w
y'' = m10*x + m11*y + m12*z + m13*w
z'' = m20*x + m21*y + m22*z + m23*w
w'' = m30*x + m31*y + m32*z + m33*w

GA
Visit our homepage: www.rarebyte.de.stGA

This topic is closed to new replies.

Advertisement