Skip to content

Import

generator.import · Generators

Loads a heightmap image as a field, placed by offset, rotation, and scale.

Purpose

Brings an existing heightmap into the graph as a field, so you can build on terrain made elsewhere. Reach for it to start from a real-world heightmap or a rough sketch, then shape and erode it like any generated terrain.

Inputs

This node takes no inputs.

Outputs

  • out

Parameters

Parameter Type Range Default Unit Description Field-driven
Path (path) path no
Offset X (offset_x) float [-1, 1] 0 Shifts the image within the frame along the X axis, as a fraction of the frame's width. no
Offset Y (offset_y) float [-1, 1] 0 Shifts the image within the frame along the Y axis, as a fraction of the frame's height. no
Rotation (rotation) float [0, 360] 0 ° no
Scale (scale) float [0.05, 8] 1 no
Edge (edge) enum extend, zero, wrap extend How the field is filled where the placement maps outside the source image. no

Layer contract

Reads and writes the height layer.

Behaviour

The image is resampled to the build resolution and placed by offset, rotation, and scale. An empty path gives a flat field, and the edge policy fills anywhere the placement maps outside the source image.