From 640e01262faa66f4d4ff40de42e9bc71d905c88d Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Thu, 30 Nov 2023 20:40:02 -0600 Subject: [PATCH] Make `SloppyOptimization` false by default. `Lower LODTargetErro`r default. --- Source/Engine/Tools/ModelTool/ModelTool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Tools/ModelTool/ModelTool.h b/Source/Engine/Tools/ModelTool/ModelTool.h index ac8cb231f..3c066cabb 100644 --- a/Source/Engine/Tools/ModelTool/ModelTool.h +++ b/Source/Engine/Tools/ModelTool/ModelTool.h @@ -335,10 +335,10 @@ public: float TriangleReduction = 0.5f; // Whether to do a sloppy mesh optimization. This is faster but does not follow the topology of the original mesh. API_FIELD(Attributes="EditorOrder(1140), EditorDisplay(\"Level Of Detail\"), VisibleIf(nameof(ShowGeometry))") - bool SloppyOptimization = true; + bool SloppyOptimization = false; // Only used if Sloppy is false. Target error is an approximate measure of the deviation from the original mesh using distance normalized to [0..1] range (e.g. 1e-2f means that simplifier will try to maintain the error to be below 1% of the mesh extents). API_FIELD(Attributes="EditorOrder(1150), EditorDisplay(\"Level Of Detail\"), VisibleIf(nameof(SloppyOptimization), true), Limit(0.01f, 1, 0.001f)") - float LODTargetError = 0.1f; + float LODTargetError = 0.05f; public: // Materials