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

Bug: FBX import -> GLB export will break some meshes with animation #5495

Open
JulianKnodt opened this issue Mar 15, 2024 · 1 comment
Open
Labels
Bug Global flag to mark a deviation from expected behaviour

Comments

@JulianKnodt
Copy link
Contributor

Describe the bug
When switching between FBX and GLB, the application order of the scale, rotation and translation is flipped.
Not sure how this is best handled while making it robust.
Probably in aiMetadata some flag that indicates input ordering needs to be stored. I suspect it's likely also broken the other way.

To Reproduce
Imported animated FBX mesh with scale, rotation, translation and export as GLB.

Expected behavior
Should be the same mesh.

Screenshots

Platform (please complete the following information):
Any

@JulianKnodt JulianKnodt added the Bug Global flag to mark a deviation from expected behaviour label Mar 15, 2024
@JulianKnodt
Copy link
Contributor Author

Actually upon re-examination it may be that GLB is a local transform, whereas FBX is a global transform

@JulianKnodt JulianKnodt changed the title Bug: FBX import -> GLB export flips SRT/TRS ordering in animation Bug: FBX import -> GLB export will break some meshes with animation Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Global flag to mark a deviation from expected behaviour
Projects
None yet
Development

No branches or pull requests

1 participant