feat: add cap angle control for cylindrical mapping and update UV calculations

This commit is contained in:
CNCKitchen
2026-03-28 16:00:17 +01:00
parent b0d25f4006
commit a41b500bf2
4 changed files with 118 additions and 27 deletions
+5
View File
@@ -147,6 +147,11 @@
<input type="range" id="seam-band-width" min="0" max="1" step="0.01" value="0.5" />
<input type="number" class="val" id="seam-band-width-val" value="0.5" min="0" max="1" step="0.01" />
</div>
<div class="form-row slider-row" id="cap-angle-row" style="display:none">
<label for="cap-angle" title="Angle (in degrees) from vertical at which the top/bottom cap projection kicks in. Smaller values limit cap projection to nearly flat faces.">Cap Angle ⓘ</label>
<input type="range" id="cap-angle" min="1" max="89" step="1" value="20" />
<input type="number" class="val" id="cap-angle-val" value="20" min="1" max="89" step="1" />
</div>
</section>
<!-- Displacement -->