Jaume Sanchez
Jaume Sanchez
Check https://github.com/spite/THREE.MeshLine/blob/master/demo/js/main-spinner.js#L223, you have to call .setGeometry again when you change your vertices. THREE.MeshLine needs to run some operations on your geometry.
No, MeshLine doesn't support round join. It could, by adding more geometry where necessary, but it's a bit outside of the scope of the library. Also, note that the shadertoy...
I´m not sure you understand the idea behind instancing. It's useful to render multiple instances of the same mesh. If you want multiple lines, with different point values, there's really...
If all the lines have the same number of vertices, it could make sense. Right now, as an alternative, adding some kind of segmentation in a big single geometry rather...
That's very useful, but it doesn't really remove the need for resolution, since I'm using it in the following line I'm using it to calculate the size of 1px on...
Good idea! Basically is adding the attributes for it, and reading it from the shader. I might take a look at it in a few weeks, or someone can take...
I've just realised I've replied essentially the same in https://github.com/spite/THREE.MeshLine/issues/34. Keep tuned :/
I don't use the module version. Back when i built that package, I checked with some people that if it was working as expected. If you can figure out what...
I'm sorry, I'm not really following. By line tapering you mean attenuated with distance, like it's thinner the farther it is?
Set the material's sizeAttenuation value to true