Closed JuanCab closed 6 years ago
What browser are you using? I think this would be a relevant issue: https://github.com/mrdoob/three.js/issues/10357
Yep, it’s chrome and thus I hit that Bug. Apparently the fix someone worked out has not yet been incorprosated into three.js
I'm in the process of updating to r97 of three, and decided to include the example code for thick lines that was released with r96 (I think). It should be usable from the next release.
So, I have been playing with sketching curves on a 3D surface using the following snippet
Turns out regardless of the
linewidth
value I set for thep3j.LineBasicMaterial
, it always seems to come up with a width of 1. There is documentation in the three.js website forLineBasicMaterial
that there is a known OpenGL Windows bug that works like this, but I am doing this on a macOS machine. Is theline width
trait being ignored?