#animation #rend3 #wgpu #renderer #3d #graphics

rend3-anim

Skeletal animation playback utilities for rend3 rendering library

1 unstable release

0.3.0 Feb 12, 2022

#83 in Rendering engine

MIT OR Apache-2.0 OR Zlib

575KB
12K SLoC

Rust 10K SLoC // 0.0% comments WebGPU Shader Language 1.5K SLoC // 0.0% comments GLSL 1K SLoC // 0.0% comments

Utility library to play gltf animations.

This library is meant to be used together with rend3 and rend3-gltf and allows posing meshes according to the animation data stored in a gltf file.

In order to play animations, you need to:

  • Create an AnimationData once when spawning your scene and store it.
  • Each simulation frame, use pose_animation_frame to set the mesh's joints to a specific animation at a specific time.

For now, this library aims to be a simple utility abstraction. Updating the current state of the animation by changing the currently played animation or increasing the playback time should be handled in user code.

Dependencies

~25–36MB
~479K SLoC