Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aronfiechter opened this issue Mar 31, 2019 · 0 comments · May be fixed by #14
Open

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

aronfiechter opened this issue Mar 31, 2019 · 0 comments · May be fixed by #14

Comments

@aronfiechter
Copy link
Contributor

aronfiechter commented Mar 31, 2019

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 aronfiechter changed the title [Question] Are transformations applied? Transformations are not applied if they are not in the matrix field Apr 25, 2019
@aronfiechter aronfiechter linked a pull request Apr 25, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant