gltf-bounding-box icon indicating copy to clipboard operation
gltf-bounding-box copied to clipboard

Transformations are not applied if they are not in the matrix field

Open aronfiechter opened this issue 6 years ago • 0 comments

If a gltf file contains transformations in the fields scaling, rotation, and translation, these are not considered in the computation.

This happens because in the function getParentNodesMatrices, only the field matrix is checked. However, the GLTF specifications says that also three other fields are present (for T, R, and S), which can contain the transformations separately.

aronfiechter avatar Mar 31 '19 19:03 aronfiechter