Volume Ray Casting in BGE (blend included)
From the BlenderArtist forums:
I have been working on this for a quite a while, mostly trying to find a way to render back/front faces of an object in single pass and to extract volumetric data from 2D texture.
Now it has all been solved and here is the result. Now we can have medical imaging in BGE
i`ll just paste the text from my blog:
Hey, I got volumetric ray casting 2 to work in Blender Game Engine. The shader is fully done in GLSL, including front&back face calculation in single pass and 2D texture conversion to texture3D, so it should be reeaally easy to implement in every OpenGL supporting engine.
The blend. file is here: (this blend file is no longer avaliable from the original source, get it instead from my personal backup)
DOWNLOAD 6 (Warning! Crashes on ATI cards. debugging almost done… Thanks Mokazon!)
(note: disable mipmapping in Blender`s System settings, otherwise you will see some weirdness)
screenshots taken in BGE (click on the thumbnails to see them full-sized) :