SketchpunkLabs | WebGL2 : 060 : Parse animations from GLTF Files @SketchpunkLabs | Uploaded 6 years ago | Updated 2 days ago
We want to start importing animations from blender, so we need to update our GLTF parser to be able to read out the animation information and translate it into something more developer friendly. Then we take some of the key frame animations and make a simple dirty animation loop that will animate one of the joints backed on keyframe rotation data, for fun we will add tweening to the mix.
=====================================================
Links of Interest
https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#animations
=====================================================
GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Tumblr :: http://sketchpunklabs.tumblr.com/
Twitter :: https://twitter.com/SketchpunkLabs
We want to start importing animations from blender, so we need to update our GLTF parser to be able to read out the animation information and translate it into something more developer friendly. Then we take some of the key frame animations and make a simple dirty animation loop that will animate one of the joints backed on keyframe rotation data, for fun we will add tweening to the mix.
=====================================================
Links of Interest
https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#animations
=====================================================
GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Tumblr :: http://sketchpunklabs.tumblr.com/
Twitter :: https://twitter.com/SketchpunkLabs