Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit65083fe8f2

README.md

core

The parts the other procgen nodes are built from: making elements (points, make, column, scratch), joining (concat, and join, which places the parts of a join), connectivity (edges, boundary, adjacency, islands, owner, corners), normals (normals.face, normals.point, normals.corner), weld, select, stitch, folds and scatters of a column (reduce, scatter), the column names of a class (names), curve measure and resample (arclength, resample.curve, sample_curve), surface sampling (sample.surface, interpolate), neighbours (spatial, pairs, neighbours), realize, the raster set (raster.new, raster.read, raster.stencil, raster.sample, raster.add_layer, raster.remove_layer, raster.reduce, raster.column, raster.resolve, raster.blend, and raster.cells under them), and entity.read, which brings scene entities in (assets come in through io.import).

Each is a graph of the ops, the kernels of kernels/ and other core nodes. concat and realize call join.

A graph calls them as g.core.<name>, for instance g.core.edges. A node with several outputs answers a record: local faces = g.core.normals.face(...) then faces.geometry, faces.scaled. Every node's README states its inputs and outputs.