Skip to content

Shape ​

Primitives primitive.shape

A flat-topped circle, square, diamond, hexagon or triangle with a soft edge. Useful as a mask or a plateau.

Shape with default settings

Output with default settings, rendered by LibreTerrain.

Outputs ​

PortType
OutHeightfield

Settings ​

SettingDefaultRange / optionsDescription
ShapeCircleCircle, Square, Diamond, Hexagon, Triangle
Size2,500 m1 to 1,000,000 mDistance from the centre to the edge, in metres.
Falloff800 m0 to 100,000 mWidth of the soft edge outside the shape, in metres. 0 = a hard edge.
Rotation0 °-360 to 360 °
Height Mask port1,000 m0 to 20,000 mHeight of the feature above its base, in metres.
Base0 m-10,000 to 10,000 mHeight of the surrounding ground, in metres.
Position X0 m-1,000,000 to 1,000,000 mEast/west offset from the centre of the world, in metres.
Position Y0 m-1,000,000 to 1,000,000 mNorth/south offset from the centre of the world, in metres.

Mask ports

Settings marked Mask port can be driven by a mask. Click the setting's Mask port button and connect a mask to the new green input: black scales the value to 0, white keeps the value you set.

See also ​

Cone · Constant · File · Gradient · Hemisphere · Polygons

Code dual-licensed MIT / Apache-2.0. "LibreTerrain" and its logo belong to EllisonDigital.