mirror of
https://github.com/CNCKitchen/stlTexturizer.git
synced 2026-04-07 22:11:32 +00:00
feat: add texture smoothing feature and update translations for UI consistency
This commit is contained in:
+6
-1
@@ -121,6 +121,11 @@
|
||||
</label>
|
||||
<input type="file" id="texture-file-input" accept="image/*" hidden />
|
||||
<div id="active-map-name" class="active-map-name" data-i18n="ui.noMapSelected">No map selected</div>
|
||||
<div class="form-row slider-row">
|
||||
<label for="texture-smoothing" data-i18n="labels.textureSmoothing" data-i18n-title="tooltips.textureSmoothing" title="Applies a Gaussian blur to the displacement map. Higher values produce softer, more gradual surface detail. 0 = off.">Texture Smoothing ⓘ</label>
|
||||
<input type="range" id="texture-smoothing" min="0" max="20" step="any" value="0" />
|
||||
<input type="number" class="val" id="texture-smoothing-val" value="0" min="0" max="20" step="any" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Projection -->
|
||||
@@ -144,7 +149,7 @@
|
||||
<input type="number" class="val" id="seam-blend-val" value="1" min="0" max="1" step="0.01" />
|
||||
</div>
|
||||
<div class="form-row slider-row">
|
||||
<label for="seam-band-width" data-i18n="labels.smoothing" data-i18n-title="tooltips.smoothing" title="Width of the blending zone near seam edges. Lower values keep transitions tight to the seam; higher values blend a wider band.">Smoothing ⓘ</label>
|
||||
<label for="seam-band-width" data-i18n="labels.transitionSmoothing" data-i18n-title="tooltips.transitionSmoothing" title="Width of the blending zone near seam edges. Lower values keep transitions tight to the seam; higher values blend a wider band.">Transition Smoothing ⓘ</label>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user