VRMTOPFOUR(3VRMWL)Pyon manual · Mochi and Onigiri as VRM 1.0 avatars, in the Wolfram Language (tools/ff_makevrm.nb)VRMTOPFOUR(3VRMWL)

NAME

vrmTopFour — a vertex's four strongest bones, weights summing to 1

SYNOPSIS

vrmTopFour[<|bone -> weight, …|>, jindex]

DESCRIPTION

Sorted by weight, ties kept in their first order (as Python's sort keeps them), weights under 0.0001 left out, the rest divided by their sum, padded with zeros to four.

RETURN VALUE

{joints, weights}.

SEE ALSO

vrmAddMeshes(3vrmwl)

SOURCE

tools/ff_makevrm.nb: line 314 of its cells one after another (docs/man/src/ff_makevrm-cells.txt)

AUTHOR

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

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0