<p dir="auto">when added into the vertices PointCloud new vertices,<br>
adding occurs,<br>
because: in function setParticleBuffers<br>
When copying in vertexArray of vertices,<br>
not all vertices are copied,<br>
because:<br>
vertexArray declared as Float32Array and Float32Array does not resize<br>
so I suggest:<br>
in function setParticleBuffers when length of vertices not equal number of vertices in PointCloud<br>
re-create all the necessary Float32Array<br>
, and to make such changes</p>
<p dir="auto">function setParticleBuffers(geometry, hint, object) {<br>
"+" if (geometry.__webglParticleCount !== geometry.vertices.length)<br>
"+"     initParticleBuffers(geometry, object);<br>
var v, c, vertex, offset, color,</p>
<h5 dir="auto">Description of the problem</h5>
<p dir="auto">This form is for three.js bug reports and feature requests only.</p>
<p dir="auto">This is NOT a help site. Do not ask help questions here.<br>
If you need help, please use the <a href="https://discourse.threejs.org/" rel="nofollow">forum</a> or <a href="http://stackoverflow.com/questions/tagged/three.js" rel="nofollow">stackoverflow</a>.</p>
<p dir="auto">Describe the bug or feature request in detail.</p>
<p dir="auto"><strong>Are there any plans to port the three.js library to WebGL 2.0?</strong></p>
<p dir="auto">Always include a code snippet, screenshots, and any relevant models or textures to help us understand your issue.</p>
<p dir="auto">Please also include a live example if possible. You can start from these templates:</p>
<ul dir="auto">
<li><a href="https://jsfiddle.net/3foLr7sn/" rel="nofollow">jsfiddle</a> (latest release branch)</li>
<li><a href="https://jsfiddle.net/qgu17w5o/" rel="nofollow">jsfiddle</a> (dev branch)</li>
<li><a href="https://codepen.io/anon/pen/aEBKxR" rel="nofollow">codepen</a> (latest release branch)</li>
<li><a href="https://codepen.io/anon/pen/BJWzaN" rel="nofollow">codepen</a> (dev branch)</li>
</ul>
<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"> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r97</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</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=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</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" checked=""> 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"> Linux</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> iOS</li>
</ul>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
<p dir="auto"><strong>Are there any plans to port the three.js library to WebGL 2.0?</strong></p>