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.

Merge feat/precision-brushes (0.10.9): Steady Stroke, World Size, fine sizes, pressure curves

islandmed7907c72b6a75
diff --cc CHANGELOG.md
index 3e84fa40,c2160c06..fd82b9ee
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -50,10 -50,17 +50,20 @@@ All notable changes to SculptForge are
procedural tools and checked on a test sculpt (too faint, seams, torn surfaces and near-duplicates are left out),
posted to Insiders as an .sfpack. Supporters get the month's drops as one Insider Pack at month end, and everyone
gets that pack free three months later (`tools/drops/`, `.github/workflows/insider-drop.yml`).
-
+- Focus Detail (experimental, off by default): a billion-micro-triangle asset streamed from one compressed file.
+ Detail loads in under and ahead of the brush and wherever the camera would show it; everything else shows a
+ coarse version. Saving writes only the changed tiles. Try `sculptforge --benchmark standard-1b` or
+ `sculptforge --focus-detail FILE.sfdetail`; design and numbers in docs/design/focus-detail.md.
+ - Precision work (guide: Sculpting > Precision work). **Steady Stroke** (<kbd>L</kbd>) now works with every stroke
+ type (Dots, Drag Stamp, Slide Stamp, Spray), with **Catch up on release** (finish the line to the cursor) and the
+ string drawn to the lagging brush; the Lazy Stroke type is Dots with it on. **World Size** (Draw palette) keeps
+ Draw Size in model units, so the brush stays the same size on the surface as you zoom; every Draw Size slider
+ and the cursor show px and mm. Draw Size goes down to 0.5 px; <kbd>Shift</kbd>+<kbd>[</kbd> /
+ <kbd>Shift</kbd>+<kbd>]</kbd> step 1 px, <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+right-drag scrubs the size finely,
+ and small brushes space their dabs closer so tiny strokes stay continuous. **Precision drag**: hold
+ <kbd>Shift</kbd>+<kbd>Alt</kbd> while drawing and the brush moves at a quarter of the pen's speed, at
+ **Precision Intensity**. **A pressure curve per brush**: 2 to 5 points with Soft, Linear, Firm and Fine detail
+ presets, in Brush Lab and Preferences > Tablet.
### Changed
- What's New is a window now: after an update (and from **Help > What's New**) a centred card shows the version's main
@@@ -103,10 -96,10 +113,14 @@@
view no longer jumps when the pen comes back into range elsewhere or leaves mid-drag. The active Part changes only
with the keyboard's Alt and a quick click (not with a pen button set to Alt, a long pen press or quick pen taps),
and the status bar says "Active Part: <name> (Alt+click)".
+- The enlarged brush or alpha thumbnail you point at in a picker is drawn over its neighbours again, not
+ under them (#86, thanks tristratos).
+- The enlarged brush or alpha thumbnail you point at in a picker is drawn over its neighbours again, not
+ under them (#86, thanks tristratos).
+ - The brush centre now sits exactly under the cursor at high zoom and on HiDPI screens: the brush's ray is worked
+ out from the camera directly, and the view is drawn on whole pixels where the rays are cast (it could be up to
+ half a pixel off). The surface point under the brush is lightly filtered, so strokes on dense meshes no longer
+ wobble.
## [0.10.8] - 2026-11-02
diff --cc docs/guide/whats-new.md
index 9c9c6cad,1b3542b0..73232f5a
--- a/docs/guide/whats-new.md
+++ b/docs/guide/whats-new.md
@@@ -79,19 -79,12 +79,25 @@@ action: guide:whats-new.m
and the status line tells you. Your own model choice is kept. See [Image and text to 3D](generate-3d.md).
- **Generated models arrive as clean quads**: Quad Remesh is now the default, with one subdivision level holding
the detail, so you can sculpt and subdivide straight away. Voxel remesh and Off are still in **Remesh**.
+- **Hover highlights that pop**: buttons, menus and shelves light up in your look's accent as you point at them,
+ tiles lift a little, sliders show their exact value, and the keyboard focus gets the same ring. Prefer less
+ movement? Turn on **Preferences > Interface > Reduce motion** ([Interface](interface.md)).
+- **Picker thumbnails on top**: the enlarged thumbnail you point at in a picker is no longer hidden under its
+ neighbours (#86).
+- **Hover highlights that pop**: buttons, menus and shelves light up in your look's accent as you point at them,
+ tiles lift a little, sliders show their exact value, and the keyboard focus gets the same ring. Prefer less
+ movement? Turn on **Preferences > Interface > Reduce motion** ([Interface](interface.md)).
+- **Picker thumbnails on top**: the enlarged thumbnail you point at in a picker is no longer hidden under its
+ neighbours (#86).
+- **Focus Detail (experimental)**: sculpt a head of a billion micro triangles from one compressed file. Detail
+ loads where you look and where the brush is heading, and the rest shows a lighter version. Saving writes only
+ what you changed. Try it with `sculptforge --benchmark standard-1b` (Linux and macOS for now).
+ - **Precision work** for pores, wrinkles, jewellery and trims: **Steady Stroke** (<kbd>L</kbd>) with every stroke
+ type and a catch-up on release; **World Size**, so the brush keeps its size in mm on the surface as you zoom;
+ Draw Size down to 0.5 px with <kbd>Shift</kbd>+<kbd>[</kbd> / <kbd>]</kbd> for 1 px steps; hold
+ <kbd>Shift</kbd>+<kbd>Alt</kbd> while drawing to move the brush at a quarter of the pen's speed; and a pressure
+ curve for each brush with a **Fine detail** preset. The brush centre now sits exactly under the cursor at any
+ zoom. See [Precision work](sculpting.md#precision-work).
## Version 0.10.8
diff --cc src/app/App.cpp
index a8506630,ceed4837..1649ef26
--- a/src/app/App.cpp
+++ b/src/app/App.cpp
@@@ -3571,25 -3628,13 +3629,20 @@@ void App::drawBrushCursor()
const glm::vec3 pc = linearToSrgb(inverted ? glm::vec3(1.0f) : doc_.paintColor);
col = ImGui::GetColorU32(ImVec4(pc.x, pc.y, pc.z, 0.9f));
}
- surfaceCursorShown_ = uiPrefs_.cursorFollowsSurface && drawSurfaceCursor(dl, r, col);
+ // Preferences > Cursor > Hide ring while stroking (#88): the dot and the symmetry dots stay.
+ const bool ring = !(uiPrefs_.hideRingWhileStroking && drag_ == Drag::Stroke);
+ surfaceCursorShown_ = uiPrefs_.cursorFollowsSurface && drawSurfaceCursor(dl, r, col, ring);
+ ringShown_ = ring;
if (!surfaceCursorShown_) {
- dl->AddCircle(c, r, col, 64, 1.5f);
- // The inner ring is Focal Shift, as in ZBrush: where the falloff drops to half.
- dl->AddCircle(c, r * focalRingFraction(focalShift_), IM_COL32(255, 255, 255, 90), 48, 1.0f);
+ if (ring) {
+ dl->AddCircle(c, r, col, 64, 1.5f);
+ // The inner ring is Focal Shift, as in ZBrush: where the falloff drops to half.
+ dl->AddCircle(c, r * focalRingFraction(focalShift_), IM_COL32(255, 255, 255, 90), 48, 1.0f);
+ } else {
+ dl->AddCircleFilled(c, 2.0f * uiScale_, col);
+ }
}
- if (strokeType_ == StrokeType::LazyMouse && drag_ == Drag::Stroke) {
- // The string from the cursor to the lagging brush point.
- const ImVec2 lp(lazyMouse_.point.x, lazyMouse_.point.y);
- dl->AddLine(c, lp, IM_COL32(255, 255, 255, 120), 1.0f);
- dl->AddCircleFilled(lp, 3.0f, col);
- }
+ drawPrecisionCursor(dl, c, r, col); // Steady Stroke's string, the precision drag, the size in mm (Precision.cpp)
}
} // namespace sf
diff --cc src/app/Input.cpp
index 6ba70440,b35bb825..77ac1e9b
--- a/src/app/Input.cpp
+++ b/src/app/Input.cpp
@@@ -88,34 -88,38 +88,62 @@@ void App::registerInputActions()
[this] { openQuickMenu(); }, [this] { return quickMenu_.open; });
// Stroke and colour.
- add("stroke.lazy", "Lazy Stroke", ICON_LC_SPLINE, "Stroke", "L",
- "Lazy Stroke on or off: the brush trails the cursor on a string, for steady lines.",
- [this] { strokeType_ = strokeType_ == StrokeType::LazyMouse ? StrokeType::Dots : StrokeType::LazyMouse; },
- [this] { return strokeType_ == StrokeType::LazyMouse; });
+ // (The id stays stroke.lazy so keys people set keep working; the Lazy Stroke type is Dots on the string.)
+ add("stroke.lazy", "Steady Stroke", ICON_LC_SPLINE, "Stroke", "L",
+ "Steady Stroke on or off, with every stroke type (Dots, Drag Stamp, Slide Stamp, Spray): the brush trails "
+ "the cursor on a string and only moves once the string is taut, for steady lines without hand shake.",
+ [this] {
+ if (strokeType_ == StrokeType::LazyMouse) { // the Lazy Stroke type is on: L turns the string off
+ strokeType_ = StrokeType::Dots;
+ steadyStroke_ = false;
+ } else {
+ steadyStroke_ = !steadyStroke_;
+ }
+ status_ = steadyOn() ? "Steady Stroke on" : "Steady Stroke off";
+ },
+ [this] { return steadyOn(); });
+ add("stroke.steady_catch_up", "Catch up on release", ICON_LC_SPLINE, "Stroke", "",
+ "Steady Stroke: when you let go, the line runs on to where the cursor is, instead of stopping a string's "
+ "length behind it.",
+ [this] { steadyCatchUp_ = !steadyCatchUp_; }, [this] { return steadyCatchUp_; });
+ add("brush.world_size", "World Size", ICON_LC_RULER, "Draw", "",
+ "Keep the brush size in model units (mm) instead of screen pixels: it stays the same on the surface as you "
+ "zoom in and out, for pores, wrinkles and trims of an exact width.",
+ [this] {
+ worldSize_ = !worldSize_;
+ worldSyncedPx_ = -1.0f; // the size as it is now becomes the world size
+ status_ = worldSize_ ? "World Size on: the brush keeps its size on the surface" : "World Size off";
+ },
+ [this] { return worldSize_; });
+ add("brush.size_down_fine", "Smaller brush by 1 px", ICON_LC_MINUS, "Draw", "Shift+[",
+ "Make the brush one pixel smaller (half a pixel below 2 px), down to 0.5 px.",
+ [this] { radiusPx_ = drawSizeStep(radiusPx_, -1, true); });
+ add("brush.size_up_fine", "Larger brush by 1 px", ICON_LC_PLUS, "Draw", "Shift+]",
+ "Make the brush one pixel larger (half a pixel below 2 px).", [this] { radiusPx_ = drawSizeStep(radiusPx_, 1, true); });
+ // One action per stroke type (U13): the Strokes radial menu (J) and the command palette pick them directly.
+ {
+ static const char* const keys[] = {"dots", "drag_stamp", "slide_stamp", "spray", "lazy"};
+ static const char* const glyphs[] = {ICON_LC_ELLIPSIS, ICON_LC_SQUARE_DASHED_MOUSE_POINTER, ICON_LC_MOUSE_POINTER_2,
+ ICON_LC_SPRAY_CAN, ICON_LC_SPLINE_POINTER};
+ static const char* const help[] = {
+ "Stroke type Dots: even dabs along the path, the classic brush stroke.",
+ "Stroke type Drag Stamp: click and drag one stamp; the drag sets its size and rotation.",
+ "Stroke type Slide Stamp: drag one stamp of the brush's Draw Size over the surface; it lands where you let go.",
+ "Stroke type Spray: scattered dabs of random size and strength, for organic texture.",
+ "Stroke type Lazy Stroke: the brush trails the cursor on a string, for smooth, steady lines.",
+ };
+ static_assert(std::size(keys) == size_t(StrokeType::Count));
+ for (int i = 0; i < int(StrokeType::Count); ++i) {
+ const StrokeType type = StrokeType(i);
+ const std::string id = std::string("stroke.type.") + keys[i];
+ add(id.c_str(), strokeTypeName(type), glyphs[i], "Stroke", "", help[i],
+ [this, type] {
+ strokeType_ = type;
+ status_ = std::string("Stroke: ") + strokeTypeName(type);
+ },
+ [this, type] { return strokeType_ == type; });
+ }
+ }
add("stroke.continuous", "Continuous", ICON_LC_REPEAT, "Stroke", "",
"Continuous on or off: while you hold the brush still on the model it keeps adding, 30 dabs a second "
"(build up a bump without moving). Not for Move, Tendril or the drag strokes.",