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

Different Animation Interpolations and Funky Results #115

Open
enzyme69 opened this issue Dec 5, 2018 · 2 comments
Open

Different Animation Interpolations and Funky Results #115

enzyme69 opened this issue Dec 5, 2018 · 2 comments

Comments

@enzyme69
Copy link

enzyme69 commented Dec 5, 2018

Got this example from DonMcCurry: 4 types of interpolations:
Archive.zip

When converted to USDZ:
raggedneararabianhorse-max-1mb

Surprisingly Stepped Keys works!

Error message:
cubic spline interpolation not yet implemented! Defaulting to linear for now...

There are few animations where up-down become left-right.

I think this is worth looking into.

@enzyme69
Copy link
Author

enzyme69 commented Dec 5, 2018

Actually "stepped keys" is still not exactly stepped in USDZ. But as GLTF, it is really stepped. Maybe keying visibility is still not possible. I want to have 3D animation that works like GIF.

@kcoley
Copy link
Owner

kcoley commented Dec 6, 2018

@enzyme69 I think the issue is because the source glTF file is using cubic spline interpolation, but that is not supported in usdz. Technically, it only supports linear animation. I bake the animation to support stepped animations, though I would have to add some additional logic to try baking cubic spline animations. Though, since usdz is using linear animation, there may be some "jumping" behavior based on the frame rate set since this is kind of a workaround.

I'll make a separate issue to bake out cubic spline animations.

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

No branches or pull requests

2 participants