Skip to content

Release version 0.15.0

Latest
Compare
Choose a tag to compare
@guillaumeblanc guillaumeblanc released this 13 Apr 12:59

Release version 0.15.0

This version brings breaking changes that require rebuilding runtime animations.

  • Library

    • [offline/animation] #152 Fixes additive animation blending issues due to wrong quaternion multiplication order in additive animation builder and blending job. Note that additive animation needs to be rebuilt to benefit from the fix.
    • [animation] Restructures compressed keyframes to allow fast sequential backward reading. The per keyframe track index has been removed, replaced by an offset to the previous keyframe (for the same track). This offset is used to identify tracks when reading forward, and jump to previous keyframe when reading backward.
    • [animation] Keyframe times are now indexed. This removes 16b to 24b from every keyframe (depending on animation duration), aka 17% to 25% of the keyframe size. The overhead of storing timepoints is shared for translations, rotations and scales.
    • [animation] Leverages animation format changes to refactors serialization. Animations serialization now uses arrays of keyframes which significantly reduces the number of io::Stream reads.
    • [animation] Adds iframe support (aka keyframe snapshots), allowing fast seeks into the animation thanks to precomputed (and compressed) sampling cache states. The sampling job decides automatically when an iframe is used to seek into the animation, based on seek offset.
    • [offline] Extends animation importer configuration to allow setting up iframe_interval. An interval of 0 (or less) means no iframe is generated. If interval is positive, then at least an iframe is generated at animation end.
    • [base] Implements group varint encoding utility. It's used to compress iframes.
  • Samples

    • Activates OpenGL 3.2 / WebGL 2.0.
  • Build pipeline

    • Adds CI for WebAssembly.
    • Adds support for macOS ARM.