Page History
This page describes how to set up your local system environment to load and run the correct version of V-Ray from zip.
UI Text Box | ||
---|---|---|
| ||
Starting with V-Ray 6, the Portable Installation replaces the zip builds. Please visit the Portable Installation page to find out more. |
Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
OverviewInstalling V-Ray for Maya from a .zip file provides several advantages over the regular installer:
When installing V-Ray for Maya from a .zip file, note that Chaos Cosmos is not included by default in the installation. To add it, you can |
...
separately download and install it. When using a ZIP-installed V-Ray, the EULA needs to be accepted to start a render. A pop-up window appears when rendering begins. Only Batch rendering is an exception to this. |
...
Required steps to run V-RayTo |
Required steps to run V-Ray
...
run a ZIP installation, you will need to:
| |||||||||||||
size | medium |
These steps are further discussed in the sections below with examples.
| |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
medium |
Unpacking the .zip fileExtract the contents of the relevant . |
...
zip file into a suitable folder. After unpacking, there should be three sub-folders: |
...
maya_root, |
...
maya_vray, |
...
and vray. Below is a step-by-step guide:
|
V-Ray Material Library BrowserThe V-Ray Material Library Browser can be installed using |
...
the mtllib |
...
tool that comes with the .zip file. Once unpacked, it resides in the following location: Win: unpack_zip_folder\maya_vray\bin\mtllib.exe Linux: unpack_zip_folder/maya_vray/bin/mtllib.bin macOS: unpack_zip_folder/maya_vray/bin/mtllib.bin For more information on how to run the mtllib tool, |
...
Environment setup
...
|
...
Environment setupBefore you run Maya оr V-Ray Standalone, you need to set up an environment. There are some specific steps to consider for Maya, XGen with Maya and V-Ray Standalone. The license setup is the last requirement, as V-Ray needs to be instructed where to look for a valid license. Please read the sections below for more information and examples.
Setup for MayaThe following environment variables and tags need to be set when running Maya with V-Ray. |
Please read the sections below for more information and examples.
...
Setup for Maya
The following environment variables need to be set when running Maya with V-Ray.
UI Text Box | ||
---|---|---|
| ||
In the examples below, nnnn is the Maya version, for example 2018 or 2020, etc. For example VRAY_FOR_MAYA2020_MAIN or VRAY_FOR_MAYA2020_PLUGINS, etc. |
UI Text Box | ||
---|---|---|
| ||
V-Ray 5 comes with material presets. To load the presets, the MAYA_PRESET_PATH environment variable needs to be set. |
Tabs Container | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tabs Page | | title | Windows
UI Text Box | ||
---|---|---|
| ||
In the examples below, nnnn is the Maya version, for example 2018 or 2020, etc. For example VRAY_FOR_MAYA2020_MAIN or VRAY_FOR_MAYA2020_PLUGINS, etc | info |
UI Text Box | |||
---|---|---|---|
| note
| ||
V-Ray 5 , update 1 introduces changes to the PATH and MAYA_RENDER_DESC_PATH environment variables.Note that for Windows, the \bin\hostbin and \bin locations must be added in this order to the PATH variable. To set up the environment for V-Ray 5, see the setup for older versions of V-Ray. comes with material presets. To load the presets, the MAYA_PRESET_PATH environment variable needs to be set. |
Tabs Container | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
OS | Action | Variable | Location | Description | Example | Windows | Set | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Anchor | 1.1 | 1.1 | <unpacked_zip_location>\maya_vray\rendererDesc | Needed to run batch rendering with Maya. | set MAYA_RENDER_DESC_PATH=D:\vray_builds\vray_51020_maya2020\maya_vray\rendererDesc | Windows | Set | VRAY_FOR_MAYAnnnn_MAIN 1 | <unpacked_zip_location>\maya_vray | Loads the V-Ray for Maya plugins. | set VRAY_FOR_MAYA2020_MAIN=
Tabs Page | |||||
---|---|---|---|---|---|
| |||||
|
|
|
VRAY_FOR_MAYAnnnn_PLUGINS 1.1
Loads the V-Ray plugins.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PATH
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UI Expand | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
For older V-Ray versions, use the setup for V-Ray 5, update 1 from the table above and change the PATH and MAYA_RENDER_DESC_PATH variables as shown.
|
|
| ||||
UI Text Box | ||||
---|---|---|---|---|
| ||||
| ||||
| ||||
The example directory and version names below are for V-Ray 5 for Maya 2020 on Linux where vray_adv_51020_maya2020_linux_x64.zip has been unpacked into /opt/vray_builds/vray_51020_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. | ||||
| ||||
For Linux, LD_LIBRARY_PATH should no longer be set for V-Ray for Maya and should only be set when running V-Ray Standalone. To set up the environment for V-Ray 5, see the setup for older versions of V-Ray. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tabs Page | ||
---|---|---|
|
|
|
|
|
|
export VRAY_PLUGINS=/opt/vray_builds/vray_51020_maya2020/maya_vray/vrayplugins
export VRAY_OSL_PATH_MAYA2020=/opt/vray_builds/vray_51020_maya2020/vray/opensl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export VRAY_AUTH_CLIENT_FILE_PATH=<folder_containing_vrlclient.xml>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UI Expand | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
For older V-Ray versions, use the setup for V-Ray 5, update 1 from the table above and change the LD_LIBRARY_PATH and MAYA_RENDER_DESC_PATH variables as shown in the expandable.
|
title | macOS |
---|
| |||||||||||||||
Tabs Page | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
UI Text Box | | ||||||||||||||
|
/vray_builds/vray_51020_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.
/maya_vray/scripts:$MAYA_CUSTOM_TEMPLATE_PATH | |||||
Linux | Set | MAYA_TOOLCLIPS_PATH | <unpacked_zip_location>/maya_vray/toolclips | Enables toolclips for V-Ray. | export MAYA_TOOLCLIPS_PATH=/opt/vray_builds/vray_51020_maya2020/maya_vray/toolclips:$MAYA_TOOLCLIPS_PATH |
Linux | Extend | PXR_PLUGINPATH_NAME |
UI Text Box | ||
---|---|---|
| ||
V-Ray 5, update 1 introduces changes to the DYLD_LIBRARY_PATH and MAYA_RENDER_DESC_PATH environment variables. For macOS, DYLD_LIBRARY_PATH should no longer be set for V-Ray for Maya and should only be set when running V-Ray Standalone. To set up the environment for V-Ray 5, see the setup for older versions of V-Ray. |
<unpacked_zip_location>/maya_vray/ |
usdplugins | Loads USD plugins for V-Ray. | export |
PXR_ |
PLUGINPATH_ |
NAME=/opt/vray_builds/vray_51020_maya2020/maya_vray/ |
usdplugins:$PXR_PLUGINPATH_NAME | ||
Linux | Set | VRAY_ |
APPSDK_PLUGINS | <unpacked_zip_location>/maya_vray |
/vrayplugins | Loads V-Ray |
App SDK plugins. | export VRAY_ |
APPSDK_ |
PLUGINS=/opt/vray_builds/vray_51020_maya2020/maya_vray/vrayplugins |
Set
Anchor |
---|
|
UI Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
For older V-Ray versions, use the setup for V-Ray 5, update 1 from the table above and change the LD_LIBRARY_PATH and MAYA_RENDER_DESC_PATH variables as shown in the expandable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tabs Page | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
macOS | Set | VRAY_OSL_PATH_MAYAnnnn 1.8 | <unpacked_zip_location>/vray/opensl | Loads OSL plugins for V-Ray. | export VRAY_OSL_PATH_MAYA2020=
Tabs Page | |||||
---|---|---|---|---|---|
| |||||
|
|
|
export MAYA_PLUG_IN_PATH=/vray_builds/vray_51020_maya2020/maya_vray/plug-ins:$MAYA_PLUG_IN_PATH
export MAYA_SCRIPT_PATH=/vray_builds/vray_51020_maya2020/maya_vray/scripts:$MAYA_SCRIPT_PATH
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export VRAY_AUTH_CLIENT_FILE_PATH=<folder_containing_vrlclient.xml>
MAYA_CUSTOM_TEMPLATE_PATH
|
|
|
|
|
|
|
|
|
|
|
|
|
UI Expand | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
For older V-Ray versions, use the setup for V-Ray 5, update 1 from the table above and change the DYLD_LIBRARY_PATH and MAYA_RENDER_DESC_PATH variables as shown in the expandable.
|
...
Notes:
1 (1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8) - nnnn is the Maya version. For example, 2020, 2019, 2018, etc.
2 (2.1, 2.2) - VRAY_PLUGINS is used for running the V-Ray Standalone executable that comes with the V-Ray for Maya installation. This is needed to render .vrscene files directly with V-Ray Standalone. An alternative to setting VRAY_PLUGINS as an environment variable is using the config.xml located in vray_builds/my_version/maya_vray/bin/config.xml. You will need to edit the xml file with a text editor and point the <PluginsPath>/vrayplugins to vray_builds/my_version/maya_vray/vrayplugins.
|
...
2 (2.1, 2.2) - VRAY_PLUGINS is used for running the V-Ray Standalone executable that comes with the V-Ray for Maya installation. This is needed to render .vrscene files directly with V-Ray Standalone. An alternative to setting VRAY_PLUGINS as an environment variable is using the config.xml located in vray_builds/my_version/maya_vray/bin/config.xml.xml. You will need to edit the xml file with a text editor and point the [PLUGINS]/vrayplugins to vray_builds/my_version/maya_vray/vrayplugins.
-- Example: Locate the xml file in the location where the ZIP build is unpacked, in the examples so far - /opt/vray_builds/vray40401_maya2018/maya_vray/bin/config.xml.
-- Once edited, here's how the line containing the vrayplugins location should look like: <PluginsPath>/opt/vray_builds/vray40401_maya2018/maya_vray/vrayplugins</PluginsPath>
UI Expand | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
|
...
3 (3.1, 3.2) - 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. |
...
the vrlclient. |
...
xml file manually, |
...
the example below shows what it |
...
should contain:
You can now run Maya.
Here is |
...
a sample Maya.env file for V-Ray 5 for Maya 2020 on Windows, where the .zip installation has been extracted |
...
to D:\vray_builds\vray_51020_maya2020. Place the file in C:\Users\<username>\Documents\maya\2020 or combine its contents with the already existing Maya.env that you will find there, in case the original file is not empty.
Setup for V-Ray |
...
StandaloneEnvironment VariablesThe ZIP install can also be used to run only V-Ray Standalone without running V-Ray for Maya. In this case, the number of environment variables to set is reduced. The list or variables to set requires unpacking the same ZIP build |
...
. Read the Unpacking the .zip file section for more details.
|
...
Tabs Container | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Windows | Set | VRAY_OSL_PATH | <unpacked_zip_location>\vray\opensl Loads OSL plugins for V-Ray. | set VRAY_OSL_PATH_MAYA2020=D:\vray_builds\vray_51020_maya2020\vray\opensl | Windows | Extend | PATH <unpacked_zip_location>\vray\lib | Required to run V-Ray itself. Anchor | 5.5 | 5.5 | set PATH=D:\vray_builds\vray_51020_maya2020\vray\lib;%PATH% Windows | Set | VRAY_AUTH_CLIENT_FILE_PATH 5 | arbitrary location | Points V-Ray to a V-Ray license. | set VRAY_AUTH_CLIENT_FILE_PATH=<folder_containing_vrlclient.xml> | Tabs Page |
OS | Action | Variable | Location Anchor | 4.1.4.1 | 4.1.4.1 | Description | Example |
Linux | Set | VRAY_PLUGINS 4.1 <unpacked_zip_location>/maya_vray/vrayplugins | Needed for V-Ray Standalone. | export VRAY_PLUGINS
<unpacked_zip_location>/vray/opensl |
Linux | Extend | LD_LIBRARY_PATH <unpacked_zip_location>/vray/lib
Anchor | 5.1.5.1 | 5.1.5.1 | Required to run V-Ray itself. | export LD_LIBRARY_PATH=/opt
Linux | Set | VRAY_AUTH_CLIENT_FILE_PATH 5.1 | arbitrary location | Points V-Ray to a V-Ray license. | export VRAY_AUTH_CLIENT_FILE_PATH=<folder_containing_vrlclient.xml> | Tabs Page |
Anchor | 4.2.4.2 | 4.2.4.2 | Description | Example | macOS | Set | VRAY_PLUGINS 4.2 | <unpacked_zip_location>/maya_vray/vrayplugins | Needed for V-Ray Standalone. | export VRAY_PLUGINS
macOS | Set | VRAY_OSL_PATH <unpacked_zip_location>/vray/opensl | Loads OSL plugins for V-Ray. | export VRAY_OSL_PATH_MAYA2020=/vray_builds/vray_51020_maya2020/vray/opensl macOS | Extend | | <unpacked_zip_location>/vray/libDYLD_LIBRARY_PATH Anchor | 5.2.5.2 | 5.2.5.2 | Required to run V-Ray itself. |
macOS | Set | VRAY_AUTH_CLIENT_FILE_PATH 5.2 | arbitrary location | Points V-Ray to a V-Ray license. | export VRAY_AUTH_CLIENT_FILE_PATH=<folder_containing_vrlclient.xml> |
...
TagsThe [STDROOT] and [PLUGINS] tags in the script are normally replaced with their directories by the V-Ray installer, but when you are using a .zip installation, you need to replace them manually. The [STDROOT] tag needs to be replaced with the full path to the vray folder in the zip file. The [PLUGINS] tag need to be replaced with the full path to the maya_vray folder in the zip. The tags are located in the following files:
|
|
...
4.2) - VRAY_PLUGINS is used for running the V-Ray Standalone executable that comes with the V-Ray for Maya installation. This is needed to render .vrscene files directly with V-Ray Standalone. An |
...
alternative to setting VRAY_PLUGINS as an environment variable is using the config.xml |
...
located in vray_builds/my_version/maya_vray/bin/config |
...
.xml. You will need to edit the xml file with a text editor and point the [PLUGINS]/vrayplugins to vray_builds/my_version/maya_vray/vrayplugins. |
...
<PluginsPath>/opt/vray_builds/vray_51020_maya2020/maya_vray/vrayplugins</PluginsPath>
|
...
|
...
5.2) - 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. |
...
the example below shows what it |
...
s hould contain:
|
...
If you want to use any additional tools like the Irradiance map viewer, the VRIMG to OpenEXR converter etc., then also add to the |
...
PATH environment variable vray_builds/my_version/vray/bin.
|