|
@@ -20,7 +20,6 @@
|
|
|
<label><input id="option_visible" name="visible" type="checkbox" checked="checked"/>Only Visible</label>
|
|
|
<label><input id="option_drawrange" name="visible" type="checkbox" checked="checked"/>Truncate drawRange</label><br/>
|
|
|
<label><input id="option_binary" name="visible" type="checkbox">Binary (<code>.glb</code>)</label>
|
|
|
- <label><input id="option_forcepot" name="visible" type="checkbox">Force POT textures</label>
|
|
|
<label><input id="option_maxsize" name="maxSize" type="number" value="4096" min="2" max="8192" step="1"> Max texture size</label>
|
|
|
</div>
|
|
|
|
|
@@ -40,7 +39,6 @@
|
|
|
onlyVisible: document.getElementById( 'option_visible' ).checked,
|
|
|
truncateDrawRange: document.getElementById( 'option_drawrange' ).checked,
|
|
|
binary: document.getElementById( 'option_binary' ).checked,
|
|
|
- forcePowerOfTwoTextures: document.getElementById( 'option_forcepot' ).checked,
|
|
|
maxTextureSize: Number( document.getElementById( 'option_maxsize' ).value ) || Infinity // To prevent NaN value
|
|
|
};
|
|
|
gltfExporter.parse( input, function ( result ) {
|