Volume ray casting

I want to make a renderer that can visualize 3D medical data. An idea is to use volume ray casting and take advantage of the parallelizm of CUDA. I guess that the algorithm itself is not that hard to implement, but how do I visualize the result? If I for example save the result in an array, how do I connect that to a display, where I can rotate the volume? I guess that an OpenGL connection of some kind would be useful.

There’s a simple volume rendering example included in the SDK. You can take a look at that for some ideas.

Yeah seems like they use ray marching which I think is the same as ray casting :) I’ll see if I can add a clip plane…