This page provides information about Distributed Rendering with V-Ray for Cinema 4D.

Page Contents ×

 

Overview


Distributed rendering is a technique for distributing a single render job within a single frame across many computers in a network. This method utilizes all available resources in order to shorten the render times and put less load (or distribute the load) on a certain machine.

When submitting a scene for distributed rendering, make sure it consists only from V-Ray native shaders. Any other shaders will render gray or black. 

In V-Ray, DR is done completely through TCP/IP protocol, which is the standard protocol of the Internet and thus the most common protocol that is supported by the hardware. V-Ray itself does not need additional file or directory sharing to perform DR. However, you might need some file/directory sharing for the bitmaps or other additional files used during rendering. The distribution management is divided into a render client and one or more render servers.

The render client is the computer from which the rendering is started. Cinema 4D and V-Ray for Cinema 4D must be running on this computer in order to start DR. The process initiated by the render client divides the frame into rendering regions and distributes them among the render servers, and later collects the results. In any DR job, there is only one render client.

render server is one of the computers in the network that does the rendering work. A render server requests render data from the render client, processes it, and sends the result back. In any DR job, there can be many render servers.

UI Path


 

Render > Edit Render Settings... > V-Ray Bridge > V-Ray DR

 

Parameters


 


Use Distributed Rendering – Enable this option to use Distributed Rendering starting with your next render process.

Enable Assets Sending to All Slaves – Enable this option to send all scene assets to the machines involved in the rendering before the process starts.

DR Type – Chooses what type of rendering to perform:

Use V-Ray Standalone Slaves – Uses V-Ray standalone versions for rendering. It requires installation of V-Ray Standalone nodes to the slave machines. This is the default option.

Digits from Right – Specifies the number of digits in the IP. 

Port – Specifies the port number where the DR server operates. 

 20207 is the default port and it is recommended not to change it unless you know what you are doing. All slave machines run on the same specified port.

Render on Local Host – The client/local machine will function as a render server along with the other computers used to complete the rendering task. Disabling will mean all rendering will be done on other machines apart of the DR set up.

Save IP List – Lets you save an IP list of slaves to a file.

Load IP List – Loads IP list of slaves from a file.

Add IP of Team Render Clients – Allows you to enter manually an IP of a machine.

You don't need to add 127.0.0.1 (e.g. your machine) to the list of slave machines. It is automatically added as a master rendering node.

Slave #1/#2 – Enables rendering on the respective slave machine. 

 

Usage Examples


 

 

 

1. Start the DR server on the slave machine. To do that, open the cmd and run "C:\Program Files\MAXON\Cinema 4D R20\plugins\VRayBridge\res\libs\win64\vray.exe -server"

If you are using more than one render slave machine, you have to perform this operation on each of them!

You can also start the render slave from the Start Menu > V-Ray for Cinema 4D > Launch V-Ray render slave.

When installing V-Ray for Cinema 4D and choosing Installation type: Standalone, note that the location of the vray.exe file will be in C:\Program Files\Chaos Group\V-Ray\Cinema 4D\bin\vray.exe .

 

 

 

 


 

2. On the render client machine, go to Cinema 4D's Render Settings > V-Ray Bridge > V-Ray DR and enable Distributed Rendering.

What you need to do now, is to add the render slaves IP's. That is the IP address of the machines that will do the render job.

By default, your machine (the render client) is listed as the first Slave with IP: 127.0.0.1. You don't need to change this field, except in case you don't want your machine included in the render process.

You can add as many render slaves as you wish. Pressing Enter after the IP automatically loads next Slave field.

The default Port is 20207. Please leave it as it is if you don't specifically know that you need something else.

All render slaves use the same port. 

 

 


 

3. This step is optional and is to make sure all your bitmap textures are rendered correctly by the render slaves.

Go to V-Ray Bridge > Commands > V-Ray Convert Bitmaps.

Performing this command, V-Ray transforms internally the bitmap into a VRayAdvBitmap shader, which is read by the render slaves.

 

 


 

 4. Render the scene.

You can see the rendering process via the VFB or Picture Viewer as usual.

 

 


 

 

 

 

1. Start the DR server on the slave machine. To do that, open the Terminal and run "/Applications/MAXON/Cinema\ 4D\ R20/plugins/VRayBridge/res/libs/osx/vray -server"

If you are using more than one render slave machine, you have to perform this operation on each of them!

When installing V-Ray for Cinema 4D and choosing Installation type: Standalone, note that the location of the vray file will be in /Applications/ChaosGroup/V-Ray/bin/vray .

 

 


 

 2. On the render client machine, go to Cinema 4D's Render Settings > V-Ray Bridge > V-Ray DR and enable Distributed Rendering.

What you need to do now, is to add the render slaves IP's. That is the IP address of the machines that will do the render job.

By default, your machine (the render client) is listed as the first Slave with IP: 127.0.0.1. You don't need to change this field, except in case you don't want your machine included in the render process.

You can add as many render slaves as you wish. Pressing Enter after the IP automatically loads next Slave field.

The default Port is 20207. Please leave it as it is if you don't specifically know that you need something else.

All render slaves use the same port. 

 

 


 

3. This step is to make sure all your bitmap textures are rendered correctly by the render slaves.

Go to V-Ray Bridge > Commands > V-Ray Convert Bitmaps.

Performing this command, V-Ray transforms internally the bitmap into a VRayAdvBitmap shader, which is read by the render slaves.

 

 

 

 

 

 


 

4. Render the scene.

You can see the rendering process via the VFB or Picture Viewer as usual.