Short Contents

8.12 OpenEXR display driver

This display driver writes out ILM's EXR files using the `half' floating point format. Floating point input is requested for this display driver, so the RIB should contain the following lines before the display driver is invoqued:

Quantize "rgba" 0 0 0 0

The following parameters can be specified to the EXR display driver:

"uniform string exrcompression" ["zip"]
"uniform string compression" ["zip"]
Specifies which compression to use. Valid compression schemes are:
"none"
Disable compression.
"zip"
Enable `deflate' compression using the `zlib' library. This is the default compression scheme.
"rle"
Enable run-length encoding. Compression ratio is good only on images with large constant color areas. Use only if compression or decompression speed matters.
"piz"
Data is compressed using a Huffman algorithm applied to wavelet transformed data. Apparently provides good compression ratios on photographic data.
"uniform string exrlineorder" ["increasing"]
Specifies if the image is to be written in `increasing' or `decreasing' Y. Default is `increasing'. When writing an image in decreasing Y order, the display driver has to buffer the entire image before writing it to the file. This could require a significant amount of temporary disk space.
"int autocrop" [0]
When set to 1, this will shrink the data window of the file to the smallest window containing all non black pixels. Since there is less data written to the file, other applications may load it faster. This option causes the data to be buffered as for exrlineorder.
"string libraries" [""]
A space separated list of libraries to load in order resolve all the needed EXR file access symbols. Internally, this display driver uses the following default value: `libIex.so libHalf.so libz.so libIlmImf.so'. The last library in the list will be used to resolve the actual symbols, all other libraries are needed to resolve dependencies private to the EXR libraries. There is no need to modify this value if the libraries are properly installed and reachable through the usual dynamic linker paths.
"string comment" [""]
Attaches a comment to the produced EXR file.

`rendermn.ini' Entries

The EXR display drivers recognizes the following parameter:

/display/exr/compression
Contains the defaul compression to use if no compression mode is passed to the display driver.

More about the `rendermn.ini' configuration file in Configuration file (`rendermn.ini').

3Delight 8.5. Copyright 2000-2009 The 3Delight Team. All Rights Reserved.