There are a number of command line options that override internal renderer variables which are set in the SDL file. These options allow you to change the behavior of the renderer without having to edit your SDL file.
To use the command line options, the renderer must be started from a UNIX shell window. The syntax of starting the renderer (or raytracer or powertracer) from a shell window is simple; First change directory into your project (ie. "cd user_data/demo"), then specify the executable and the SDL filename (for example, "renderer sdl/animation_scene_1"). The Alias renderers allow you to set many options.
There is a new quantize option for the Alias Renderers. Quantizing is the function of reducing the number of colors used in an image to enable their display on limited color resolution monitors. Typically this means reducing the number of bits per pixel from 24 (8 bits for each of R, G, and B) down to 8 bits per pixel. The quantize process tries to reduce the color errors introduced by the color space reduction.
The quantize option is controled by using the -c and -C command line options in the renderers. The stand-alone 'aquant' creates color map files which are in SGI Imagelib image format which can then be fed to the renderers to quantize images as they are rendered.
By default the quantizing procedure is non-destructive. Alias does not delete or overwrite any image file in case the quantizing is not to the your liking. If you have the original image file, you can always quantize again.
*Note on -k option: if used, a depth map file will be read ONCE, or if depth map saving is not turned on, the map will be created ONCE and used for all subsequent frames.
**Note on -K option: if used, a depth map file named the same as the light will be created if it doesn't exist, and used if it does exist.
***Note on -z option: this allows transparency mapped objects to affect the camera depth output files. If the flag is set to 1, anything that is at least slightly transparent will not show up in the depth file. If the flag is set to 50, anything that is more than 50% transparent will not show up in the depth file. If it is set to 99, only things that are totally transparent will not show up in the camera depth file.
This information is at your disposal at all times by supplying the renderer with the \Q-H' flag (that is, "renderer -H").
The Alias PowerTracer for SGI(tm) machines has a few extra options for controlling the manner in which it uses the multiple CPUs:
For example, if you want to render frames 4 through 8 of an animation with a by frame of 2 and you want those frames to be numbered 10,11 and 12, type in:
renderer -s 4 -e 8 -b 2 -S 10 -B 1 sdl/animation_scene_1 This produces the following pix files:
pix/animation_scene1.10 (which is frame 4) pix/animation_scene1.11 (which is frame 6) pix/animation_scene1.12 (which is frame 8) Another useful feature is renaming the output file for when you want to test a few frames of your animation. Say you wanted to see frames 1 through 5, but did not want to overwrite existing pix files, without editing the SDL file, you can specify this on the command line:
renderer -e 5 -p pix/test_anim -m mask/test_anim sdl/animation_scene_1 This will create the following pix and mask files:
pix/test_anim.1 pix/test_anim.2 pix/test_anim.3 pix/test_anim.4 pix/test_anim.5 mask/test_anim.1 mask/test_anim.2 mask/test_anim.3 mask/test_anim.4 mask/test_anim.5 There is a new quantize option for the Alias Renderers. Quantizing is the function of reducing the number of colors used in an image to enable their display on limited color resolution monitors. Typically this means reducing the number of bits per pixel from 24 (8 bits for each of R, G, and B) down to 8 bits per pixel. The quantize process tries to reduce the color errors introduced by the color space reduction.
The quantize option is controled by using the -c and -C command line options in the renderers. The stand-alone 'aquant' creates color map files which are in SGI Imagelib image format which can then be fed to the renderers to quantize images as they are rendered.
By default the quantizing procedure is non-destructive. Alias does not delete or overwrite any image file in case the quantizing is not to the your liking. If you have the original image file, you can always quantize again.
*Note on -k option: if used, a depth map file will be read ONCE, or if depth map saving is not turned on, the map will be created ONCE and used for all subsequent frames.
**Note on -K option: if used, a depth map file named the same as the light will be created if it doesn't exist, and used if it does exist.
***Note on -z option: this allows transparency mapped objects to affect the camera depth output files. If the flag is set to 1, anything that is at least slightly transparent will not show up in the depth file. If the flag is set to 50, anything that is more than 50% transparent will not show up in the depth file. If it is set to 99, only things that are totally transparent will not show up in the camera depth file.
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.