I have been able to convert and import 3D MRI brain image in Blender 3.2.2 using OpenVDB format. The result is a volume grid. Now, I would like to be able to use this volume grid (in fixed world coordinates) to make the texture of a mesh in order to see slices of my MRI volume. My goal is to create a scene similar to this one and have the possibility to animate the various planes (i.e. move them in any position).
I tried to find a solution via the creation of a shader for the mesh but failed to make the appropriate link to the volume grid values. Can anybody help me to find the right way to do that with Blender ?
Edited on august 31, 2022:
I managed to do that in old blender version using voxel data (that was years ago) : https://www.youtube.com/watch?v=BhF4tLVme2w.
But AFAIK, there is no more voxel data in Blender. I thought they could be replaced by volume grid. I created a sample volume grid and ideally I would like to create a shader that would use that cubes to color the plane. In the following figure, the mesh texture would display a square.
As suggested in another post, I could use a 2D texture but it is a rather complex solution requirering (if I understand well) to create a new shader for each volume image geometry (voxel size, origin, etc.).