Also known as: Convexity Selector
Creates a selection mask based on surface curvature, identifying convex (ridges/peaks), concave (valleys/cracks), smooth, or rough areas.
When to Use
Use the mask to drive weathering, material placement, or detail enhancement:
- Ridges and peaks: Use Exposed Areas mode to select ridges for rockfall or erosion effects.
- Valleys and cracks: Use Recessed Areas mode to target valleys for sediment deposition or vegetation.
- Plateaus and even slopes: Smooth Areas mode is excellent for identifying plateaus and even, unbroken slopes.
- Ridgelines and gully bottoms: A Contour Grain of +1 is useful for detecting ridgelines and gully bottoms running downhill.
- Slope breaks and terrace edges: A Contour Grain of -1 helps identify breaks in slope and terrace edges.
How to Use
Connect a terrain, heightfield or VDM, to the input. By default the output shows the full range of curvature: 0.5 (mid-gray) is neutral, brighter is convex, darker is concave.
- Choose Convexity Type: Directional for ridges and valleys, Gaussian for domes and pits
- Choose Selection Type based on features you want to isolate (ridges, valleys, smooth areas, etc.)
- Adjust Strength to control sensitivity, and Contour Grain to favor features running along or down the slope
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Primary Input | Heightfield or VDM | Required | The terrain to analyze for curvature |
| Mask Input | Heightfield | Optional | Limits the selection: the output fades to black where the mask is black |
Outputs
| Port | Type | Description |
|---|---|---|
| Primary Output | Heightfield | Mask showing selected curvature regions |
Parameters
Convexity Type
Determines which kind of curvature is measured.
- Default: Directional
- Options:
- Directional: Measures how the surface bends, blending between bending along the contour lines and bending down the slope as set by Contour Grain. Ridges and peaks are convex, valleys and cracks are concave.
- Gaussian: Picks out domes and pits, surfaces that curve the same way in every direction. Domes and knobs count as exposed, pits and hollows as recessed, while saddles and straight ridges or valleys count as neutral. In Smooth Areas and Rough Areas, saddles count as rough.
Selection Type
Determines which curvature features to select.
- Default: Full Range
- Options:
- Full Range: Shows all curvature variations (0.5 = neutral, above = convex, below = concave)
- Exposed Areas: Selects ridges, peaks, and convex features only
- Recessed Areas: Selects valleys, cracks, and concave features only
- Smooth Areas: Selects areas with little curvature, whether flat or evenly sloped
- Rough Areas: Selects strongly curved areas, convex or concave
Strength
Controls sensitivity to curvature. Higher values bring out subtler curvature and push more of the terrain to full white or black; the mask saturates smoothly rather than clipping. Accepts spatial input.
- Default: 1.0
- Range: 0.0 to 2.0 on the slider; you can type a larger value
Contour Grain
Only visible when Convexity Type is Directional. Sets which way the selected features run. Accepts spatial input.
- Default: 0.0
- Range: -1.0 to 1.0
- -1: features that follow the contour lines, such as benches, terrace edges and breaks in slope
- 0: total convexity, combining both directions
- +1: features that run downhill like flow lines, such as ridges, spurs and gullies
Smoothing
Controls noise suppression in the curvature measurement. Higher values reduce noise and aliasing on fine, noisy detail, at the cost of a softer result.
- Default: 0.0
- Range: 0.0 to 1.0
Tips and Tricks
- Raise Smoothing when the mask looks speckled on noisy or very detailed terrain
- Curvature is measured in real-world terms, so a heightfield and the same terrain converted to a VDM give matching results
- Combine with Select Slope to refine selection (e.g., smooth areas on steep slopes only)
Older Versions
Projects from earlier builds may contain an older version of this device. Those versions have a Convexity Type list of Total Convexity, Along Contours (Plan) and Down Contours (Profile) (plus Gaussian in Dragontail builds) instead of Contour Grain, and measure curvature on a different scale. Updating converts them to Directional with a Contour Grain of 0, -1 and +1 respectively, but the mask’s strength may change.