For example, how to turn this demo to fat line version?
I tried examples/Line2 and examples/WireFrame but all failed.
And seems examples/LineSegments2 is very different from src/LineSegments, so can not be used directly.
For example, how to turn this demo to fat line version?
I tried examples/Line2 and examples/WireFrame but all failed.
And seems examples/LineSegments2 is very different from src/LineSegments, so can not be used directly.
Do you know these examples from the Collection of examples from discourse.threejs.org ?
FatLineEdges 2020

eXtended eXamples 2019:


If you don’t want to use the setPositions function on LineSegments2 you can use the LineSegmentsGeometry.fromLineSegments function to convert your existing object to thick lines.
It seems this a non-indexed geometry. So it is necessary to convert the indexed geometry to a triangle soup via BufferGeometry.toNonIndexed().