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
Make sculptable keeps the legacy QRemesh for now: on x86 QRemesh 2 flattened part of the test mug's thin handle (Linux CI failed sculptable_texture_and_levels)
islandmedf1e674ff72d5
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 0e71e7ad..4d270eff 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -53,6 +53,7 @@ All notable changes to SculptForge are listed here. The format follows`SF_BENCH_LIMITS=1` times 1.3M / 5.2M / 21M-triangle sculpts with their peak memory.### Changed+- Make sculptable still remeshes with the legacy method for now (QRemesh 2 flattened part of a thin handle on x86).- The 0.9 QRemesh is kept as **Method > Legacy** (`qremesh method=legacy`). Closed QRemesh Guide loops (round aneye, or across the symmetry plane) still use it for that piece for now, and a piece QRemesh 2 can't do cleanlyfalls back to it; the status line says so.diff --git a/src/core/Sculptable.cpp b/src/core/Sculptable.cppindex a2242692..49a3a557 100644--- a/src/core/Sculptable.cpp+++ b/src/core/Sculptable.cpp@@ -1344,6 +1344,8 @@ bool finishSculptable(const SplatCloud& cloud, const SculptableOptions& o, Sculpq.targetQuads = std::clamp(o.targetQuads, 16, 2'000'000);q.adaptive = std::clamp(o.adaptive, 0.0f, 1.0f);q.seed = o.seed;+ // The legacy method for now: on x86 QRemesh 2 flattened part of the test mug's thin handle (0.10.2 CI).+ q.method = QRemeshMethod::Legacy;q.guides = res.guides;if (o.symmetry) {// The world axis along the face's right (QRemesh mirrors across world axes); none if it is tilted.diff --git a/tests/test_sculptable.cpp b/tests/test_sculptable.cppindex cd277cab..13d0b825 100644--- a/tests/test_sculptable.cpp+++ b/tests/test_sculptable.cpp@@ -381,11 +381,7 @@ TEST(sculptable_texture_and_levels) {if (p.x < 0.85f || std::abs(p.y) > 0.2f) continue;++handle;const glm::vec3 c = linearToSrgb(sampleTextureAt(d.mesh, t, p));- const bool isOrange = c.x > 0.75f && c.y > 0.35f && c.y < 0.75f && c.z < 0.3f;- orange += isOrange;- if (!isOrange && handle - orange <= 6)- std::printf(" handle sample not orange: tri %u at (%.3f %.3f %.3f) colour (%.3f %.3f %.3f)\n", t, p.x, p.y, p.z,- c.x, c.y, c.z);+ orange += c.x > 0.75f && c.y > 0.35f && c.y < 0.75f && c.z < 0.3f;}std::printf(" handle samples %zu, orange %zu\n", handle, orange);CHECK(handle > 10 && orange * 10 >= handle * 8);