Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: OSL Path

...

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_MAYA2020=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>
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>
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_MAYA2020=/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>

...