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

NAME

vrmVertexNormals — each vertex's normal, from the triangles round it

SYNOPSIS

vrmVertexNormals[p, tri]

DESCRIPTION

Adds each triangle's cross product (its normal, weighted by its area) to its three corners, in the order the triangles are listed, as the Python loops do. The sums are returned unnormalised; vrmOnigiri normalises them, with the sphere's own normal at the poles.

SEE ALSO

vrmOnigiri(3vrmwl)

SOURCE

tools/ff_makevrm.nb: line 49 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