General

Full installation

Setting up the files

Running Maya

Running V-Ray Standalone

Standalone installation

Setting up the files

Running V-Ray Standalone

General

Sometimes is it necessary to run V-Ray for Maya and V-Ray Standalone without installing them on the local machine. This may be useful if it is necessary to switch between multiple V-Ray versions, when the files for a particular version are stored in a shared network location. 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.

Full installation

Running V-Ray for Maya from a network location has two parts to it; first you must run the installation to extract the necessary files and store them on the network. Next, you must configure your local machine to use these files to run V-Ray for Maya or V-Ray Standalone.

 

NOTE: The library libvray.so (vray.dll on Windows and libvray.dylib on Mac OS X) is present in two locations; one is specifically intended for loading in Maya, and the other one - in V-Ray Standalone. On Linux and Mac OS X, attempting to load the standalone library in Maya will cause Maya to crash.

Setting up the files

Run the V-Ray for Maya installation with the "Full" installation type, and specify suitable folders for the files, for example

 

Maya root folder: /vray_builds/my_version/maya_root

V-Ray plugins destination folder: /vray_builds/my_version/maya_vray

V-Ray additional files: /vray_builds/my_version/vray

 

You will get a message that an error occurred during the installation, because the installer will not be able to find and modify some of the standard Maya MEL scripts, which otherwise cause minor glitches when running V-Ray inside Maya. You can safely ignore this error.

Running Maya

Before you run Maya, you need to perform the following tasks:

 

1) If you plan to use batch rendering, set the environment variable MAYA_RENDER_DESC_PATH to the folder

/vray_builds/my_version/maya_root/bin/rendererDesc

 

2) Set the VRAY_FOR_MAYANNNN_MAIN_x64 environment variable to point to the /vray_builds/my_version/maya_vray folder where NNNN is the Maya version (2008, 2009, etc).

 

3) Set the VRAY_FOR_MAYANNNN_PLUGINS_x64 environment variable to point to the folder /vray_builds/my_version/maya_vray/vrayplugins

 

4) Set the VRAY_AUTH_CLIENT_FILE_PATH environment variable to point to the folder that contains the vrlclient.xml file with the V-Ray license server settings (IP address and port number).

 

5) On Linux, add to the LD_LIBRARY_PATH environment variable the path to the /vray_builds/my_version/maya_root/lib folder; on Windows, add to the PATH environment variable the path to the /vray_builds/my_version/maya_root/bin folder.

 

6) Add to the MAYA_PLUG_IN_PATH variable the folder

/vray_builds/my_version/maya_vray/plug-ins

 

7) Add to the MAYA_SCRIPT_PATH variable the folder

/vray_builds/my_version/maya_vray/scripts

 

8) Add to the XBMLANGPATH variable the folder

/vray_builds/my_version/maya_vray/icons/%B

(the %B is necessary - Maya will replace it with actual bitmap name).

 

9) You can now run Maya.

Running V-Ray Standalone

Before you run V-Ray Standalone, you need to perform the following tasks:

 

1) Add to the PATH environment variable the folder /vray_builds/my_version/maya_vray/bin (this is required for running V-Ray itself) and /vray_builds/my_version/vray/bin (if you want to use any additional tools like the irradiance map viewer, the VRIMG to OpenEXR converter etc).

 

2) On Linux, add to the LD_LIBRARY_PATH environment variable the folder /vray_builds/my_version/vray/lib/linux_x64/gcc-4.1.

 

3) Set the VRAY_PLUGINS_x64 environment variable to the folder /vray_builds/my_version/maya_vray/vrayplugins

 

4) Set the VRAY_AUTH_CLIENT_FILE_PATH environment variable to point to the vrlclient.xml file that contains the V-Ray license server settings (IP address and port number).

 

5) You can now run the vray.exe command.

Standalone installation

Running V-Ray Standalone from a network location has two parts to it; first you must run the installation to extract the necessary files and store them on the network. Next, you must configure your local machine to use these files to run V-Ray Standalone

Setting up the files

Run the V-Ray for Maya installation with the "Standalone" installation type, and specify suitable folders for the files, for example

 

Maya root folder: /vray_builds/my_version/maya_root

V-Ray plugins destination folder: /vray_builds/my_version/maya_vray

V-Ray additional files: /vray_builds/my_version/vray

Running V-Ray Standalone

Before you run V-Ray Standalone, you need to perform the following tasks:

 

1) Add to the PATH environment variable the folder /vray_builds/my_version/maya_vray/bin (this is required for running V-Ray itself) and /vray_builds/my_version/vray/bin (if you want to use any additional tools like the irradiance map viewer, the VRIMG to OpenEXR converter etc).

 

2) On Linux, add to the LD_LIBRARY_PATH environment variable the folder /vray_builds/my_version/vray/lib/linux_x64/gcc-4.1.

 

3) Set the VRAY_PLUGINS_x64 environment variable to the folder /vray_builds/my_version/maya_vray/vrayplugins

 

4) Set the VRAY_AUTH_CLIENT_FILE_PATH environment variable to point to the vrlclient.xml file that contains the V-Ray license server settings (IP address and port number).

 

5) You can now run the vray.exe command.