DOWNLOAD![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() art as featured in siggraph 2004 art gallery caltech's espiritu 2004 art exhibit |
VoV v.0.3
VoV, Volume Visualizer v.0.3 is an easy, quick, interface for the VolumePro 1000 volume rendering card, by TeraRecon. It uses GTK and OpenGL for the interface. It has been originally compiled and tested under Windows 2000. VoV also offers a windowless mode, which allows for easy batch processing from a command line, or under a cluster through the issue of remote commands (using rsh or ssh). DOWNLOAD: source [TAR.GZ: 74KB] DOWNLOAD: win2k binary [ZIP: 91KB] (dll key // sample data, bulb.vox, courtesy or terarecon // requires GTK and PANGO dlls). INDEX .) opening data :) main window .:) colormap window .:) properties window ::) saving environment .::) windowless mode :::) future work .) opening data The VOX format is the standard vox1000 as supported by the VolumePro. (See voxel file formal specs. The RAW format, is concidered to be a binary file, with 1 or 2 bytes per data value, out of which 8, lower 12 or high 12 bits are used. The DAT format, is simple a short text file which contains the basic info of what an external binary file contains. Its basic format is: [DATAFILE] <filename> [DATATYPE] BYTE|SHORT|12SHORT|SHORT12|FLOAT|DOUBLE [SIZE] <colums> <rows> <slices> [DIMENSIONS] <min x coord> <max x coord> <min y coord> <max y coord> <min z coord> <max z coord> (in units > 1.0) example: [DATAFILE] e:\Volumes\MouseMRI.raw [DATATYPE] BYTE [SIZE] 256 128 72 [DIMENSIONS] -10.0 20.0 -10.0 10.0 0.0 10.0 ![]() screenshot 0: main VoV window :) main window Pressing and dragging with the left mouse button allows you to spin the model accross an axis of rotation orthagonal to your movement. If the mouse had a conciderable speed when you release the mouse button, the model will continue to spin as fast as the rendering can refresh the model and according to the release speed. Pressing and dragging with the middle mouse button allows to pan the window up/down, left to right. Pressing and dragging with the right mouse button allows to zoom in. Notice that because the rendering is only done in orthogonal projection, it is a direct zoom rather than a perspective approach towards the model. ![]() screenshot 1: colormap window .:) colormap window The colormap main display area, allows you to directly set the values accros the red, green, blue, or alpha channel by simply clicking on the colormap display. The lowest point of screen represents a zero value, while the highest represents the highest. In case of the alpha channel, lowest means completely transparent, while highest means completely opaque. To choose which channel to affect, simply click on the respective channel selector button at the leftmost of the window. The Magnification lense button on the right of the window, let you zoom in (accross the values range only, i.e. x axis). The vertical scroll bar on the rightmost offers you a quick zoom tool, from 100% to 1000%. When the colormap does not fit entirely on the window, then the horizontal scrollbar allows you to pan accross the colormap. The arrow buttons let you cycle the current selected channel(s) accross ranges, or simply increase or decrease globally the values of the selected channel(s) up and down. Finally, the open and save buttons on the upper right allow you to open saved colormaps, or save your current colormap. ![]() screenshot 2: properties window .:) properties window Also, as a basic property, we allow the user to change the sampling factor of the volume. The larger the sampling factor, the more detailed the final rendering may be, but the slower it becomes. ![]() screenshot 3: lights window Meanwhile the lights tab of the properties window allows you to manage each of 5 available lights. For each light, which you control with the drop down menu in the middle of the window, you can select the hue and saturation (color and its intensity), as well as how strongly it affects the specular component of the object (versus being a pure diffuse/ambient light). You select which light you want to be one (out of the five available) by selecting the checkboxes above the light dropdown menu. You can select the orientation of the light, by directly interacting with the ball and sample light window. At its bottom is the intensity of all the lights. ::) saving environment An example of a sample environment properties saved file: [VoV.Environment] [BGCOLOR] 1.000000 1.000000 1.000000 1.000000 [LIGHT0] -0.426032 -0.056222 0.902959 0.000000 [LIGHT0ONOFF] 1 [LIGHT0INTENSITY] 1.000000 [LIGHT1] -0.049331 -0.354767 -0.933652 0.000000 [LIGHT1ONOFF] 1 [LIGHT1INTENSITY] 1.000000 ..... [SAMPLINGFACTOR] 1.000000 [AMBIENT] 0.000000 [DIFFUSE] 0.717791 [EMISSIVE] 0.239264 [SPECULAR] 1.000000 [SPECULAREXPONENT] 12.883435 .::) windowless mode VoV.exe -h | -help
[-camera
#!/bin/csh
foreach volume (E://Data/Volume.???.vox)
# set j to name of image, by simply
# changing to drive E,
# directory Images,
# and TGA extension instead of VOX
set image = `echo $volume | sed -e 's/^E/F/' | \
sed -e 's/Data/Images/' | \
sed -e 's/vox$/tga/'`
VoV -vox $volume -imageformat TGA -renderoffline $image \
-environment myVoVFiles/envi.01.txt -camera myVoVFiles/cam.01.txt \
-colormap myVoVFiles/redToBlue.colmap.txt -width 640 -height 480
end
|
?) known bugs
:::) future work