Skip to content

3.12.0

Choose a tag to compare

@fernandotonon fernandotonon released this 27 Jun 19:26
df53b58

What's new since 3.11.0

AI animation in-betweening (#409)

Fill the gap between two sparse keyframes with smooth, plausible intermediate motion — Robust Motion In-betweening (RMIB) on ONNX Runtime, with a first-class spline fallback.

The model is ours. No permissively-licensed in-between model existed (the field standardizes on LAFAN1 = CC-BY-NC-ND), so it was trained from scratch on the CMU Graphics Lab Motion Capture Database (free incl. commercial use; credit mocap.cs.cmu.edu) — ~421k windows over the 22 core-body joints. On held-out CMU motion it beats spherical-linear interpolation by more than 2× on rotation error. The ~13 MB rmib.onnx downloads on first use to AppData/ai_models/inbetween/.

How it works

  • MotionInbetween — Ogre-free core: a transition transformer (start pose + end pose + learnable interior queries → interior poses), #ifdef ENABLE_ONNX.
  • Canonical-skeleton retargeting — the model is skeleton-fixed (22 joints), so canonicalIndexForBone() maps arbitrary rig bones onto the canonical roles (Mixamo mixamorig:*, generic L_Shoulder, CMU; rejects finger/toe/face bones). It runs the model when a strong majority of roles resolve (a Mixamo rig resolves 20/22), else the spline.
  • First-class spline fallback — cubic-Hermite (Catmull-Rom tangents) + shortest-arc slerp, always compiled, used automatically when ONNX is off, the model can't be fetched, or the rig is incompatible. The result reports which path ran.

Where to use it

  • Dope sheet — select a range with an empty gap → "AI in-between … Fill gap"; the status line shows whether the RMIB model or the spline ran, and the keyframe count.
  • CLI — qtmesh anim model.fbx --in-between --gap-frames 30 [--start-time S] [--end-time S] [--no-model] -o filled.fbx
  • MCP — motion_in_between tool.

Attribution + license details: THIRD_PARTY_AI_MODELS.md. Developers re-exporting the model: scripts/export-rmib-onnx.py (offline, not shipped).

Performance

  • Faster FBX/mesh import. Texture hydration no longer does an unconditional recursive directory walk of the import folder — it's skipped entirely when the referenced textures are already loaded (the common case), and bounded + early-terminating otherwise. Imports from large folders that previously froze the UI for a minute are now fast.
  • UV-editor import cost gated. The UV-editor cache no longer rebuilds during import when the panel is closed (#763).

Test-suite cleanup

Removed 267 verified-redundant unit tests (each a strict subset/duplicate of a retained test, a dead no-op, or a coverage pad) and fixed a long-standing MainWindowTest CI hang — no loss of meaningful coverage.