feat(editor): add --gen-mesh-totem stacked carved totem primitive

Stack of N square blocks with alternating widths: even-indexed
blocks (0, 2, 4...) get full base width, odd blocks (1, 3, 5...)
get 70% — gives the carved-segment look characteristic of
totem poles.

Defaults: baseW=0.5, 5 segments, segH=0.5. Useful for tribal
zones, druid groves, fairgrounds, primitive village markers.
Brings the procedural mesh primitive set to 35.
This commit is contained in:
Kelsi 2026-05-09 04:57:33 -07:00
parent a23eb420ef
commit 47e78d4e08
3 changed files with 98 additions and 1 deletions

View file

@ -204,7 +204,7 @@ int main(int argc, char* argv[]) {
"--gen-mesh-archway", "--gen-mesh-barrel", "--gen-mesh-chest",
"--gen-mesh-anvil", "--gen-mesh-mushroom", "--gen-mesh-cart",
"--gen-mesh-banner", "--gen-mesh-grave", "--gen-mesh-bench",
"--gen-mesh-shrine",
"--gen-mesh-shrine", "--gen-mesh-totem",
"--gen-texture-gradient",
"--gen-mesh-from-heightmap", "--export-mesh-heightmap",
"--displace-mesh",