Skip to content

File ​

Primitives primitive.file

Import a heightmap image (EXR or 8/16-bit PNG), stretched over the whole world. Pixel (0, 0) is the world origin, as in exported files.

Outputs ​

PortType
OutHeightfield

Settings ​

SettingDefaultRange / optionsDescription
FileEmptyRelative paths are resolved from the project file's folder.
ValuesAuto (EXR = metres, PNG = 0..1)Auto (EXR = metres, PNG = 0..1), Metres, 0..1 (mapped to Low..High)What the image's values mean.
0..1 = world height rangeOnFor 0..1 values: map black and white to the world's lowest and highest heights.
Low0 m-10,000 to 20,000 mFor 0..1 values: height of black, when not using the world range.
High1,000 m-10,000 to 20,000 mFor 0..1 values: height of white, when not using the world range.
Flip verticallyOffFor images whose first row is the far (Y = max) edge of the terrain.

See also ​

Cone · Constant · Gradient · Hemisphere · Polygons · Shape

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