I've been reading this very nice tutorial on OpenGL, and I encountered a statement which I can't wrap my head around. In Chapter 6, it states:
Transformation from one space to another ultimately means this: taking the basis vectors and origin point from the original coordinate system and re-expressing them relative to the destination coordinate system. The transformation matrix from one space to another contains the basis vectors and origin of the original coordinate system, but the values of those basis vectors and origin are relative to the destination coordinate system.
This is reaffirmed in Chapter 7:
... And this makes sense; a transformation matrix contains the basis vector and origin of the source space, as expressed in the destination coordinate system.
... But isn't it the other way around?
Take a look at this example from the tutorial:
The transformation Matrix to transform from the space on the left to the space on the right is
[1 0 0 1 ] [0 1 0 -1.5] [0 0 1 0 ] [0 0 0 1 ]
The last column of the transformation matrix is the origin of the destination space, expressed relative to the source space.
What am I missing?
Note The above transformation matrix is not from the notes, so feel free to correct it.