Documentation / Node reference / code nodes

code/SDFPolarRepeat

Folds a sampled position into one sector of a polar array.

Sdf3d

Maps a position into one sector of a ring of `count` sectors about `axis`, so whatever primitive reads the folded position is drawn once per sector. The twin of geo/SDFPolarRepeat, for use inside a geo/SDFBuilder sub-network.

Turn `limited` on to keep only the sectors between `limitMin` and `limitMax`, which leaves a fan rather than a ring. `center` is the point the array turns about, and `offset` turns the whole thing.

It differs from the geo node in one way worth knowing: this fold reports the nearest sector only, where the geo node compares the neighbouring sector too and so stays exact right up to a sector boundary. Author the shape inside one sector, since that is where everything lands.

Parameters

Name Type What it does
axis UInt8 X · Y · Z Which world axis the sectors turn about.
count UInt32 How many sectors fit in a full turn. 1 is the position unchanged.
limited Bool Keep only a run of sectors instead of the whole ring, which turns the array into a fan.
limitMin SInt32 First sector kept. Read only when `limited` is on.
limitMax SInt32 Last sector kept, included. Read only when `limited` is on.
P Vector3 Position to fold. Left unwired it reads the builder's own sample position.
center Vector3 The point the axis passes through, so the point the sectors turn about.
offset Float Turns the whole array, in degrees, so the first sector sits here rather than on the axis the count starts from.

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.