I am new to OpenGL and I am trying to implement a texture based volume rendering using python and OpenGL.
I was successful in loading the data file and displaying the 3D volume using OpenGL 3d texture. I applied blending with depth test. Textures are loaded back to front. I added some basic mouse callbacks. Up until this point everything looks good. When I rotate the volume and I got to the 90 degrees angle where the textures are parallel to each other, I start seeing the edges of the slices. I know that this is the expected behavior since there isn’t enough data for blending to work. but I was wondering if there is a way to workaround this issue.
I uploaded the code this link:
https://github.com/ricardoassaad/3d_viewer
the data file is:
https://klacansky.com/open-scivis-datasets/engine/engine_256x256x128_uint8.raw
Thanks in advance