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.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
Draft brushes only on battery and in the Software profile, not on every Laptop-tier machine
islandmed2c6f00cc66b4
diff --git a/docs/guide/performance.md b/docs/guide/performance.mdindex 25d1b4db..72906a06 100644--- a/docs/guide/performance.md+++ b/docs/guide/performance.md@@ -56,7 +56,7 @@ There are two main profiles and a safe mode:| Profile | For | What changes ||---|---|---|-| **Laptop / Budget** | laptops and most desktops: 8-32 GB of memory, a 2-8 GB graphics card, most Apple Silicon Macs | a moderate number of triangles drawn while the view moves; brushes update shading when you lift the pen (draft brushes) |+| **Laptop / Budget** | laptops and most desktops: 8-32 GB of memory, a 2-8 GB graphics card, most Apple Silicon Macs | a moderate number of triangles drawn while the view moves; brushes shade continuously on mains power || **Workstation** | 64 GB of memory or more, and a graphics card with 16 GB or more or an Apple Silicon Max / Ultra (or another chip whose graphics share the memory) that measures as fast | more triangles drawn per frame, larger textures and subdivision limits, shading updated with every dab || **Software** (safe mode) | no graphics driver, so the drawing happens on the processor (llvmpipe) | the lightest settings, no antialiasing |diff --git a/docs/performance.md b/docs/performance.mdindex 3d2d1a93..27558221 100644--- a/docs/performance.md+++ b/docs/performance.md@@ -297,7 +297,7 @@ changes when it does):| `residentCacheCapMB` | RAM / 8, at most 1 GB | RAM / 4, at most 4 GB | RAM x 2/5, at most 64 GB || `activeTriangleBudget` | 0.5M | 2M | 8M+ (half the render budget, at most 64M) || `uploadBudgetMBPerFrame` | the profile's | the profile's | the profile's |-| `draftBrushMode` (normals and cavity at pen release) | on | on | off (continuous) |+| `draftBrushMode` (normals and cavity at pen release) | on | off (on battery: on) | off (on battery: on) || `zeroCopyUMA` | the GPU shares system memory: unified or integrated, in any tier (a 64 GB+ Apple Silicon Workstation too) | | || `targetHz` | 60 | 60 / 120 / 144 from the display | 60 / 120 / 144 from the display |diff --git a/src/core/TierConfig.cpp b/src/core/TierConfig.cppindex e38d2112..5bb403d6 100644--- a/src/core/TierConfig.cpp+++ b/src/core/TierConfig.cpp@@ -45,7 +45,9 @@ TierConfig tierConfigFor(const HardwareProfile& p, PowerSource power, int displa}c.uploadBudgetMBPerFrame = std::max<uint64_t>(s.uploadBudgetMBPerFrame, 4);c.zeroCopyUMA = p.hardware.gpuKind == GpuKind::Unified || p.hardware.gpuKind == GpuKind::Integrated;- c.draftBrushMode = p.tier != ProfileTier::Workstation;+ // Draft brushes only where they save work: Software, and on battery (below). Measured on a Laptop-tier M1 Pro at+ // 33M they were no faster (frames are GPU-bound) and the last dab landed later after release.+ c.draftBrushMode = p.tier == ProfileTier::Software;c.targetHz = p.overrides.targetFps ? p.overrides.targetFps : targetHzForDisplay(displayHz);if (p.tier == ProfileTier::Software) c.targetHz = std::min(c.targetHz, 60);if (c.onBattery()) {diff --git a/tests/test_hardware_profile.cpp b/tests/test_hardware_profile.cppindex d75e340d..b6b64fe1 100644--- a/tests/test_hardware_profile.cpp+++ b/tests/test_hardware_profile.cpp@@ -382,7 +382,7 @@ TEST(hw_calibration_json_schema) {CHECK(parsed["schema"].asString() == kCalibrationSchema);CHECK(parsed["profile"].asString() == "Laptop");CHECK(parsed["tier_config"]["zero_copy_uma"].asBool());- CHECK(parsed["tier_config"]["draft_brush_mode"].asBool());+ CHECK(!parsed["tier_config"]["draft_brush_mode"].asBool()); // draft brushes only on battery or SoftwareCHECK(parsed["hardware"]["gpu_kind"].asString() == "unified");CHECK(parsed["settings"]["render_triangle_budget"].asNumber() > 0);CHECK(!parsed["network"].asBool());@@ -679,12 +679,12 @@ TEST(governor_target_120) {}TEST(hw_tier_config) {- // Laptop / Budget: 2M active triangles, draft brushes, a quarter of the RAM for caches.+ // Laptop / Budget: 2M active triangles, continuous brushes on mains, a quarter of the RAM for caches.const HardwareProfile laptop = mapProfile(machine("Intel", "Mesa Intel(R) Xe Graphics (TGL GT2)", 0, 16384, 8), measured(400.0, 4.0));TierConfig c = tierConfigFor(laptop, PowerSource::AC, 60);CHECK(c.tier == ProfileTier::Laptop);CHECK(c.activeTriangleBudget == 2'000'000);- CHECK(c.draftBrushMode);+ CHECK(!c.draftBrushMode);CHECK(c.residentCacheCapMB == 4096);CHECK(c.zeroCopyUMA); // an integrated GPU shares the memoryCHECK(c.targetHz == 60);