It seems it’s not possible to add vertices to a geometry after it’s been added to a scene – or am I doing something wrong?
Here is a simple codepen to illustrate my approach.
geometry.vertices.push(new THREE.Vector3(x, y, z)); geometry.verticesNeedUpdate = true;
However the documentation for Geometry makes it sound like, since they store information directly, they are easier to update than BufferGeometries…? And
.verticesNeedUpdate exists, which seems to indicate that, well, vertices can be updated?
What am I missing here? (if Geometries can’t be updated, I can’t think of a scenario where they’d be preferable over BGs?)