Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

proc.ops.subdivide

Mesh subdivision. geometry.subdivide splits every triangle into four per level. linear keeps the surface where it is and interpolates everything the geometry carries; loop moves the points by the Loop rules, so the surface converges on the smooth limit surface of the control mesh.

ops(geometry, fields) returns the family as a map of op id to op def; procPacks/subdivide.procPack registers it. A graph calls one of its ops as g.op.<id>({ ... }) and a script as proc.ops.<family>.<op>(...); the procgen toolbox's describeNode answers each in full.

Ops: geometry.subdivide.

Part of @builtin::systems.procgen.proc; required as @builtin::systems.procgen.proc.ops.subdivide.