Rock

Rock icon

In: SDF function > Primitive

Description

An SDF function for a parametric and randomizable rock shape, built with SDF functions.

Inputs

Inputs

Max. facets Integer
The maximum number of facets of the rock (up to 32).

Default: 8
Smoothness Float
The radius of the rounded arcs applied to the rock’s edges.

Default: 0
Randomness Float
Jitters the faces orientation and distance to the center.
As a result, greater values result in a smaller rock.

Default: 0
Seed Float
Seed for the Randomness parameter.

Default: 0
Scale Float
Global scale of the rock shape.
Applied after Randomness, and before Smoothness.

Default: 0.5
Center position Float3
The world space position of the pivot of the rock.

Default: (0, 0, 0.5)
P Float3
The transformed world space position. Use this input to apply additional transformations using the Offset P and Rotate P nodes.
Default: The untransformed world space position.
recommendation-more-help
dd48abc6-e399-43d2-9777-578ec70c5a23