terrain_region_mask — 3D terrain op

Data kinds: meshsignal

Call: import render3d; render3d.terrain_region_mask(V, F, *, smooth_fraction: 'float' = 0.3, method: 'str' = 'neck', seed: 'int' = 0) -> 'np.ndarray' (or ops3d.get("terrain_region_mask"))

Usage

Per-face terrain weights (M,) in [0,1]: 0 = smooth regolith "sea", 1 = rough highland.

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

itokawa_regolith_heropy -3.11 examples_3d/itokawa_regolith_hero.py

Ops the type connects to (they accept signal as input)

fuse_to_voxel

Same category (terrain)

mesh_displace_fbm · mesh_scatter_boulders · mesh_edge_lengths · mesh_subdivide · displacement_band_weights · mesh_displace_spectrum · bump_normals_fbm


*Provenance: render3d.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.