<h5 dir="auto">Description of the problem</h5>
<p dir="auto">This is a follow-up to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="596272790" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/19077" data-hovercard-type="issue" data-hovercard-url="/mrdoob/three.js/issues/19077/hovercard" href="https://github.com/mrdoob/three.js/issues/19077">#19077</a>. The following svg is rendered correctly in firefox, chrome, and android, but incorrectly in three.js.</p>
<p dir="auto"><a href="https://github.com/mrdoob/three.js/files/4461027/infinity.txt">infinity.txt</a></p>
<p dir="auto">Repro: <a href="https://jsfiddle.net/L3krx9ho/" rel="nofollow">https://jsfiddle.net/L3krx9ho/</a></p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r115</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Chrome 80.0.3987.149</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Firefox 74.0</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> macOS</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Linux</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Android</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> iOS</li>
</ul>
<h5 dir="auto">Description of the problem</h5>
<p dir="auto">I tried exporting the mesh using the latest version of <a href="https://github.com/mrdoob/three.js/blob/master/examples/js/exporters/GLTFExporter.js">GLTFExporter</a>.<br>
However, the size of the output model is larger than I thought.<br>
The size when exporting <code class="notranslate">scene.gltf</code> with the following sample is <code class="notranslate">928 KB</code>.</p>
<p dir="auto"><a href="http://jsdo.it/cx20/CYGM" rel="nofollow">three.js + GLTFExporter result:</a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1833979/51798272-9a6d6000-2253-11e9-834b-c5cd0462f169.png"><img src="https://user-images.githubusercontent.com/1833979/51798272-9a6d6000-2253-11e9-834b-c5cd0462f169.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">In this model, vertex colors are <em>not</em> used, but it seems that attributes of white vertex colors are generated in the output glTF file. Perhaps by excluding unused attributes I think that the size can be made even smaller.</p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Chrome</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Windows</li>
</ul>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
<p dir="auto">ThinkPad X260 + Intel HD Graphics 520</p>
<p dir="auto"><strong>Modified</strong>: Link of GLTFExporter was GLTFLoader, it was fixed.</p>