-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to tesselated fill rendering with earcut #1606
Conversation
The fill-pattern/zoomed test looks very good actually, and there is definitely something fishy about the diff algorithm. Should we add it to ignore list @jfirebaugh? Otherwise the PR looks great. |
We should update the expected rendering for all of the fill tests. |
@jfirebaugh @mourner Great work! Do you have an estimate on how long it will be until this can land in a release? It resolves #930, which is blocking a client of ours. |
The blocker for adopting earcut is getting confidence that the tessellation is good enough. This is a function of both the quality of our vector tile generation pipeline, and the robustness of earcut itself, and myself, @mourner, @lbud, @flippmoke, and @springmeyer are all pushing on this at the moment. We should have a better estimation next week. |
Rebased this on |
@lucaswoj Looks like |
1966b72
to
494bb19
Compare
Ok. Force pushed here and deleted |
@lucaswoj let's rebase on master to make sure it's in mergeable state |
494bb19
to
1196beb
Compare
47d8795
to
0a7ad6a
Compare
We can close #930 when this lands |
0a7ad6a
to
d1a4241
Compare
dfab873
to
da1bd60
Compare
Do you have a fresh estimate on when this could be merged? I'm making heavy use of fill-layers and this branch is much more performant than |
fe743fe
to
094b35f
Compare
} else { | ||
console.log({bad: '@@GOOD@@', zoom: this.zoom, length: layer.length, coord: this.coord}); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you commit this unintentionally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mourner Intentionally (though perhaps not not in good practice). I was debugging some serverside problems with @springmeyer.
e92d52e
to
a0052d0
Compare
This is ready to ship pending
|
Let's eliminate |
@jfirebaugh yep, done. |
The test failed because of some really weird Git/NPM issue — tried rebuilding without cache and it still failed with some "git bad object" errors. Not sure whether this is something temporary or broken in one of the subdeps. |
Ah, it failed because the test suite ref it pointed to no longer exists for some reason. |
OK, rebased again with updated test-suite and it passes. |
👍 🚢 🎉 |
\o/ Thank you everyone!! |
A fresh recut of #948. Had to squish into one commit because all previous branches were a big mess. cc @jfirebaugh @ansis @kkaefer
fixes #2269
fixes #682