db&w documentation wiki

finest software | finest docs

Site Tools


exrtrader2018:output

This is an old revision of the document!


Output

These options define how the output file(s) is named and where it is saved.

Directories will be created by exrTrader if required.

Output File

This control allows you to select an output file for the buffer saver to write to. Any extension and frame numbers of the selected file will be automatically removed. You can only select an output file if “Use Render Path” is not activated.

exrTrader also supports special variables in the path name that will be replaced as the image is being saved.

The currently supported variables are:

%scene% Is replaced with the scene name (without the .lws extension)
%camera% The name of the camera used to render the current image
%layer% The name of the current layer
%eye% If the current camera is rendering in stereo mode, this will be either L or R depending on which eye the currently saved frame represents.
%dot% This is just replaced with a single “.”
It allows you to add a . at the end of the file name in the Output File Control (where it would normally be stripped with any file name extension).

You can use the Review Settings… option to verify if the file names are created as you'd expect them to be.

Use Render Path

If you select this option, exrTrader will use the output file defined in the Lightwave3D render globals. This option is quite important if used across a render farm in conjunction with the OpenEXR Dummy Saver, described later in this manual.

Format

This setting defines how exrTrader will append the frame number and file extension to the Output File. These settings are identical to the settings in the Lightwave3D render globals.

Single File Naming

exrTrader by default saves all buffers into a single OpenEXR image file. You may optionally save single buffers into a separate image file. This option defines how these separate image files will be named.

Output is the file name, as defined by the Output File control, or the render global in Lightwave3D if “Use Render Path” is active.

Layer is the layer name of the selected buffer, as described below in the documentation.
### is the frame number, the amount of digits is defined by the Format option.
_ The underscores are only added if the Format option contains underscores as well.
.exr The file extension is added only if the Format option contains the file extension.
  • Output_Layer_###.exr
    This will save the buffer image files into the same directory as the Output File, and append the “Layer” name to the file name.
  • Layer/Output_###.exr
    This will create a subdirectory named after the “Layer” name where the Output File is written, and write the buffer image into that subdirectory.
  • Layer/Output_Layer_###.exr
    This will create a subdirectory named after the “Layer” name where the Output File is written, and write the buffer image into that subdirectory appending the “Layer” name to the file name.
  • Layer_Output_###.exr
    This will save the buffer image files into the same directory as the Output File, and prepend the “Layer” name to the file name.
  • Custom_###.exr
    This will save the buffer image files into the same directory as the Output File, and use the “Custom Single Image Name” as the file name.

Custom Single Image Name

If the Single File Naming option is set to Custom_###.exr, the file name for single image files will be constructed from the text entered into this control.

You may also add slashes or colons (depending on the OS platform) to designate sub-directories. These will be automatically created by exrTrader if needed.

The currently supported variables are:

%scene% Is replaced with the scene name (without the .lws extension)
%camera% The name of the camera used to render the current image
%layer% The name of the current layer (as defined in the per buffer Layer Name option)
%eye% If the current camera is rendering in stereo mode, this will be either L or R depending on which eye the currently saved frame represents.

Examples

To hopefully make this a bit easier to understand, here is an example of how these options work. Let's assume we're rendering out to “images/Ninja.exr” as the Output File. The Format we're using is “Name_0001.exr”. We want to save the Reflection buffer as a separate image file, the “Layer” name of it is “Specular”. These will be the buffer image file written at frame 60, depending on the Single File Naming option:

Output_Base_###.exr images/Ninja_Specular_0060.exr
Layer/Output_###.exr images/Specular/Ninja_0060.exr
Layer/Output_Base_###.exr images/Specular/Ninja_Specular_0060.exr
Layer_Output_###.exr images/Specular_Ninja_0060.exr

In all cases, the main file saved will be the same: images/Ninja_0060.exr

Compression

All compression options are lossless, except for PXR24, which is lossy when saving 32bit float image data (it cuts off the lower 8bit, effectively cutting the precision to 24bits).

exrTrader is compiled to support OpenEXR Version 1.6, which includes the following compression modes:

  • Uncompressed
    Doesn't compress the data at all, recommended for highest speeds (if the hard drive is fast) - but also uses the most storage space.
  • RLE (lossless)
    Compresses the difference between adjacent pixels. Fast to compress and decompress, but in general only works well for images with large areas of solid colour.
  • ZIPS (lossless) - default
    This uses a ZIP type compression scheme to compress one scanline at a time. Slow to compress, fast to decompress and also offers a fairly high compression ratio.
  • ZIP (lossless)
    Just like ZIPS, except that it compresses 16 scanlines in one go. This results in a slightly better compression compared to ZIPS, but also slows down reading single scanlines from an image (as some compositing packages might do in proxy or ROI/DOD mode).
  • PIZ (lossless)
    This is a wavelet based compression scheme that has a compression ratio that is comparable to ZIP(S), but is faster to compress … on the other hand it is slower to decompress.
  • PXR24 (lossy)
    A wavelet based compression scheme similar to PIZ, 32bit float numbers are cut off to 24bit, loosing 8 bits of precision.
  • B44 (lossy)
    A compression scheme designed for the real-time playback of OpenEXR images with a constant compression ratio.
  • B44A (lossy)
    Just like B44, but solid areas (such as alpha channels) have a better compression ratio.
  • DWA A/B (lossy)

These are explained in more detail in the Technical Introduction to OpenEXR, available as a PDF at www.openexr.com 1).

1)
I admit it, I didn't want to copy and paste the section over from the OpenEXR website.
The document is highly recommended to understand the capabilities of OpenEXR.
exrtrader2018/output.1500898535.txt.gz · Last modified: 2017/07/24 14:15 by lightwolf