NAME
vrmSphere — a unit sphere as a grid of triangles
SYNOPSIS
vrmSphere[] · vrmSphere[nu, nv]
DESCRIPTION
nu slices round (40 by default) and nv rings from top to bottom (24); the seam's first and last column stay separate vertices; each normal is the position itself. The triangles are gathered with Reap and Sow, two per square of the grid and one at each pole.
RETURN VALUE
{v, n, i}: positions, normals, triangles (vertex numbers from 0).
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
