Heightfield Smooth

From Terragen Documentation from Planetside Software
Revision as of 23:12, 15 January 2021 by Redmaw (talk | contribs) (fix layout)
Jump to navigation Jump to search
Heightfield Smooth
Heightfield Smooth

Overview

This node smooths a heightfield by averaging a certain number of points next to a given sample point. A value of 0 in the “Smooth radius” setting results in no smoothing, while a value of 10 would average the given sample point with 10 of its closest neighbors.

When setting the “Smooth radius” value be aware of the heightfield’s resolution, that is the number of points in a TER file or the number of pixels in an image file, because the more points contained within a heightfield, the less the distance that separates them. Therefore a value of 10 smooths a larger area when the heightfield’s resolution is 10 x 10 than when the resolution is 1000 x 1000.

Heightfield resolution 10 x 10.
Heightfield resolution 10 x 10.
Heightfield resolution 100 x 100.
Heightfield resolution 100 x 100.
Heightfield resolution 1000 x 1000.
Heightfield resolution 1000 x 1000.


Settings:

    • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Heightfield smooth nodes in a project.
    • Smooth radius: Sets the number of nearest points to include in evaluating the smoothness of the sample point. The higher the value the smoother the terrain.
      Heightfield resolution 10 x 10, Smooth radius = 0
      Heightfield resolution 10 x 10, Smooth radius = 0
      Heightfield resolution 10 x 10, Smooth radius = 2
      Heightfield resolution 10 x 10, Smooth radius = 2
      Heightfield resolution 10 x 10, Smooth radius = 10
      Heightfield resolution 10 x 10, Smooth radius = 10
      Heightfield resolution 100 x 100, Smooth radius = 0
      Heightfield resolution 100 x 100, Smooth radius = 0
      Heightfield resolution 100 x 100, Smooth radius = 2
      Heightfield resolution 100 x 100, Smooth radius = 2
      Heightfield resolution 100 x 100, Smooth radius = 10
      Heightfield resolution 100 x 100, Smooth radius = 10
      Heightfield resolution 1000 x 1000, Smooth radius = 0
      Heightfield resolution 1000 x 1000, Smooth radius = 0
      Heightfield resolution 1000 x 1000, Smooth radius = 2
      Heightfield resolution 1000 x 1000, Smooth radius = 2
      Heightfield resolution 1000 x 1000, Smooth radius = 10
      Heightfield resolution 1000 x 1000, Smooth radius = 10