Framebuffers:
- X-Windows (X11)
- Microsoft Windows
Graphics files:
- TIFF
- Zfile
- Shadow map
Most of these display drivers come in two flavors, internal and external. While the internal version is usually recommended, the external version conforms to the standard display driver interface and can be used with other conforming tools. Look in the $RDCROOT/etc directory for external display driver binaries. To select the external flavor, use the actual name of the shared library file.
In addition, users may write and install custom display drivers.
For 8-bit and 1-bit displays, the image is initially rendered using ordered dithering and a balanced palette. When rendering is completed, and image improvement phase takes place and the image is redrawn. Monochrome images are improved with Floyd-Steinberg error diffusion dithering (see "An Adaptive Algorithm for Spatial Greyscale" by Robert Floyd and Louis Steinberg, Proceedings of the Society for Information Display, V.17 #2, 2nd Quarter 1976, P. 75). For PseudoColor images, a new colormap is selected by the median cut algorithm (see "Color Image Quantization for Frame Buffer Display" by Paul Heckbert, Computer Graphics, V. 16 #3, July 1982, p. 297) and redisplayed with Floyd-Steinberg dithering.
When the rendered window is selected for focus, it recognizes several commands which may be typed from the keyboard. To close the window, type "q", "Q", or ESC. To save the rendered image in the current directory as a TIFF file called "RenderDotC.tif", type "s" (for RGBA) or "S" (for RGB). If the display gets corrupted for some reason, typing "r" or "R" will force a refresh of the window.
This display driver honors the DSPYGAMMA,
DSPYBACKGROUNDPIXELVALUE,
and DSPYPAUSE environment variables.
For 8-bit and 1-bit displays, the image is initially rendered using ordered dithering and a balanced palette. When rendering is completed, and image improvement phase takes place and the image is redrawn. Monochrome images are improved with Floyd-Steinberg error diffusion dithering (see "An Adaptive Algorithm for Spatial Greyscale" by Robert Floyd and Louis Steinberg, Proceedings of the Society for Information Display, V.17 #2, 2nd Quarter 1976, P. 75). For Palette mode images, a new colormap is selected by the median cut algorithm (see "Color Image Quantization for Frame Buffer Display" by Paul Heckbert, Computer Graphics, V. 16 #3, July 1982, p. 297) and redisplayed with Floyd-Steinberg dithering.
When the rendered window is selected for focus, it recognizes several commands which may be typed from the keyboard. To close the window, type "q", "Q", or ESC. To save the rendered image in the current directory as a TIFF file called "RenderDotC.tif", type "s" (for RGBA) or "S" (for RGB). If the display gets corrupted for some reason, typing "r" or "R" will force a refresh of the window.
On Microsoft Windows, the main RenderDotC process does not exit until all framebuffer displays are closed.
This display driver honors the DSPYGAMMA
and DSPYBACKGROUNDPIXELVALUE
environment variables.
The following parameters may be added to the RiDisplay token-value list to control various aspects of the generated TIFF file:
"uniform string resolutionunit" ["inch" or "centimeter"]If both of these are present, the resolution, xresolution, and yresolution tags will be stored in the TIFF file. They indicate the number of pixels per inch (or centimeter).
"uniform float resolution[2]" [xres yres]
"uniform string compression" ["LZW", "packbits", "pixarlog", "jpeg", "deflate", or "none"]Selects the TIFF compression scheme. The default is "deflate" (also known as gzip).
"varying float ReferenceBlackWhite[2]" [refblack1 refwhite1 refblack2 refwhite2 refblack3 refwhite3]Sets values for the referenceblackwhite TIFF tag. There should be exactly six values, one black and one white for each of the first three channels. If this parameter is not present, RenderDotC provides default values based on the quantization parameters. For more information, see Color Quantization For Film.
"uniform string ImageDescription" ["text"]If present, these strings are stored in the TIFF file under the same-named tag. There are no default values.
"uniform string DocumentName" ["text"]
"uniform string PageName" ["text"]
"uniform string Artist" ["text"]
"uniform string HostComputer" ["text"]Overrides default value obtained from gethostname(2).
"uniform string Software" ["text"]The default value of the TIFF software tag is a RenderDotC copyright message.
There is no internal flavor of this driver. The source code is
available as $RDCROOT/etc/d_zfile.c
There is no external flavor of this driver.