Documentation / Node reference / code nodes

code/SDFRepeat

Folds a sampled position into a repeating lattice of cells.

Sdf3d

Maps a position into one cell of an infinite lattice, so whatever primitive reads the folded position is drawn once per cell. Each axis can instead be LIMITED to a finite number of cells either side of the origin, which is what makes a row, a grid or a block rather than an endless field. The twin of geo/SDFRepeat, for use inside a geo/SDFBuilder sub-network. It differs from the geo node in one way worth knowing: this fold reports the nearest cell only, where the geo node compares the neighbouring cells too and so stays exact right up to a cell boundary.

Parameters

Name Type What it does
limitedX Bool Repeat a finite number of times along X instead of endlessly.
limitedY Bool Repeat a finite number of times along Y instead of endlessly.
limitedZ Bool Repeat a finite number of times along Z instead of endlessly.
P Vector3 Position to fold. Left unwired it reads the builder's own sample position.
cell Vector3 Size of one cell on each axis: the spacing between copies.
limit Vector3 How many cells either side of the origin a LIMITED axis reaches. Read per axis, and only for the axes whose toggle is on.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.