Hi, I’m working with 3d voxels data and want to use volume function from GLMakie.
I noticed that visualized volume is kind of smoothed/averaged. For example, code for one voxel inside cube is:
I tried different arguments and cant figure out how to make plot as one sharp voxel inside cube.
So my question is there way to make it sharp?
Thank you!!!
@ juliohm and sdanisch thanks for answering! May be my description was unclear. I dont need only voxel (cube) it was just minimal toy example. In reality volume will be with high number of voxels and different intensity of each voxel, CT like images. More real example:
But on more real volume is harder to explaing smoothing effect.
Anyway, just out of curisity as I understend clear MIP algorithm should not provide such smoothing effect or I’m wrong?
We are calling Makie.meshscatter in the 3D case. You can also try to convert the grid into a simple mesh with convert(SimpleMesh, grid) before plotting and that will call the Makie.mesh recipe instead.