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

NAME

targets_for_face — the face's seven morph targets

SYNOPSIS

targets_for_face(face, smile, mouth, s, closed)

DESCRIPTION

Fills each face part's morphs: 0 blinkL and 1 blinkR (an eye squashed flat, its highlight shrunk away); 2 mouthOpen; 3 mouthWide; 4 mouthRound; 5 happyEyes (Mochi's eyes squashed thin and bent up in the middle, ^ ^); 6 wideEyes. Onigiri's eyes are always closed arches, so with closed=True they are lowered, raised or stretched instead.

PARAMETERS

face: [(side, centre, eye part, highlight part or None), …]. smile, mouth: the smile and mouth parts. s: the scale. closed: True for Onigiri.

RETURN VALUE

The targets' names, TARGET_NAMES.

SEE ALSO

expressions(3vrm), squash(3vrm), add_meshes(3vrm)

SOURCE

tools/make-vrm.py, line 377

AUTHOR

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

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0