This node creates a mask from the curvature of the terrain. The computed mean curvature corresponds to the average of the two principal curvatures. High curvature points are located at the terrain concavities (depressions) and low curvature points are located at the terrain convexities (peaks). Zero curvature represents parts of the surface where the slope is constant (planes or a constant rise).
By default, the curvature is computed for the smallest details, but it can also be used to detect large concavities and convexities. To do so, the curvature is computed on a smoother terrain that contains only the low frequencies of the surface: you can construct such a terrain by using at least two chained smooth nodes with their strength equal to 1 and their radius proportional to the size of the features you want to extract.
To add a Mask from curvature node, right click in the Graph Editor and select Create Node > Mask Generation > Mask from curvature.
Two modes exist to edit the Mask from curvature node.
At each vertex, the mask has a value of 0 (black color) if the curvature of the terrain is less than or equal to the minimum curvature; it has a value of 1 (white color) if the curvature of the terrain is higher or equal to the maximum curvature; it has a value between 0 and 1 if the curvature of the terrain lies between these two curvatures.
|Gradient mode||The mask has a gradient with values between 0 for the minimum curvature up to 1 for the maximum curvature.|
|Select mode||The mask is set to 1 for curvatures between the minimum curvature and maximum curvature; otherwise it is set to 0.|
|Maximum curvature||The maximum curvature of the terrain.|
|Minimum curvature||The minimum curvature of the terrain.|
Copyright © 2019 · All Rights Reserved · Wysilab