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

Gradient Band Interpolation Examples #26

Open
kylawl opened this issue Jan 21, 2017 · 16 comments
Open

Gradient Band Interpolation Examples #26

kylawl opened this issue Jan 21, 2017 · 16 comments

Comments

@kylawl
Copy link
Contributor

kylawl commented Jan 21, 2017

This isn't really an issue, but I wanted to share it with ozz users.

Unity uses a cool animation blending technique for their blend spaces. https://docs.unity3d.com/Manual/BlendTree-2DBlending.html

It's known as Gradient Band Interpolation. Here is a very extensive masters paper on many animation topics from this guy Rune Johansen http://runevision.com/thesis/rune_skovbo_johansen_thesis.pdf. He wrote the Unity animation system.

At any rate, I've implemented the Gradient Band Interpolation for both Cartesian and Radial coordinates as this shadertoy https://www.shadertoy.com/view/XlKXWR that people might find useful.

/ Kyle

@guillaumeblanc
Copy link
Owner

Thanks for sharing Kyle ! I'm very happy that you use this project to share with people interested in the topic.

The thesis gives a very good conceptual and implementation insight on high level animation systems. It also shows a direction where ozz-animation tools could go, while remaining at a lower level: motion analysis, 2 joints IK, retargetting, gradient band interpolation utilities. Very interesting read !

Your shadertoy completes the thesis very well and seems like a good head start for anyone trying to implement Gradient Band Interpolation.

As I'm trying to bring back ozz website and documentation, your post actually gave me the idea to add a "reference" page to be able to share these kind of material with ozz users. I'll add your shadertoy if your ok.

Thanks again !

@kylawl
Copy link
Contributor Author

kylawl commented Feb 14, 2017

By all means, share this stuff wherever you'd like 👍

@guillaumeblanc
Copy link
Owner

guillaumeblanc commented Mar 21, 2017

There it is: http://guillaumeblanc.github.io/ozz-animation/documentation/references/

Thanks again for sharing and giving me this idea of a reference page !

@kylawl
Copy link
Contributor Author

kylawl commented Mar 22, 2017 via email

@VinnyVicious
Copy link

Amazing! 👍

@guillaumeblanc
Copy link
Owner

I'm letting this issue opened in case someone is willing to implement a Gradient Band Interpolation sample.

@kylawl
Copy link
Contributor Author

kylawl commented Jul 19, 2017

Do you have anything specific in mind? Would you want it as part of the existing blending example? Are there more animations available for the example skeleton? Strafing/Turning/Running backwards, maybe 9 pose aiming?

@guillaumeblanc
Copy link
Owner

I think it should be a new sample. If possible Gradient Band Interpolation would be an utility that could be reused on the user side.
Unfortunately I don't have more animations available at the moment. I'd need to find a more complete set.

@kylawl
Copy link
Contributor Author

kylawl commented Dec 13, 2017

I recently learned of this motion capture data-set from Carnegie Mellon which is freely available. http://mocap.cs.cmu.edu/

@guillaumeblanc
Copy link
Owner

Interesting! Have you found fbx files? The only link I found is broken.

@kylawl
Copy link
Contributor Author

kylawl commented Dec 13, 2017 via email

@ArnCarveris
Copy link

@guillaumeblanc
Copy link
Owner

These are great animation, but from my understanding they can't be redistributed.

@ArnCarveris
Copy link

@guillaumeblanc Hi, in this example: https://guillaumeblanc.github.io/ozz-animation/samples/blend/ is 1D blend space
Is possible to make 2D or more blend space?

@guillaumeblanc
Copy link
Owner

BTW, the additive sample was extended (some time ago) with 2D blend space: https://guillaumeblanc.github.io/ozz-animation/samples/additive/

The missing point for a gradient band interpolation sample is definitely the lack of an animation data set.

@ArnCarveris
Copy link

This will help: https://theorangeduck.com/page/animation-blend-spaces-without-triangulation

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

4 participants