Page Contents ×

This page provides information on setting up multiple versions of V-Ray on your local system from a .zip file.

 

Overview


Sometimes users need to be able to quickly switch between different V-Ray versions without having to constantly reinstall it. In this case, both V-Ray for Nuke and V-Ray Standalone can be installed and run from arbitrary locations on your machine or local network. This page describes how to set up your local system so that it loads the files for the correct version.

The notes here are for the Windows and Linux operating systems only.

 

Unpacking the Contents of the .zip File


Extract the contents of the relevant .zip file into a suitable folder, for example, vray_builds/my_version . After the extraction, there should be four sub folders in it: nuke_plugins, nuke_root, nuke_vray, vray and vray_std .

 

Running Nuke


Windows

Before you run Nuke, you need to perform the following steps:

  1. Set the VRAY_FOR_NUKE_n_PLUGINS environment variable to point to the vray_builds/my_version/nuke_vray folder where n is the Nuke version (10, 10.5, 11, etc.).
    (Example: set VRAY_FOR_NUKE_11_3_PLUGINS =  vray_builds/my_version/nuke_vray)
    Note: This variable can also be set to point to the vray_std folder. This allows the VRayTranslator node can locate the right V-Ray Standalone executable.

  2. Set the VRAY_RT_GPU_LIBRARY_PATH environment variable to point to the vray_builds/my_version/vray_std folder.
  3. Add to the NUKE_PATH environment variable the folder vray_builds/my_version/nuke_plugins (example: set NUKE_PATH= vray_builds/my_version/nuke_plugins ;%NUKE_PATH%) 

  4. Add to the PATH environment variable the folder vray_builds/my_version/nuke_root  (example: set PATH= vray_builds/my_version/nuke_root ;%PATH%)

 

Linux

Before you run Nuke, you need to perform the following steps:

  1. Export the VRAY_FOR_NUKE_n_PLUGINS environment variable and make it point to the vray_builds/my_version/nuke_vray folder where n is the Nuke version (10, 10.5, 11, etc.).
    (Example: set VRAY_FOR_NUKE_11_3_PLUGINS =  vray_builds/my_version/nuke_vray)
    Note: This variable can also be set to point to the vray_std folder. This allows the VRayTranslator node can locate the right V-Ray Standalone executable.

  2. Export the VRAY_RT_GPU_LIBRARY_PATH environment variable to point to the vray_builds/my_version/vray_std folder.
  3. Add to the NUKE_PATH environment variable the folder vray_builds/my_version/nuke_plugins (example: export NUKE_PATH=/ vray_builds/my_version/nuke_plugins :$NUKE_PATH)

  4. Add to the LD_LIBRARY_PATH environment variable the folder  vray_builds/my_version/nuke_root  (example: export LD_LIBRARY_PATH= /vray_builds/my_version/nuke_root :$LD_LIBRARY_PATH)

 

Previous installations required users to set the VRAY_AUTH_CLIENT_FILE_PATH environment variable to point to a vrlclient.xml file, which contained the V-Ray license server settings. This step is no longer necessary since it is covered when Installing the License Server.

 

Running V-Ray Standalone


After you have complete your V-Ray for Nuke setup, you need to to perform the following steps to run V-Ray Standalone

Windows

  1. Edit the vray_builds/my_version/vray_std/vrayconfig.xml Replace [PLUGINS]\vrayplugins with the path to vray_builds/my_version/nuke_vray/vrayplugins.
     

Linux

  1. Edit the vray_builds/my_version/vray_std/vrayconfig.xml Replace [PLUGINS]/vrayplugins with the path to vray_builds/my_version/nuke_vray/vrayplugins .

  2. Edit vray_builds/my_version/vray_std/vray. Replace [PLUGINS] with the path to vray_builds/my_version/vray_std .