This page provides information on the Distributed Rendering rollout in the Render Settings.
|
|
This window is opened by clicking the Settings... button. These options set the machines V-Ray will use for Distributed Rendering. These settings can be adjusted while V-Ray is rendering. Note that progressive production mode and IPR (CPU and GPU) mode only allow adding and enabling servers on the fly. CPU Bucket mode supports both adding and removing servers on the fly.
|
1. Set-up the Render Servers. You can do that in two different ways.
1.1 Start the render servers as specified in the table on the Distributed Rendering page.
1.2 Start the V-Ray Stand Alone and enter the "vray -server" command in the command prompt.
2. Set-up the Render Client. In the Maya interface, open the Render Settings window, in the Settings tab under the System rollout click on the Settings button in the Distributed Rendering group. Add all the Render Servers by inputting their IP's in the Add Server name or IP field and click on the Add Server button. You can include or exclude the servers in the list in the current rendering by selecting them from the list and toggling the Toggle Status button.
Distributed Rendering settings are no longer saved in a collection of .tmp files but instead, are all included in a single XML file called vray_dr_list.xml. If an XML file is not found, V-Ray will print a warning and automatically convert old .tmp files to XML. The default XML location is as follows:
Windows: C:\Users\<username>\Documents\maya
Linux: /home/<username>/maya
OS X: /Users/<username>/Library/Preferences/Autodesk/maya
In addition, the environment variable VRAY_FOR_MAYA_DRLISTS_PATH can be used to set an alternate XML file path. This allows multiple users to use their own DR settings on the same machine.
The following is an example of an XML configuration file that can be downloaded here:
<?xml version='1.0' encoding='UTF-8'?> <hostlist> <serversLimit>4</serversLimit> <server> <host>someaddress</host> <port>20207</port> <alias>render host name here</alias> <enabled>0</enabled> </server> <server> <host>127.0.0.1</host> <port>20207</port> <alias>My own computer</alias> <enabled>1</enabled> </server> </hostlist> |
For users who do not wish to switch to the new XML method, V-Ray provides Python functions for compatibility. These are mentioned in a warning after the first automatic file conversion. First, the vray module must be imported:
import vray |
To convert an XML file back to TMP use the following:
vray.vray_dr_manager.vrayDRConvertXMLToTmp() |
To convert a TMP file to XML use this function:
vray.vray_dr_manager.vrayDRConvertTmpToXML() |
|