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

NAME

add_materials — one toon material per colour of the creature

SYNOPSIS

add_materials(g, C)

DESCRIPTION

The body, feet and nori get a 4.5 mm outline: the body's and feet's in the drawing's line colour, the nori's a darker tone of its own; the eyes, cheeks and mouth none.

PARAMETERS

g: the GLB. C: the creature's colours.

RETURN VALUE

{colour key: material index}.

SEE ALSO

mtoon(3vrm), build(3vrm)

SOURCE

tools/make-vrm.py, line 476

AUTHOR

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

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0