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

Maya to GLTF exporter always resamples animation #1021

Open
garynull opened this issue Dec 3, 2021 · 3 comments
Open

Maya to GLTF exporter always resamples animation #1021

garynull opened this issue Dec 3, 2021 · 3 comments

Comments

@garynull
Copy link

garynull commented Dec 3, 2021

Expected behavior: Exported animation curves will use CUBICSPLINE where appropriate when "Bake Animation Frames" is not checked.

Actual behavior: Animation is always broken up into single frames and the GLTF samplers have no interpolation value set (defaults to LINEAR). The "Bake Animation Frames" checkbox appears to have no effect on output.

Version used: 20211115.1

@pandaGaume
Copy link
Contributor

Hello, could you elaborate on "where appropriate" . Seems a feature request and not issue.

@garynull
Copy link
Author

garynull commented Dec 6, 2021

My memory is hazy but I think Maya only stores animation curves using Bezier splines, so you can probably ignore "where appropriate" and just use CUBICSPLINE for everything.

This is definitely a bug, at least because the "Bake Animation Frames" checkbox doesn't work: animation frames are always baked instead of the animation curves being properly exported as they appear in Maya.

@pandaGaume
Copy link
Contributor

Maya has many way to store animation, from linear to curve. We only support linear interpolation actually, which, i'm agree, is a limitation.
If you send me a repro, i may have a check on how to introduce this behavior into the exporter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants