You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the volume rendering often produces strange gaps, almost like there are z-slices missing from datasets (example pictures below). There are definitely no 'missing parts' to the data, and it looks fine in other 3D volume renderers, like the Fiji/ImageJ 3D volume viewer.
I wansn't able to reproduce this behaviour with the aquarius dataset, or when using volshow with a smaller cubic shaped piece of the data in the pictures below. My suspicion is that it's something to do with the shape of the data (101, 206, 250) and that perhaps _cube_to_tiles doesn't handle joining tiles in z very well?
The text was updated successfully, but these errors were encountered:
I'm afraid this is a bug in the shader implementation of floor/ceil etc. I've spend some time on this, and I think the best way forward would be to go for WebGL2, losing iOS/Safari support.
My suspicion is that it's something to do with the shape of the data (101, 206, 250)
I looked for the effect of fixing the sizes to certain factors. In my case, fixing the size of each dimension to be an integer multiple of 16, removes the gaps. See the images, twice the same plane of identical data, once sampled at shape (76, 146), with gap artefacts, and once sampled at shape (80, 160), without the gap artefacts.
plotly has an interesting approach to volume rendering where they use several transparent isosurfaces to create the volume feel.
I find it actually works very well and seems to be mostly free from the artifacts such as the above example that are often seen in volume renderings. It seems that transparent surfaces are obtainable in ipyvolume (see #56 ).
However, having many transparent isosurfaces might cause a drop in performance, compared to the default volume rendering? I have not had the chance to try and plot 20 isosurfaces, yet.
I've noticed that the volume rendering often produces strange gaps, almost like there are z-slices missing from datasets (example pictures below). There are definitely no 'missing parts' to the data, and it looks fine in other 3D volume renderers, like the Fiji/ImageJ 3D volume viewer.
I wansn't able to reproduce this behaviour with the aquarius dataset, or when using volshow with a smaller cubic shaped piece of the data in the pictures below. My suspicion is that it's something to do with the shape of the data (101, 206, 250) and that perhaps
_cube_to_tiles
doesn't handle joining tiles in z very well?The text was updated successfully, but these errors were encountered: