import { Document, type Node } from '@gltf-transform/core'; /** * Meshy-shaped head-and-torso fixture (the Dreamer avatar pathology, at test scale): * - canonical rig root > pelvis > spine_01 > neck_01 > neck_02 > head, facing +Z, metres, identity-rotation joints * with real inverse-bind matrices; * - ONE skinned primitive, every triangle carrying its own three vertices and its own UV micro-chart (Meshy's shredded * auto-unwrap), flat per-face NORMALs (Meshy's normals are faceted; its normal map carries the shading) and a * TANGENT per vertex; * - a UV-sphere head (centre y=1.62, r=0.11) weighted 100% to 'head', a cylinder torso weighted to 'spine_01', and a * hood COLLAR ring around the neck (y 1.40..1.47, in front of and below the chin) that the auto-rig also weighted * 100% to 'head' — weight alone cannot tell it from the face. */ export interface MeshyHeadFixture { document: Document; joints: Record<'root' | 'pelvis' | 'spine_01' | 'neck_01' | 'neck_02' | 'head', Node>; /** World y of the head joint. */ headY: number; } export declare function buildMeshyHeadFixture(segments?: number): MeshyHeadFixture;