Tutorials

Sections

j3d.org

Java 3D Volume Rendering

Sourced from java3d-interest list. Posted by of Sun

Here is the program and data files for a Java3D Volume Rendering demo. The program shows several different volume rendering algorithms and the data files show how these algorithms work on medical and siesmic data.

The program and some basic data files are in VolRend.zip:

Note that the 3D texture mapping cases will be dependent on your hardware. Sun workstations and the latest generation of PC graphics cards do support it, but previous generations are spotty. See the README for more information.

Volume Rendering is an intense user of CPU and graphics resources. There are small test files in the above demo application, so try those out first.
CThead.zip
 CThead.volCT scan of human head, 256x256x113, 16 bit data
 CThead.vrsCThead.vol, intensity map, initial view
MRbrain.zip
 MRbrain.volMR of human head with skull removed, 256x256x109, 16 bit
 MRbrain.vrsMRbrain.vol, intensity map, initial view
 MRslice.vrsA 3D texture mapped "slice" through MRbrain.vol
Segy.zip
 segy256.volOil and Gas dataset from Segy file, 256x256x256, 8 bit
 segy.vrsSegy Oil and Gas dataset, segy256.vol
SegySmall.zip
 segy128.volSmaller version of segy256.vol, 128x128x128, 8 bit
 segySmall.vrsSmaller version of segy.vrs, segy128.vol
On Solaris, you will need an Elite3D for the larger data files. Be sure to get the latest version of OpenGL and set the environment variable AFB_IMM_TEXTURE to set the best performance (you should see the message "ogl_afb: accelerate texture in immediate mode" mixed in with the output from the program).

I'm interested in hearing how well this program runs on PC graphics cards. Please drop me a line at if you find a PC card which can run these pretty well.