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
test hw_micro_shade_budget: continuous normals first (draft mode is the default)
islandmedffa2c2558f18
diff --git a/tests/test_hardware_profile.cpp b/tests/test_hardware_profile.cppindex cbf91096..c2bf0f35 100644--- a/tests/test_hardware_profile.cpp+++ b/tests/test_hardware_profile.cpp@@ -693,6 +693,7 @@ TEST(hw_micro_shade_budget) {// A micro level's shading per frame: still frames all of the points; strokes and a moving view 10 ms of them.TierConfig t;t.shadeBudgetPoints = 1u << 20;+ t.draftBrushMode = false; // continuous normalsCHECK(microShadeBudget(t, false, false, 30.0, 300) == (1u << 20)); // still: the points (nothing waits)CHECK(microShadeBudget(t, false, true, 30.0, 300) == 333333); // orbit: 10 ms at 30 ns a pointCHECK(microShadeBudget(t, true, false, 30.0, 300) == 333333); // stroke: the same