Skip to content

Terrain sculpting (Phase 1): 16 modes, 58 brushes, .brush files, Terrain Brush tab - #148

Open
LyeZinho wants to merge 1 commit into
mainfrom
feature/terrain-sculpt-brushes
Open

LyeZinho wants to merge 1 commit into
mainfrom
feature/terrain-sculpt-brushes

Conversation

@LyeZinho

Copy link
Copy Markdown
Member

What

Phase 1 of the terrain editing plan: sculpting.

  • Engine: 10 new stroke modes, jitter, symmetry, protection masks, 42 procedural stamps, 58-brush library, line-based .brush format, C ABI 28.
  • Doppio: Rust wrappers, stroke steps in the undo history (undo reverts the engine's stroke record, since heights are not in the scene snapshot), the Terrain Brush tab, mouse tool with [ ] / Ctrl / Shift, agent actions, headless flow.
  • Docs: caffeine-website PR (bumps the submodule pointer to its branch commit).

Verified

  • C++ suite: 1124 cases pass (new test_terrain_brushes.cpp, 24 cases; every mode undoes bit for bit).
  • ./scripts/check-rust-ui.sh: fmt, 616 Rust tests, clippy (default, agent, headless), headless flows, panel and colour checks, core ImGui audit.

Notes

  • The submodule pointer references the website branch docs/terrain-editing-phase-1; merge the website PR first.
  • Main CI "Tests" failing on missing SDL3 headers on the runner is unrelated.

🤖 Generated with Claude Code

… files, Terrain Brush tab

Engine: ten new stroke modes (ramp, terrace, pinch, bulge, stamp absolute/max/min,
clone, smudge, thermal and hydraulic erosion), per-stamp jitter, symmetry and
protection masks (weights computed before any height changes); 42 procedural
stamps; the line-based .brush format; C ABI 28 (library, parse/format, stamp
preview, stroke from a preset).

Doppio: Rust wrappers, stroke steps in the undo history (undo reverts the
engine's stroke record), the Terrain Brush tab, the mouse tool with [ ] Ctrl
Shift shortcuts, agent actions, tests and a headless flow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant