←ALL OPERATORS
> fields

Heightfield Rescale

fields/heightfield-rescale·v1.5.1
IN:1  OUT:1

Heightfield Rescale builds a new grid over the same extent as the input height field and interpolates every layer onto it, including Height, the falloff and any custom layers. Bilinear filtering is smooth and never overshoots, while Bicubic keeps more detail when increasing the resolution.

Set the new resolution with Resolution Scale or by Grid Samples along the longest side. A typical workflow blocks a terrain out at a low resolution for fast iteration, then rescales up and adds detail with Heightfield Noise or Heightfield Erode.

PAGERescale
Resolution ScaleScaleThe factor applied to the number of samples along both axes. 2 gives twice the detail, 0.5 half.
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.
Border ValueBordervalueThe height read outside the height field when Border is Constant.
PAGECommon
BypassBypassPass through the first input to the output unchanged.
Free Extra GPU MemoryFreeextragpumemFree memory that has accumulated when output memory has grown and shrunk.
Input 0 POP - Heightfield
Output 0 POP - Heightfield