Skip to content

v0.13.0

Latest

Choose a tag to compare

@krapnikkk krapnikkk released this 19 Nov 06:20
· 3 commits to main since this release

Behavior changes

Upgrading changes output for existing inputs. Re-check these cases:

  • FBX animation export now writes standard binary FBX. Blender 4.5 and 5.2 refused every FBX the SDK wrote, and three.js FBXLoader played the motions with both hands above the shoulders. The SDK's own importer applied the inverse of the same conventions, so its round trip passed. Every exportFBXAnimation output changes:
    • Property records carry the FBX SDK type labels and flags ("double", "Number", "").
    • Object names use the binary Name\0\x01Class encoding, not Class::Name. Code that looked up SDK-written FBX objects by the old form must use the new one.
    • Curve nodes connect to models by the plain Lcl Translation / Lcl Rotation names. Before, Blender imported no animation.
    • The hips are typed LimbNode. Before, Blender turned the hips into the armature object.
    • Skeleton offsets are converted to the FBX frame like the curves, so the rest skeleton faces the declared +Z front.
    • Rotations use eEulerXYZ (RotationOrder 0). Blender and the FBX SDK ignore RotationOrder without RotationActive, so the previous order was composed in opposite orders by different readers.
    • Re-export any FBX files produced by earlier versions.

Fixes

  • VRM 0.x avatars resolve through their humanoid bone table. VRM 0.x avatars whose node names match no alias, such as VRoid exports (J_Bip_*), resolved zero bones. Files under 64 MiB failed inspection with VRM_MISSING_HUMANOID_BONE, and animated GLB, baked VRM, FBX avatar, PMX, and reload validation could not bind them. Larger files used the structural path, which already read the table, so the same avatar behaved differently by size.
    • VRM 0.x thumb Proximal / Intermediate are now read as the VRM 1.0 Metacarpal / Proximal joints in all four VRM 0.x readers. Taking the 0.x names literally bound two bones to one node.
    • VRM 1.0 entries take precedence over VRM 0.x in every reader.
    • Paired archives read their avatar with the VRM extensions, so the identity check sees the same bones as inspection.

New

  • retarget.vrm0HumanoidBoneName(name) maps a VRM 0.x humanoid bone name to the HumanoidBoneName it denotes.

Evidence

  • pnpm verify passed: 493 unit + slow tests and 16 certification tests, packed tarball install, declared/runtime export parity for 8 entries, consumer type check, and the packed browser Worker and Node tooling smoke tests.
  • New FBX conformance test: exports a real walk and checks it with readers that share no code with the SDK importer. A minimal binary record reader checks labels, names, and rotation order. FBXLoader checks the pose: hands below shoulders, feet below hips, forward travel along +Z, left on +X.
  • Blender 4.5 and 5.2 were checked by hand on the same facts and agree with FBXLoader joint for joint. This check is not automated.
  • New VRM 0.x coverage:
    • A derived VRM 0.x variant whose node names match no alias joins the VRM pipeline matrix. Seven cases failed before the fix.
    • Full-byte and structural inspection agree on bones and rest positions.
    • The VRoid AvatarSample_A and AvatarSample_C files were checked by hand. They are not part of the suite.
  • Ecosystem: pnpm verify:ecosystem re-ran Blender 5.2.0 LTS and Godot 4.7.1-stable on the certified Golden artifact. It passed, and the artifact SHA-256 (171bd29b…3eec) matches the existing receipt.
  • pnpm audit --prod: 0 known vulnerabilities. Production licenses: MIT, Apache-2.0.