lume / three-meshline

Mesh-based replacement for `THREE.Line` to allow lines thicker than 1 pixel and other features.
https://docs.lume.io/three-meshline/
MIT License
42 stars 4 forks source link

Inconsistent line thickness #9

Open bryaan opened 1 year ago

bryaan commented 1 year ago

I am getting uneven width lines when using px thickness for the line. Why doesn't it have consistent widths?

image
trusktr commented 11 months ago

@bryaan Sorry for such late reply. Btw, if you join the Discord, that's a much quick way to ping!

I believe it is the issue described here:

We need to implement line join algos. F.e. like in these images:

svg2_join sphx_glr_joinstyle_001

As a workaround, you could generate an two points for those sharp points. That's annoying though, it would be so nice to have better joins!