←ALL OPERATORS
> fields

Heightfield

fields/heightfield·v1.5.1
IN:0  OUT:1

Heightfield starts a height field chain. It lays out a grid of samples at the cell centers of a rectangle of a given Size and Center in the ZX, XY or YZ plane, gives every sample an Initial Height, and outputs a POP with Height, normals and the orientation, optionally with Tex and a falloff layer.

Division Mode sets the resolution by Grid Spacing in world units or by Grid Samples along the longest side, and Connectivity builds triangles, quads or points only. The Slope, Gradient and Curvature toggles add derived layers that every height field operator downstream keeps up to date, ready for Heightfield Falloff, scattering or shading.

PAGEHeightfield
Flip Up DirectionFlipupMeasures Height along the negative axis instead, so the terrain faces the other way.
SizeSizeThe width and length of the height field in world units.
Grid SpacingGridspacingThe distance between two samples, in world units.
Grid SamplesGridsamplesThe number of samples along the longest axis.
ResolutionResolutionThe resulting number of samples along each axis (read only). Limited to 1280 by 1280 samples with a Non-Commercial license.
Initial HeightInitialheightThe starting height of every sample.
Add Falloff LayerAddfalloffAdds a falloff layer to the height field.
Initial FalloffInitialfalloffSets the starting value of the falloff layer.
Texture CoordinatesTexcoordsAdds a Tex attribute that runs from 0 to 1 across the height field.
Gradient LayerComputegradientAdds a Gradient layer (the rate of change of Height along the plane). Every height field operator downstream keeps it up to date.
Slope LayerComputeslopeAdds a Slope layer (the steepness in degrees). Every height field operator downstream keeps it up to date.
Curvature LayerComputecurvatureAdds a Curvature layer (positive in valleys, negative on ridges). Every height field operator downstream keeps it up to date.
Border ValueBordervalueThe height read outside the height field when Border is Constant.
PAGECommon
Free Extra GPU MemoryFreeextragpumemFree memory that has accumulated when output memory has grown and shrunk.
Output 0 POP - Heightfield