rigged-body-glb

Any rigged body out as a skinned GLB that plays UAL's clips by name. A body the rig tool made (an AI mesh, an artist's mesh, a scan), a file's own skin, or MakeHuman's: riggedBodyGlb(body) writes it in the same profile as Dramatis's character export, so three.js, Unity, Godot and Blender open it and a UAL clip binds to its bones with no retargeting. Pure: no engine, bytes out. tosijs-3d/rigged-body-glb.

import { glbRigTriangles } from 'tosijs-3d/glb-rig'
import { bodyFromMarkers } from 'tosijs-3d/rigged-body'
import { riggedBodyGlb } from 'tosijs-3d/rigged-body-glb'

const body = bodyFromMarkers(glbRigTriangles(bytes), { markers })
const glb = riggedBodyGlb(body, { restPose: 't-pose', naming: 'ue' })

What the file is (Dramatis's export-format, version 1):

Weights are the body's own, four per vertex, renormalised.