feat: update max triangle limit to 750K and enhance triangle bounding radius calculations

This commit is contained in:
CNCKitchen
2026-04-03 09:18:44 +02:00
parent 7289c2cabc
commit 3c94df4504
5 changed files with 105 additions and 34 deletions
+2 -2
View File
@@ -328,8 +328,8 @@
</div>
<div class="form-row slider-row">
<label for="max-triangles" data-i18n="labels.outputTriangles" data-i18n-title="tooltips.outputTriangles" title="Mesh is fully subdivided first, then decimated down to this count">Output Triangles</label>
<input type="range" id="max-triangles" min="10000" max="20000000" step="10000" value="1000000" />
<span class="val" id="max-triangles-val">1.0 M</span>
<input type="range" id="max-triangles" min="10000" max="20000000" step="10000" value="750000" />
<span class="val" id="max-triangles-val">0.75 M</span>
</div>
<div id="tri-limit-warning" class="tri-limit-warning hidden" data-i18n="warnings.safetyCapHit">
⚠ 20M-triangle safety cap hit during subdivision — result may still be coarser than requested edge length.