-
Notifications
You must be signed in to change notification settings - Fork 2.2k
HeatmapLayer for v9 #8380
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
HeatmapLayer for v9 #8380
Conversation
|
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
This comment was marked as outdated.
This comment was marked as outdated.
|
@felixpalmer I requested a review here, but as you'll see I have a lot of TODOs and questions scattered through the code, it's not a working PR yet. I'm hoping it might be helpful to talk through some of this code tomorrow – I'll schedule some time if that's ok! |
1246eba to
48f1772
Compare
f6953b4 to
7baee18
Compare
26fe264 to
20ea7ae
Compare
ibgreen
left a comment
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.
OK I have done a first readthrough of this heatmap PR, there is a lot going on and hard to spot issues in a review. I’ll come back to it later, but initial comments
- My instinct would be be to divide and conquer, i.e. break out the transforms into separate functions or even better into separate files and try to unit test them separately.
- Your debug tools (buffer reads, framebuffer dumps etc) are good we should make sure they are available from luma.gl, though we could create a debug folder in deck.gl/core for now. And we should figure out how to make the luma spector support work out of the box.
- Ideally we should clean up all the debug enabling code from this PR, there is a lot of commented out code etc.
|
@ibgreen thanks for your review! In the current state of the PR, nothing is being drawn to framebuffers — so all code here is intended to flush out errors rather than to be mergeable code. That's also why I've hidden Some further updates, thanks to your recent debugger tooling additions! No action or response required on any of this, just sharing my debugging notes — I've noticed that the Stepping into the debugger, the missing lines for the second model are indeed empty objects, The second time the gpu grid aggregator draws (e.g. on a zoom event), the It still doesn't produce output, but this is probably helpful to know while debugging. It's also interesting that |
20ea7ae to
60173ad
Compare
| sampler: { | ||
| minFilter: 'nearest', | ||
| magFilter: 'nearest', | ||
| minFilter: 'linear', |
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.
In v8, these are also LINEAR. This PR introduced the regression
|
Huge thanks to @felixpalmer for debugging and getting this rendering again! |



So far, this PR resolves a number of runtime and compile-time errors in HeatmapLayer and its dependencies. The layer still does not render, but also doesn't log errors that appear serious. Feels like a good state to share WIP here and discuss.
Dependencies: