Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@panxinmiao
Copy link
Contributor

This PR implements the CubicSpline interpolation algorithm as specified in the glTF standard.

Additional Notes:

In glTF, unlike other animation track data, for animation tracks using CUBICSPLINE interpolation, each input element corresponds to three output elements: an in-tangent, a spline vertex, and an out-tangent.

ref: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#interpolation-cubic

You can view the InterpolationTest use case in the gltf_viewer.py example.

Video_2025-01-15_105305

@panxinmiao panxinmiao requested a review from Korijn as a code owner January 15, 2025 03:00
@Korijn Korijn merged commit 08b1985 into pygfx:main Jan 15, 2025
14 checks passed
@almarklein
Copy link
Member

🚀

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 this pull request may close these issues.

3 participants