Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page covers the various environment variables for use in V-Ray for Maya.

 


Overview

...

There are some environment variables that affect the operation of V-Ray. Some of these variables are in effect in both V-Ray Standalone and V-Ray for Maya, while some of them are pertinent to V-Ray Standalone only. The variables that are valid for V-Ray Standalone only are marked with (standalone).

...

Warning

Use the VRAY_TERMINATE_ON_FRAME_END and VRAY_TERMINATE_ON_SEQUENCE_END environment variables only on render servers where each frame/sequence is rendered by a separate process (either Maya or V-Ray Standalone). Do not use this in interactive Maya sessions as it will cause Maya to exit immediately after a render (even a swatch render).

...


VRAY_MAYA_KEEP_BITMAPS – Enables the bitmaps caching between renders (same as the Cache bitmaps between renders option in the Rendering Overrides rollout of the Render Settings dialog).

...

VRAY_VRSCENE_LOCATION – When set on a machine that is used as a render server during distributed rendering, this variable specifies the path to store the temporary .vrscene file. When this variable is not set, the default user temp directory is used.

VRAY_USE_NORMAL_DIFFERENTIALS – When set to 1, V-Ray will use the surface curvature when calculating ray differentials for secondary rays for reflection, refraction, and GI. This is typically helpful with tiled OpenEXR and TIFF textures, as it will produce a more accurate estimate for the required mip-map level (which otherwise might be overestimated resulting in a more detailed level being loaded than is really necessary)VRAY_FOR_MAYA_DRLISTS_PATH – Specifies the path to an alternate DR XML configuration file. For more information, see the Distributed Rendering Settings page.

Ray Differentials

.


V-Ray GPU

...

VRAY_OPENCL_PLATFORMS_x64 – Specifies the CUDA or OpenCL devices to be used for V-Ray RT GPU rendering. This variable is automatically set when a device is selected using the V-Ray RT GPU settings in 3ds Max (or the equivalent external tool provided with the V-Ray installation ocldeviceselect.exe ). If the variable is not set, all available devices will be used. The syntax allows a case insensitive pattern matching of any value to a device name, vendor, type and its index. More than one values can be specified by separating them with a semi-column.

...