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

NAME

squash — scale and lift a part's vertices: the tool of every expression

SYNOPSIS

squash(V, c, sy=1, sx=1, sz=1, dy=0.0)

PARAMETERS

V: the vertices. c: the point to scale about. sy, sx, sz: the scales; 1 by default. dy: a lift, in metres; 0 by default.

RETURN VALUE

The new vertices.

EXAMPLE

squash(eye.V, centre, sy=.08, dy=-.012)    # an eye squashed flat and lowered: a blink

SEE ALSO

targets_for_face(3vrm)

SOURCE

tools/make-vrm.py, line 182

AUTHOR

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

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0