Heightfield Smooth Erode

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
Heightfield Smooth Erode
Heightfield Smooth Erode

Overview

This node erodes a heightfield by sampling data points within the area defined by the “Smooth radius” setting then setting the altitude to the minimum or lowest value found within that sample set. The radius value is defined in metres and in world space. It is not dependent on the heightfield’s resolution, ensuring that the erosion effect will be “similar” whether a heightfield's resolution is 1024 x 1024 or 8k.


Settings:

    • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Heightfield smooth erode nodes in a project.
    • Smooth radius: Sets the maximum distance in metres from the sample point being eroded. The lowest value found in the sample points within this radius is used as the final eroded value.
      Heightfield size = 500 metres, Smooth radius = 0.
      Heightfield size = 500 metres, Smooth radius = 0.
      Heightfield size = 500 metres, Smooth radius = 10 (default).
      Heightfield size = 500 metres, Smooth radius = 10 (default).
      Heightfield size = 500 metres, Smooth radius = 100.
      Heightfield size = 500 metres, Smooth radius = 100.
      Heightfield size = 4000 metres, Smooth radius = 0.
      Heightfield size = 4000 metres, Smooth radius = 0.
      Heightfield size = 4000 metres, Smooth radius = 10 (default).
      Heightfield size = 4000 metres, Smooth radius = 10 (default).
      Heightfield size = 4000 metres, Smooth radius = 100.
      Heightfield size = 4000 metres, Smooth radius = 100.


      The smooth erode effect is independent from the heightfield’s resolution, whether expressed as the “Number of points” setting or the number of pixels in an image file. What matters is the distance in meters which is based on world space.

      Heightfield resolution 64 x 64, Smooth radius = 0.
      Heightfield resolution 64 x 64, Smooth radius = 0.
      Heightfield resolution 64 x 64, Smooth radius = 10.
      Heightfield resolution 64 x 64, Smooth radius = 10.
      Heightfield resolution 64 x 64, Smooth radius = 100.
      Heightfield resolution 64 x 64, Smooth radius = 100.
      Heightfield resolution 1024 x 1024, Smooth radius = 0.
      Heightfield resolution 1024 x 1024, Smooth radius = 0.
      Heightfield resolution 1024 x 1024, Smooth radius = 10.
      Heightfield resolution 1024 x 1024, Smooth radius = 10.
      Heightfield resolution 1024 x 1025, Smooth radius = 100.
      Heightfield resolution 1024 x 1025, Smooth radius = 100.