ADD_SKELETON(3VRM)Pyon manual · Mochi and Onigiri as VRM 1.0 avatars (tools/make-vrm.py, Python)ADD_SKELETON(3VRM)

NAME

add_skeleton — the nodes, the bones and the skin

SYNOPSIS

add_skeleton(g, cr)

DESCRIPTION

A root node named after the creature; one node per bone with its translation from its parent and no rotation; the skin, with every bone as a joint and its inverse bind matrix (a move by minus the bone's world position, since nothing is rotated at rest).

PARAMETERS

g: the GLB. cr: the creature.

RETURN VALUE

(bone names, world positions, node index of each bone, joint index of each bone).

SEE ALSO

skeleton(3vrm), add_meshes(3vrm)

SOURCE

tools/make-vrm.py, line 488

AUTHOR

Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0