Original Post
I have given a 4x4 matrix for vertex and normal transformation and want to receive a possible set of the scaling, rotation and translation matrices. The multiplication of those matrices should result in the given matrix.
Are there code samples, tutorials or similar, that show an optimized way of rebuilding the matrices with the computer?
M(Transformation) = M(Scaling) * M(Rotation) * M(Translation)
M(Transformation) is given.
I want to get ONE possible set of M(Scaling), M(Rotation) and M(Translation).