I have two vectors in space, say v1 = [(x11,y11,z11), (x12, y12, z12)] and v2=[(x21,y21,z21), (x22,y22,z22)]. The semantic here is such that each vector represents an arrow that points from its first point to the second point.
I would like to calculate a matrix M such that v2=M*v1 and M is only a rotation+scaling+translation matrix.
This looks to me like a generic 3d graphics question that must have been solved a million times already...