i’m having problem to correctly animate separate nodes of a model. the nodes are hierarchically structured, and each node has a “mat4 Transform” (relative to its parent). to animate nodes, each nodes has an additional member “mat4 Animation” (relative to the base transform “mat4 Transform”).
Matrix multiplication is associative: A·(B·C)=(A·B)·C, the product of a matrix with its inverse is the identity matrix: A·A-1=A-1·A=I, and the identity matrix is both a left identity: I·A=A and a right identity: A·I=A. So A-1·(A·B)=(A-1·A)·B=I·B=B.
Matrix multiplication is associative: A·(B·C)=(A·B)·C, the product of a matrix with its inverse is the identity matrix: A·A-1=A-1·A=I, and the identity matrix is both a left identity: I·A=A and a right identity: A·I=A. So A-1·(A·B)=(A-1·A)·B=I·B=B.[/QUOTE]
i was unsure where to add the “inverse(Transform)” to remove the “Transform”-part of the mat4, at the end or at the beginning … thanks again for pointing that out