Making a volume using osgvolume
#!/bin/sh osgvolume --images *.tif --num-components 1 --r_maxTextureSize 512 -n --zMultiplier -1.0 -o volume.ive echo make volume complete exit 0
This files should be named:
make_volume
This is not vital, but is apporate naming confension. The file permissions on the script should be change to executable. This can be done on the command line:
chmod +x make_volume
This executable script should now be placed in a folder containing volumes slises, and can be started by:
./make_volume
This will now create a file called volume.ive, which can be opened in either osgviewer or present3D
