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

NAME

y_weights — the body's skin, by height

SYNOPSIS

y_weights(V, s)

DESCRIPTION

Each vertex follows the hips at the bottom, then the spine, the chest and the head, each band blended into the next by a smoothstep, so that a round body bends softly when the avatar leans.

PARAMETERS

V: the vertices. s: the scale.

RETURN VALUE

[{bone: weight}, …], one per vertex, the weights summing to 1.

SEE ALSO

skeleton(3vrm), add_meshes(3vrm)

SOURCE

tools/make-vrm.py, line 211

AUTHOR

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

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0