Versions Compared

Key

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

...

Please read the sections below for more information and examples.

 

Tabs Container
titleEnvironment variables
directionhorizontal
Tabs Page
titleWindows

 

 

UI Text Box
typeinfo

The example directory and version names below are for V-Ray Standalone on Windows where vraystd_adv_4xxxx_x64_vc14.zip has been unpacked into D:\vray_builds\vray5xxxx_std\.

Here is a list of the environment variables and their description and examples. An example of a complete setup will be given further below.

OSActionVariableLocationDescriptionExample
WindowsSetVRAY_OSL_PATH\openslRequired for the OSL definitions of the OSL plugin.set VRAY_OSL_PATH=D:\vray_builds\vray5xxxx_std\opensl
WindowsSet

VRAY_AUTH_CLIENT_FILE_PATH 1

arbitrary locationPoints V-Ray to a V-Ray license.set VRAY_AUTH_CLIENT_FILE_PATH=<folder_containing_vrlclient.xml>
UI Text Box
typeinfo

Since V-Ray 6, update 1, the VRAY_OSL_PATH variable has been deprecated and no longer needs to be set.

Tabs Page
titleLinux

 

 

UI Text Box
typeinfo

The example directory and version names below are for V-Ray for Maya 2020 on Linux where vray_adv_50001_maya2020_linux_x64.zip has been unpacked into /opt/vray_builds/vray50001_maya2020/.

Here is a list of the environment variables and their description and examples. An example of a complete setup will be given further below.

OSActionVariableLocationDescriptionExample
LinuxSetVRAY_OSL_PATH/openslRequired for the OSL definitions of the OSL plugin.export VRAY_OSL_PATH=/opt/vray_builds/vray5xxxx_std/opensl
LinuxExtend

LD_LIBRARY_PATH 3

/vray/lib/linux_x64/clang-gcc-4.8

(recent builds: vray/lib)

Required to run V-Ray itself.

export LD_LIBRARY_PATH=/opt/vray_builds/vray5xxxx_std/vray/lib/linux_x64/clang-gcc-4.8:$LD_LIBRARY_PATH

for V-Ray Standalone Update 2 and later:

export LD_LIBRARY_PATH=/opt/vray_builds/vray5xxxx_std/vray/lib:$LD_LIBRARY_PATH

LinuxSetVRAY_AUTH_CLIENT_FILE_PATH 1arbitrary locationPoints V-Ray to a V-Ray license.export VRAY_AUTH_CLIENT_FILE_PATH=<folder_containing_vrlclient.xml>
UI Text Box
typeinfo

Since V-Ray 6, update 1, the VRAY_OSL_PATH variable has been deprecated and no longer needs to be set.

Tabs Page
titlemacOS
Tabs Page
titleLinux

 

 

UI Text Box
typeinfo

The example directory and version names below are for V-Ray for Maya 2020 on macOS where vray_adv_50001_maya2020_mavericks_x64.zip has been unpacked into /vray_builds/vray50001_maya2020/.

Here is a list of the environment variables and their description and examples. An example of a complete setup will be given further below.

OSActionVariableLocationDescriptionExample
macOSSetVRAY_OSL_PATH/openslRequired for the OSL definitions of the OSL plugin.export VRAY_OSL_PATH=/vray_builds/vray4xxxx_std/opensl
macOSExtend

DYLD_LIBRARY_PATH 2

/vray/lib/mavericks_x64/gcc-4.2-cpp

(recent builds: /vray/lib)

Required to run V-Ray itself.export DYLD_LIBRARY_PATH=/vray_builds/vray5xxxx_std/vray/lib/mavericks_x64/gcc-4.2-cpp:$DYLD_LIBRARY_PATH

for builds after 2019-03-12:

export DYLD_LIBRARY_PATH=/vray_builds/vray5xxxx_std/vray/lib:$DYLD_LIBRARY_PATH

macOSSetVRAY_AUTH_CLIENT_FILE_PATH 1arbitrary locationPoints V-Ray to a V-Ray license.export VRAY_AUTH_CLIENT_FILE_PATH=<folder_containing_vrlclient.xml>
UI Text Box
typeinfo

Since V-Ray 6, update 1, the VRAY_OSL_PATH variable has been deprecated and no longer needs to be set.


Notes

...

Anchor
std_note_1
std_note_1
1.VRAY_AUTH_CLIENT_FILE_PATH needs to point to the folder that contains the vrlclient.xml  file that holds the V-Ray license server settings (IP address and port number). Alternatively, using the tool to set or change your license settings will create the vrlclient.xml file for you at a default location and there will be no need to explicitly define its location the VRAY_AUTH_CLIENT_FILE_PATH variable. However, it might be useful to use the variable to define per-user license settings.

...