Heightfield Smooth Erode: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
Redmaw (talk | contribs)
Added descriptions and example images for all settings.
Redmaw (talk | contribs)
m Replaced example images on bottom 2 rows with new renders w/o HF Fractal Detail. Commented out Overview description of HF fractal detail and example image. Reduced example images using Smooth radius value 0, 10, 100.
Line 5: Line 5:
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.  
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.  


Fractal detail can be added to the eroded heightfield via the Heightfield’s Fractal Detail tab.
<!-- Fractal detail can be added to the eroded heightfield via the Heightfield’s Fractal Detail tab.


[[File:HFSmoothErode_20_HFFractalDetail.jpg|none|800px|Heightfield fractal detail enabled on top of the Smooth erode process.]]
[[File:HFSmoothErode_20_HFFractalDetail.jpg|none|800px|Heightfield fractal detail enabled on top of the Smooth erode process.]] -->




Line 19: Line 19:
{|
{|
|-
|-
| [[File:HFSmoothErode_01_HFSize500_SmoothRadius0.jpg|none|200px|Heightfield size = 500 metres, Smooth radius = 0.]] || [[File:HFSmoothErode_02_HFSize500_SmoothRadius10.jpg|none|200px|Heightfield size = 500 metres, Smooth radius = 10 (default).]] || [[File:HFSmoothErode_03_HFSize500_SmoothRadius25.jpg|none|200px|Heightfield size = 500 metres, Smooth radius = 25.]] || [[File:HFSmoothErode_04_HFSize500_SmoothRadius100.jpg|none|200px|Heightfield size = 500 metres, Smooth radius = 100.]]
| [[File:HFSmoothErode_01_HFSize500_SmoothRadius0.jpg|none|266px|Heightfield size = 500 metres, Smooth radius = 0.]] || [[File:HFSmoothErode_02_HFSize500_SmoothRadius10.jpg|none|266px|Heightfield size = 500 metres, Smooth radius = 10 (default).]] || [[File:HFSmoothErode_04_HFSize500_SmoothRadius100.jpg|none|266px|Heightfield size = 500 metres, Smooth radius = 100.]]
|-
|-
| [[File:HFSmoothErode_05_HFSize4000_SmoothRadius0.jpg|none|200px|Heightfield size = 4000 metres, Smooth radius = 0.]] || [[File:HFSmoothErode_06_HFSize4000_SmoothRadius10.jpg|none|200px|Heightfield size = 4000 metres, Smooth radius = 10 (default).]] || [[File:HFSmoothErode_07_HFSize4000_SmoothRadius100.jpg|none|200px|Heightfield size = 4000 metres, Smooth radius = 100.]] ||[[File:HFSmoothErode_08_HFSize4000_SmoothRadius250.jpg|none|200px|Heightfield size = 4000 metres, Smooth radius = 250.]]
| [[File:HFSmoothErode_05_HFSize4000_SmoothRadius0.jpg|none|266px|Heightfield size = 4000 metres, Smooth radius = 0.]] || [[File:HFSmoothErode_06_HFSize4000_SmoothRadius10.jpg|none|266px|Heightfield size = 4000 metres, Smooth radius = 10 (default).]] || [[File:HFSmoothErode_07_HFSize4000_SmoothRadius100.jpg|none|266px|Heightfield size = 4000 metres, Smooth radius = 100.]]  
|}
|}


Line 30: Line 30:
{|
{|
|-
|-
| [[File:HFSmoothErode_09_HFResoution512_SmoothRadius0.jpg|none|200px|Heightfield resolution 512 x 512, Smooth radius = 0.]] || [[File:HFSmoothErode_13_HFResoution512_SmoothRadius10.jpg|none|200px|Heightfield resolution 512 x 512, Smooth radius = 10 (default).]] || [[File:HFSmoothErode_14_HFResoution512_SmoothRadius100.jpg|none|200px|Heightfield resolution 512 x 512, Smooth radius = 100.]] || [[File:HFSmoothErode_15_HFResoution512_SmoothRadius1000.jpg|none|200px|Heightfield resolution 512 x 512, Smooth radius = 1000.]]
|[[File:HFSmoothErode_24_HFResoution512_SmoothRadius0.jpg|none|266px|Heightfield resolution 512 x 512, Smooth radius = 0.]] || [[File:HFSmoothErode_25_HFResoution512_SmoothRadius10.jpg|none|266px|Heightfield resolution 512 x 512, Smooth radius = 10 (default).]] || [[File:HFSmoothErode_26_HFResoution512_SmoothRadius100.jpg|none|266px|Heightfield resolution 512 x 512, Smooth radius = 100.]]
|-
|-
| [[File:HFSmoothErode_16_HFResoution2048_SmoothRadius0.jpg|none|200px|Heightfield resolution 2048 x 2048, Smooth radius = 0.]] || [[File:HFSmoothErode_17_HFResoution2048_SmoothRadius10.jpg|none|200px|Heightfield resolution 2048 x 2048, Smooth radius = 10 (default).]] || [[File:HFSmoothErode_18_HFResoution2048_SmoothRadius100.jpg|none|200px|Heightfield resolution 2048 x 2048, Smooth radius = 100.]] || [[File:HFSmoothErode_19_HFResoution2048_SmoothRadius1000.jpg|none|200px|Heightfield resolution 2048 x 2048, Smooth radius = 1000.]]
| [[File:HFSmoothErode_21_HFResoution2048_SmoothRadius0.jpg|none|266px|Heightfield resolution 2048 x 2048, Smooth radius = 0.]] || [[File:HFSmoothErode_22_HFResoution2048_SmoothRadius10.jpg|none|266px|Heightfield resolution 2048 x 2048, Smooth radius = 10 (default). ]] || [[File:HFSmoothErode_23_HFResoution2048_SmoothRadius100.jpg|none|266px|Heightfield resolution 2048 x 2048, Smooth radius = 100.]]
|}
|}



Revision as of 00:25, 2 February 2021

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. Notice in the example images below that although the heightfield resolutions are very different the final smooth erosion across the terrain looks very similar.

      Heightfield resolution 512 x 512, Smooth radius = 0.
      Heightfield resolution 512 x 512, Smooth radius = 0.
      Heightfield resolution 512 x 512, Smooth radius = 10 (default).
      Heightfield resolution 512 x 512, Smooth radius = 10 (default).
      Heightfield resolution 512 x 512, Smooth radius = 100.
      Heightfield resolution 512 x 512, Smooth radius = 100.
      Heightfield resolution 2048 x 2048, Smooth radius = 0.
      Heightfield resolution 2048 x 2048, Smooth radius = 0.
      Heightfield resolution 2048 x 2048, Smooth radius = 10 (default).
      Heightfield resolution 2048 x 2048, Smooth radius = 10 (default).
      Heightfield resolution 2048 x 2048, Smooth radius = 100.
      Heightfield resolution 2048 x 2048, Smooth radius = 100.