Controls on this rollout are for setting up and managed distributed bucket rendering. With distributed rendering, multiple networked systems can all work on a mental ray rendering. Buckets are assigned to systems as they become available.
While distributed bucket rendering can be used for offline rendering of animation frames, as in standard network rendering, it's best suited for speeding up the rendering of single images as you work. Especially when rendering high-resolution still images, you can get much faster results with distributed bucket rendering.
When placeholder objects are enabled, geometry is sent to the renderer only on demand.
With Hilbert order, the sequence of buckets to render uses the fewest number of data transfers.
“Satellite” processors allow any owner of a 3ds Max license to freely use up to four slave machines (with up to four processors each and an unlimited number of cores) to render an image using distributed bucket rendering, not counting the one, two, or four processors on the “master” system that runs 3ds Max.
Each satellite system must have the following files installed:
where <X> is the current 3ds Max version number.
You can use the 3ds Max installation program to install these files: see the Installation Guide for more information.
In addition, information about each satellite should be stored in the RAYHOSTS file. You can set up satellite systems by using the Add button on the Distributed Bucket Rendering rollout, as described in the “Interface” section, below.
Host Systems with SPM Licenses
When you use mental ray SPM licenses, remote hosts (that is, all systems other than the one running 3ds Max) must have the mental ray renderer (ray.exe) and a mental ray SPM license server running. To obtain this, you must run the mental ray installer on all remote hosts, then configure and run the SPM license server. Instructions about how to do so are provided with the mental ray renderer sold by mental images.
Once the remote hosts have been configured to run a licensed instance of ray.exe, you can use them for distributed rendering simply by naming them in the RAYHOSTS file. You can add hosts to the RAYHOSTS file using the Add button described in the “Interface” section, below, just as you would add a satellite processor.
Batch Rendering (Using Backburner or the Command Line)
You can launch distributed bucket rendering from the command line, using 3dsmaxcmd.exe.
If you use satellite processors, you cannot use Backburner to manage distributed bucket rendering. When host processors have SPM licenses, you can use Backburner to manage distributed bucket rendering.
You can use the environment variable MRMAX_OFFLINE_DBR_OVERRIDE to control whether batch rendering uses distributed bucket rendering. The state of this variable overrides the “DBR enable” flag. If it is set to “yes,” “true,” or “on,” distributed bucket rendering is enabled; if it is set to “no,” “false,” or “off,” distributed bucket rendering is disabled. All other values of this variable are ignored.
To use mental ray distributed rendering:
You can click All to select all the host names in the list, or None to select none of the hosts.
With Distributed Maps turned on, remote renderers can use their local copy of maps, which saves time.
Each system renders the buckets assigned to it. The final rendering appears on your local system, with buckets “arriving” in an indeterminate order.
Example: To use mental ray distributed bucket rendering with Backburner:
This procedure demonstrates how to multiply the number of CPUs used for rendering without having to purchase mental ray standalone licenses, using the 3ds Max satellite technology.
If you have a few machines with 3ds Max licensed, and many machines without, you can use both the distributed rendering technology and Backburner so a rendering job would use 8 CPUs per Backburner server, thereby increasing the rendering speed.
For the purpose of this procedure, we're using a render farm comprising three machines named A, B, and C, each running a licensed copy of 3ds Max.
Example of a rayhost file
Translator Options
Distributed Bucket Rendering
The job is submitted to the network rendering farm and is picked up by machines A, B, and C. Each machine uses its internal CPU as well as its satellite CPUs to render the job.
When on, the mental ray renderer can use multiple satellite or host systems for distributed rendering. The list specifies which systems to use. Default=off.
The other distributed rendering controls are unavailable unless Distributed Render is on.
When on, specifies that all texture maps can be found on each of the slave machines doing distributed rendering. This saves time by avoiding the necessity for mental ray to distribute all the maps to each slave via TCP/IP. When off, specifies that all maps used in rendering reside on the local system; that is, the system on which you start rendering. Default=off.
If Distributed Maps is on but the maps are not found on the slaves, those maps simply will not render on the slaves, and rendered output will be incorrect. Also, an error message will appear in the mental ray message window.
If you are doing local rendering only, this setting has no effect.
Maps on all systems in distributed rendering must have exactly the same name and directory path.
Displays the RAYHOSTS file name and path.
After you choose a RAYHOSTS file, this list shows the host systems available for distributed mental ray rendering. You can use this list to choose only those hosts you want to use for this particular rendering. When you render with Distributed Render on, the mental ray renderer uses only the hosts whose names are highlighted in this list. Click a host name to select it. To deselect a selected host name, click it again.
If Distributed Render is on but the list of hosts is empty when you click Render, 3ds Max will not perform distributed bucket rendering.
Click to display an Add/Edit DBR Host dialog, which lets you add a host processor to the RAYHOSTS file.
Click to display the Add/Edit DBR Host dialog, and edit the highlighted host processor's entry in the RAYHOSTS file. Available only when a single list entry is highlighted.
Click to remove the currently highlighted host processors from the list and the RAYHOSTS file. Available only when one or more list entries are highlighted.
Clicking Remove displays a Remove Selected Hosts dialog, which warns you that the host descriptors will be removed from both locations:
To restore a host that you have removed, use the Add button once again.
The Add/Edit DBR (Distributed Bucket Rendering) Host dialog opens when you click Add on the Distributed Bucket Rendering rollout. It lets you add a host (or “satellite”) processor to use when you render using distributed buckets. As the text on the dialog reminds you, the new host is added to the text of the RAYHOSTS file.