Difference between revisions of "Heightfield Smooth"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
m (fix layout)
(Comment out overview section temporarily.)
Line 2: Line 2:
  
 
== Overview ==
 
== 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.     
+
<!-- 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.
+
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. -->
 
{|
 
{|
 
|-
 
|-

Revision as of 00:51, 21 January 2021

Heightfield Smooth

Overview[edit]

Heightfield resolution 10 x 10.
Heightfield resolution 100 x 100.
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 = 2
      Heightfield resolution 10 x 10, Smooth radius = 10
      Heightfield resolution 100 x 100, Smooth radius = 0
      Heightfield resolution 100 x 100, Smooth radius = 2
      Heightfield resolution 100 x 100, Smooth radius = 10
      Heightfield resolution 1000 x 1000, Smooth radius = 0
      Heightfield resolution 1000 x 1000, Smooth radius = 2
      Heightfield resolution 1000 x 1000, Smooth radius = 10

A single object or device in the node network which generates or modifies data and may accept input data or create output data or both, depending on its function. Nodes usually have their own settings which control the data they create or how they modify data passing through them. Nodes are connected together in a network to perform work in a network-based user interface. In Terragen 2 nodes are connected together to describe a scene.

A sample refers to a value or set of values at a point in time and/or space. The defining point of a sample is that it is a chosen value out of a continuous signal. In Terragen 2 it is usually a mathematical (procedural) function that is being sampled.