This page provides information on V-Ray compatibility with deep image output.

 

Page Contents

 

Overview


V-Ray supports the output of deep images for use in deep compositing applications.


Supported File Formats


V-Ray supports the following file formats for deep data:

OpenEXR 2 – Currently the only widely accepted file format for deep data, which can be read by other applications like Nuke;
VRST
– This is V-Ray's native deep image file format which was used before OpenEXR 2 was released. A separate plugin for reading VRST files in Nuke is available;
VRSM
– A shade map file used by the VRayStereoscopic helper to speed up rendering of stereo images. This is essentially a VRST file with some additional information used by the stereoscopic helper.


Enabling Deep Output


Deep output is only available when writing the render result through the V-Ray raw image file option in the Frame buffer section of the V-Ray settings. Deep output is not supported if using the 3ds Max native frame buffer or when writing the result though the Common tab of the render settings.

Deep Output is only available when rendering with bucket image sampler.


To enable deep output, turn on the V-Ray raw image file option:


 

 

Click on the "..." (browse) button below this option, select the desired output file format. VRST and VRSM files are deep files always. For OpenEXR output, turn on the Deep EXR option:


 

 

Controlling Deep Data Generation


The way V-Ray generates deep data can be controlled through the V-Ray Render Options | VRayOptionRE render element.


Volumetric Support


In addition to deep data related to shading surfaces, V-Ray can also generate deep data from atmospheric plugins. The Environment Fog | VRayEnvironmentFog atmospheric effect has an option to generate deep fragments. Phoeinx FD can currently generate deep data if used in geometry mode. 3rd party plugins would need to use the V-Ray SDK to write deep fragments through the writeDeepFragment() function. Note that deep volumetric data can generate quite big deep files. You can use the VRayOptionRE render element to control the precision of the deep data in the resulting file.

Note: Make sure that the Optimized atmospherics evaluation in the V-Ray System rollout is enabled; otherwise you will not get correct results for surfaces behind atmospherics.

 

Using Deep Images


Depending on your compositing application, deep images can be read in different ways. In Nuke, this is done though a DeepRead node (and not through the regular Image node – which will also read a deep file, but as a regular 2D image).