Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

zbrush_feel: Ctrl+click blur / sharpen checked by partly masked vertices; REPORT.md

islandmedfe89d19c8d38
diff --git a/REPORT.md b/REPORT.md
index 1167620b..a479fa78 100644
--- a/REPORT.md
+++ b/REPORT.md
@@ -1,11 +1,8 @@
-# feat/precision-brushes (0.10.9): rebased on 0.10.8, NOT pushed: full ctest killed (machine out of memory)
-Done (commit 619a727): Steady Stroke on every stroke type (L) + catch-up; World Size (mm); 0.5 px min, Shift+[ ] 1 px,
-Ctrl+Shift+right-drag scrub (Ctrl+Shift+drag is hide-select); Shift+Alt mid-stroke precision drag; per-brush 2-5 point
-pressure curve (own brush-curves.json, #78 keys); exact screenRay/view + canvas snapped to fb pixels; pick filter; docs.
-Passing: unit tests precision+camera; ui/precision.sfui; ui/precision_dense.sfui (HiDPI 2x: worst dab 0.0005 px).
-Known: float floor ~0.2 px at a 1.3 mm-wide view (fine to 0.05 px down to 6 mm); fold curve into #78 struct after merge.
-Left: full ctest (killed by low-memory reaper, not a failure), 33M check, push, message "input".
-TESTERS.md written; no REPLY.md (no user issue).
-Resume: pgrep -f ctest (none) -> cd build && nice -n 19 ionice -c3 cmake --build . -j3 && SDL_APP_ID=sculptforge-agent
- nice -n 19 ionice -c3 ctest -j3 --output-on-failure; fix (likely ui_guide_shortcuts: regenerate shortcut table);
- at load < 2: tools/precision_check.sh build; then git push -u origin feat/precision-brushes, update SHA here.
+# feat/precision-brushes (0.10.9): green, pushed
+Steady Stroke (L) on every stroke type + catch-up; World Size (mm); 0.5 px min, Shift+[ ] 1 px, Ctrl+Shift+right-drag
+scrub (Ctrl+Shift+drag is hide-select); Shift+Alt mid-stroke precision drag (all input styles); per-brush 2-5 point
+pressure curve (brush-curves.json, #78 keys); exact screenRay/view, canvas on fb pixels, pick filter; docs, TESTERS.md.
+Tests: full ctest 129/129 (zbrush_feel's blur check now counts partly-masked vertices; rerun green), test_precision,
+ui/precision, ui/precision_dense (extreme zoom, HiDPI 2x: worst dab 0.0005 px). No REPLY.md (no user issue).
+Not done: 33M by hand (tools/precision_check.sh, at load < 2). Float floor ~0.2 px at a 1.3 mm-wide view.
+Follow-up: move the curve into #78's BrushToolSettings.
diff --git a/tests/ui/zbrush_feel.sfui b/tests/ui/zbrush_feel.sfui
index 635e7efb..c69f7ef7 100644
--- a/tests/ui/zbrush_feel.sfui
+++ b/tests/ui/zbrush_feel.sfui
@@ -130,17 +130,18 @@ hold ctrl
stroke 0.2 0.55 0.8 0.55 # a little off-centre: on a centred band, blurring can leave the masked count unchanged
hold none
expect_value masked > 100
-remember masked painted
+# (Partly masked vertices: a blur always makes more of them, a sharpen fewer. The count above 0.5 can stay the same.)
+remember mask_soft painted
hold ctrl
drag_path 0.5 0.3 0.5 0.3
hold none
-expect_value masked != $painted
-remember masked blurred
+expect_value mask_soft > $painted
+remember mask_soft blurred
shot mask-blurred
hold ctrl+alt
drag_path 0.5 0.3 0.5 0.3
hold none
-expect_value masked != $blurred
+expect_value mask_soft < $blurred
shot mask-sharpened
# --- Ctrl+W: the masked part becomes a polygroup and the mask is cleared ---