| | 1 | Demonstrates OSG's volume rendering capabilities. |
| | 2 | Needs a list of 2D images, or a 3D image (.dds) |
| | 3 | |
| | 4 | == Program arguments == |
| | 5 | || |
| | 6 | ||'''argument''' || '''description''' || ''' default ''' || |
| | 7 | ||--alphaFunc || || 0.02 || |
| | 8 | ||--clip <ratio> || clip volume as a ratio, 0.0 clip all, 1.0 clip none. || 1.0 || |
| | 9 | ||--compressed || Enable the usage of compressed textures. || || |
| | 10 | ||--compressed-arb || Enable the usage of OpenGL ARB compressed textures || || |
| | 11 | ||--compressed-dxt1 || Enable the usage of S3TC DXT1 compressed textures. || || |
| | 12 | ||--compressed-dxt3 || Enable the usage of S3TC DXT3 compressed textures. || || |
| | 13 | ||--compressed-dxt5 || Enable the usage of S3TC DXT5 compressed textures. || || |
| | 14 | ||--images [filenames] || Specify a stack of 2d images to build the 3d volume from. || || |
| | 15 | ||--maxTextureSize <size> || Set the texture maximum resolution in the s,t,r (x,y,z) dimensions. || || |
| | 16 | ||--modulate-alpha-by-luminance || For each pixel multiple the alpha value by the luminance. || || |
| | 17 | ||--num-components <num> || Set the number of components to in he target image. || || |
| | 18 | ||--r_maxTextureSize <size> || Set the texture maximum resolution in the r (z) dimension. || || |
| | 19 | ||--replace-alpha-with-luminance || For each pixel mSet the alpha value to the luminance. || || |
| | 20 | ||--s_maxTextureSize <size> || Set the texture maximum resolution in the s (x) dimension. || || |
| | 21 | ||--shader || Use OpenGL Shading Language. || || |
| | 22 | ||--t_maxTextureSize <size> || Set the texture maximum resolution in the t (y) dimension. || || |
| | 23 | ||--xMultiplier <multiplier> || Tex coord x multiplier. || || |
| | 24 | ||--xSize <size> || Relative width of rendered brick. || || |
| | 25 | ||--yMultiplier <multiplier> || Tex coord y multiplier. || || |
| | 26 | ||--ySize <size> || Relative length of rendered brick. || || |
| | 27 | ||--zMultiplier <multiplier> || Tex coord z multiplier. || || |
| | 28 | ||--zSize <size> || Relative height of rendered brick. || || |
| | 29 | ||-h or --help || Display this information || || |
| | 30 | ||-n || Create normal map for per voxel lighting. || || |
| | 31 | ||-s <numSlices> || Number of slices to create. || 500 || |
| | 32 | || |