spite / THREE.MeshLine

Mesh replacement for THREE.Line
MIT License
2.18k stars 380 forks source link

Adding vertices dynamically - possible? #2

Open makc opened 8 years ago

spite commented 8 years ago

That's one of the to-dos. For now, modify the original vertices array and call .setGeometry() again. The idea in the future is make the process method to reuse as many values as possible.

qvantor commented 8 years ago

It's a realy big issue

amirmohsen commented 7 years ago

@spite it would be useful to add this shortcoming (and the temporary solution) to the readme. I wasted a lot of time pulling my hair out trying to figure this out and was starting to think that there was something wrong with three.js as verticesNeedUpdate wasn't working.

kschaer commented 6 years ago

Any update to if we can call verticesNeedUpdate as usual? Just wondering!