Kirill

01-24-2001, 12:35 AM

How can I calculate my own viewing matrix?

The question is: the matrix stores rotation, translation, scale, ... . But the transforms are not commutative - that is, the result is not the same from rotate then translate or on the contrary. That is, if i simply fill the 4*4 matrix with rot. & trans. - result - will be wrong. Is there a symply way to imagine what the entire matrix, but not any part of it will do?

The question is: the matrix stores rotation, translation, scale, ... . But the transforms are not commutative - that is, the result is not the same from rotate then translate or on the contrary. That is, if i simply fill the 4*4 matrix with rot. & trans. - result - will be wrong. Is there a symply way to imagine what the entire matrix, but not any part of it will do?