Blacksite/docs/editor/evaluations/terrain-sculpt-tools/README.md
Rbanh 293811aecd
Some checks are pending
CI / Format, lint, test, build (push) Waiting to run
Add terrain sculpt stroke tools
2026-07-12 19:50:47 -04:00

1.4 KiB

Terrain Sculpt Tools Acceptance

Issue: Gitea #23

Scope: native Wayland debug editor; packaged acceptance remains deferred by project-owner direction.

Live Evidence

Raise stroke with terrain-following footprint and horizontal sculpt controls

The committed terrain showcase was selected in Forward rendering. Enabling the mountains tool kept the actor selected, removed the transform gizmo, expanded Raise/Lower/Flatten/Smooth/Noise plus radius/strength controls inside the existing horizontal viewport toolbar, and displayed the modal cancel/undo hints. A dragged Raise stroke visibly changed the generated terrain while the footprint tracked the sampled surface. Release produced exactly Undo: Raise Terrain; no transform Move history entry was created.

Escape/right-click restoration, deterministic brush math, exact vertical-ray sampling, multi-dab stroke grouping, and sculpt-time gizmo exclusion are covered by focused tests. The live pass also exposed and corrected toolbar click-through into raw mesh picking before this evidence was captured.

Source Verification

  • cargo fmt --all -- --check
  • cargo check -p editor --all-targets
  • cargo clippy -p editor --all-targets -- -D warnings
  • six focused terrain-sculpt/input-ownership tests
  • git diff --check

The canonical fixture remains assets/levels/terrain_authoring_showcase.scn.ron; no QA-only scene or project setting is retained.