Open twojtasz opened 5 years ago
Set stroke_width_max_pixels
to 3
the artifact will go away. This needs some further investigation; the filtering tolerance in the PathLayer vertex shader should have filtered some of the segments out. My guess is the very small segment length + very small width interacted unexpectedly, maybe we are hitting the float precision limit?
Reported by @anita on slack. https://slack-files.com/TC45B521H-FP4HYSGEP-759518ea09
The issue can be observed using https://avs.auto/playground/index.html with the following.
For context, increasing the stroke_width_max_pixels to 1.4 can make the issue go away, as well as removing the point with the comment.
I was thinking numerical stability issue is one possibility, but we should be filtering points in the line to remove those in close proximity to avoid such issues. We do create a tessellation to control the width of the line, so it might be in that code?
Another options was to enable 64-bit projection in the internal deck.gl layer to see if that resolves the issue.
Metadata:
Frame: