Volumetric Rendering
Simple Volume Rendering

volume.png

 

In this model, an OpenCL kernel writes the results of a volume rendering algorithm into the framebuffer which OpenCL Studio explicitly displays on the screen. The voxels are read from a .DAT volumetric data file and stored in an OpenCL 3D image object. This demo also includes an interface to experiment with different thresholds and transfer functions. Depending on the size of the 3D view in the editor this model runs between 19 and 40 fps on a GeForce 8800GT.