| |
| | [ hacked by deviance ] - Matrix Operations |
 | | If the matrix for the position of the car is A, the matrix of the person in the car is B, the matrix for the nodding-transformation is C, and one vector in the head of the person is v, you will first have to calculate C*v resulting in the new head position. |
 | | If you want to transform matrices from a basis a = (a1, a2, a3) to a basis b = (b1, b2, b3) (notice that a1, a2, a3, b1, b2 and b3 are vectors) you have to express the vectors of a by means of the basis b. |
 | | If you have the special case that the destination basis is the canonical basis E = (e1, e2, e3), which is often the case (except the camera thing), you can simply use the vectors of the source basis as the columns of the transformation matrix. |
| www.cfxweb.net /modules.php?name=News&file=article&sid=163 (1843 words) |
|