Heightfield Smooth Erode: Difference between revisions
Jump to navigation
Jump to search
jrfconvert import |
m Replaced example images in bottom two rows of Smooth erode setting, to match example images used for Smooth erode node wiki page. Updated description corresponding to those two rows of example images. |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[ | <!-- [[Image:drex_module_190_image_0.png|485pxpx|Heightfield Smooth Erode]] --> | ||
[[File:HFSmoothErode_00_GUI.png|none|470px|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. | |||
<!-- 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.]] --> | ||
'''Settings:''' | |||
<ul> | |||
* '''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. | |||
<ul> | |||
{| | |||
|- | |||
| [[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|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.]] | |||
|} | |||
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. --> | |||
{| | |||
|- | |||
| [[File:HFSmooth_27_NumPnts64_SmoothRadius0.jpg|none|266px|Heightfield resolution 64 x 64, Smooth radius = 0.]] || [[File:HFSmooth_28_NumPnts64_SmoothRadius10.jpg|none|266px|Heightfield resolution 64 x 64, Smooth radius = 10.]] || [[File:HFSmooth_29_NumPnts64_SmoothRadius100.jpg|none|266px|Heightfield resolution 64 x 64, Smooth radius = 100.]] | |||
|- | |||
| [[File:HFSmooth_30_NumPnts1024_SmoothRadius0.jpg|none|266px|Heightfield resolution 1024 x 1024, Smooth radius = 0.]] || [[File:HFSmooth_31_NumPnts1024_SmoothRadius10.jpg|none|266px|Heightfield resolution 1024 x 1024, Smooth radius = 10.]] || [[File:HFSmooth_32_NumPnts1024_SmoothRadius100.jpg|none|266px|Heightfield resolution 1024 x 1025, Smooth radius = 100.]] | |||
|} | |||
<!-- {| | |||
|- | |||
|[[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_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.]] | |||
|} --> | |||
</ul> | |||
<br /> | |||
[[Category: Heightfield Operators]] | |||
Latest revision as of 01:14, 11 February 2021

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.
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.











