THREE.MeshLine
THREE.MeshLine copied to clipboard
Feature request: Line segments
Would it be possible to implement lines with disconnected segments? I read this article about Instanced lines doing this. I wonder if we could reduce drawcalls for example when drawing complex svg shapes. I guess it have to move away from triangle-strips. Maybe it's better with a totally separate solution for multiple line segments, but anyway, it would be awesome to have an alternative in three.js
How has nobody replied to this yet? This repo has 1.4k stars!
I don't know. May be because stars can't type, who knows. I don't see how having a number of stars changes the fact that the repo has one and a half maintainers.
Anyway, here's a reply: yes, it would be possible, anything is possible. Is someone going to do it for you? Probably not. But feel free to build on it and submit a PR. Alternatively, you could also use the dashArray to simulate line segments.