Skip to content
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

SubsurfaceViewer: pickingRadius not working with overlapping layers #2320

Open
rubenthoms opened this issue Oct 16, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@rubenthoms
Copy link
Collaborator

rubenthoms commented Oct 16, 2024

I tested the pickingRadius prop from deck.gl with the WellsLayer and it is working nicely as long as there is only one layer under the cursor. As soon as multiple layers are overlapping at the cursor's position, the pickingRadius gets completely ignored. I have so far only tested with a WellsLayer on top of either a MapLayer, ColormapLayer or a Grid3DLayer.

Moreover, there seems to be an issue with Picking and pickingRadius. Whenever I approach a wellbore with the cursor and get into the pickingRadius there is no picking information provided anymore. I still get the tooltip but no readout. As soon as I enter the actual wellbore path, the picking information is showing up again.

Both issues can be reproduced by looking at:
https://equinor.github.io/webviz-subsurface-components/storybook-static/?path=/story/subsurfaceviewer-wells-layer--volve-wells&args=pickingRadius:10

For the first one, you can for instance add the MapLayer from the Map Layer 2 D example:
Image

I am wondering if these are issues on our side or if I should report this in the deck.gl repo. I would appreciate hearing your thoughts on this matter, @hkfb @w1nklr @nilscb.

@rubenthoms rubenthoms added the bug Something isn't working label Oct 16, 2024
@rubenthoms rubenthoms self-assigned this Oct 16, 2024
@github-project-automation github-project-automation bot moved this to Backlog 📝 in Webviz Oct 16, 2024
@w1nklr
Copy link
Collaborator

w1nklr commented Oct 18, 2024

Thanks for the feedback. I tried and can reproduce both issues.
Note that using an axes2D layer has no impact on the first issue.

I'll try to find some time to investigate to check where the issues are coming from...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog 📝
Development

No branches or pull requests

2 participants