Versions Compared

Key

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

...

Tabs Container
directionhorizontal
Tabs Page
titleWindows

  1. Download the V-Ray installer executable (.exe).
  2. Open a Command Prompt. Type out: the location of the installer that you just downloaded -unpackInstall= location where you wish to unpack. Alternatively, you can drag and drop the installer and a target folder for unpacking into the Command Prompt to insert their directories. Press Enter to run the command. As an example, you can create a new folder called vray_builds to hold all portable V-Ray builds. Then, you can make other sub-folders and name them according to the V-Ray build version, for example vray_60002_maya2023 . It should look something like this:

    Code Block
    languagepowershell
    D:\Downloads\vray_adv_60002_maya2023_x64.exe -unpackInstall=D:\vray_builds\vray_60002_maya2023
    Section
    Column
    width30%

    After unpacking the installation, your folder structure should look like this:


    D:\vray_builds\
    ├── vray_60002_maya2023\
    │ ├── maya_root\
    │ ├── maya_vray\
    │ └── vray\

    Column
    width10%


    Column
    width30%

    Here is an example with two different V-Ray 6 builds for Maya 2023 - each can be deployed with its own shell script and environment.

    D:\vray_builds\
    ├── vray_60002_maya2023\
    │ ├── maya_root\
    │ ├── maya_vray\
    │ └── vray\
    ├── vray_60010_maya2023\
    │ ├── maya_root\
    │ ├── maya_vray\
    │ └── vray\

    Column
    width20%


    UI Text Box
    typeinfo

    The D:\vray_builds location is an example. The Portable Installation can be placed anywhere.

  3. Set the necessary environment variables into a new Command Prompt and run V-Ray for Maya or V-Ray Standalone.


Tabs Page
titleLinux

  1. Download the V-Ray installer.
  2. Open a Terminal. Type out: the location of the installer that you just downloaded -unpackInstall= location where you wish to unpack. Alternatively, you can drag and drop the installer and a target folder for unpacking into the Terminal to insert their directories. Press Enter to run the command. As an example, you can create a new folder called vray_builds to hold all portable V-Ray builds. Then, you can make other sub-folders and name them according to the V-Ray build version, for example vray_60002_maya2023 . It should look something like this:

    Code Block
    languagepowershell
    /home/user/Downloads/vray_adv_60002_maya2023_centos7 -unpackInstall=/opt/vray_builds
    Section
    Column
    width30%

    After unpacking the installation, your folder structure should look like this:


    /opt/vray_builds/
    ├── vray_60002_maya2023\
    │ ├── maya_root\
    │ ├── maya_vray\
    │ └── vray\

    Column
    width10%


    Column
    width30%

    Here is an example with two different V-Ray 6 builds for Maya 2023 - each can be deployed with its own shell script and environment.

    /opt/vray_builds/
    ├── vray_60002_maya2023\
    │ ├── maya_root\
    │ ├── maya_vray\
    │ └── vray\
    ├── vray_60010_maya2023\
    │ ├── maya_root\
    │ ├── maya_vray\
    │ └── vray\

    Column
    width20%


    UI Text Box
    typeinfo
    The  /opt/vray_builds  location is simply an example. The Portable Installation can be unpacked anywhere.
  3. Set the necessary environment variables into a new Terminal and run V-Ray for Maya or V-Ray Standalone.


Tabs Page
titlemacOS

  1. Download the V-Ray installer .dmg file and double-click to mount it. By default, it mounts to /Volumes.
  2. Open a Terminal and type out /path/to/run_installer -unpackInstall=</unpack/target/location>.
    As an example, you can create a new folder called  vray_builds  in your root directory to hold all portable V-Ray builds. Then, you can make other sub-folders and name them according to the V-Ray build version, for example  vray_60002_maya2023 . An example unpacking command should look like this:

    Code Block
    languagepowershell
    /Volumes/V-Ray\ for\ Maya\ 2023/vray_adv_60002_maya2023_mavericks_x64.app/Contents/MacOS/run_installer -unpackInstall=/vray_builds/vray_60002_maya2023
    Section
    Column
    width30%

    After unpacking the installation, your folder structure should look like this:


    /vray_builds/
    ├── vray_60002_maya2023\
    │ ├── maya_root\
    │ ├── maya_vray\
    │ └── vray\

    Column
    width10%


    Column
    width30%

    Here is an example with two different V-Ray 6 builds for Maya 2023 - each can be deployed with its own shell script and environment.

    /vray_builds/
    ├── vray_60002_maya2023\
    │ ├── maya_root\
    │ ├── maya_vray\
    │ └── vray\
    ├── vray_60010_maya2023\
    │ ├── maya_root\
    │ ├── maya_vray\
    │ └── vray\

    Column
    width20%


    UI Text Box
    typeinfo
    The  /vray_builds  location is simply an example. The Portable Installation can be unpacked anywhere.
  3. Set the necessary environment variables into a new Terminal and run V-Ray for Maya or V-Ray Standalone.


 

Anchor
Environment setup
Environment setup

...

UI Expand
titleExample: vrlclient.xml
Code Block
languagexml
 <!--
	Example contents of vrlclient.xml
	In this example, the primary IP address to look for a valid license is 10.0.0.100 at the default 30304 port.
	Alternate servers (hosts) have not been set.
-->
<VRLClient>
	<LicServer>
		<Host>10.0.0.100</Host>
		<Port>30304</Port>
		<Host1></Host1>
		<Port1>30304</Port1>
		<Host2></Host2>
		<Port2>30304</Port2>
		<User></User>
		<Pass></Pass>
	</LicServer>
</VRLClient>

 

Setup for V-Ray Standalone

...

The [STDROOT] and [PLUGINS] tags in the script are typically replaced with their respective directories by the V-Ray installer. However, if you are using a version earlier than V-Ray 6, update 1, and performing a portable installation, you need to manually replace these tags. The [STDROOT] tag needs to be replaced with the full path to the vray folder in the portable file. The The [PLUGINS] tag needs to be replaced with the full path to the maya_vray folder in the portable file. The tags are located in the following files:

...

If you want to use any additional tools like the standalone denoiser, or the VRIMG to OpenEXR converter, etc., then also add <unpacked_location>/vray/bin to the PATH environment variable.

UI Text Box
colorlight-yellow
iconnote
  • Please note that by default the V-Ray installer will set the TdrLevel (that is GPU timeout detection and recovery) to 0 (disabled).
  • V-Ray Standalone can not be ran if Microsoft Visual C++ Redistributable v143+ is not installed.