-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Volume3d iso #3479
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
Volume3d iso #3479
Conversation
Nice! Could you elaborate on why you chose to not add a new trace type? |
@etpinard Thanks for the note. |
@archmoj this is really interesting, not that I've played with volumetric data very much but I don't think I've ever seen it presented quite like this. It seems like a very smooth and rich display. I'd be curious to get it in the hands of people who DO have real uses for it (@jackparmer is there anyone specific who's been asking for this?) to get some feedback. I guess looking at how it's constructed - seems like there is a series of isosurfaces, as well as some sort of surfaces throughout the rest of the volume though I can't quite tell what shapes they're making - I can see why you built this into I see you can still use It doesn't seem like there's any sense of depth order in this rendering, am I understanding that correctly? I can get a sense of where a feature is while rotating it, but if for example I set an orientation with one of the red blobs near the front and the other near the back, they look about the same. I know that's a long-standing issue with our 3D surfaces, but it really becomes prominent here. For all its problems, displaying a set of stacked planes seemed to do that reasonably well. Here's what I see if I set It seems like to first order what you see at any given pixel is the highest value along that ray, despite the fact that there is quite a lot of volume at lower values in the near-horizontal blob that's entirely in front of the more vertical blob. And it's not just because the near-horizontal one is a smaller volume, the same thing happens if I reverse their order. But that brings up another point, that I'm not sure this is accurately depicting how much volume is occupied by a given value; shouldn't the smaller-volume feature appear less opaque? That's true even if I reduce the |
Really just trying to keep up with ipyvolume: https://github.com/maartenbreddels/ipyvolume#volume-rendering |
Thanks @alexcjohnson for the great feedback. I would definitely try to keep those details in mind when we could rewrite new shaders for mesh3d. |
Also here is another prototype by implementing |
This new codepen is based on a new trace type: |
Now in #3488 |
Supersedes #2753

Volume-3d visualisation for Plotly.
Please use this demo to test it in your browser.
@plotly/plotly_js @jackparmer