The latest version of V-Ray features a lot of new features and probably the most interesting of them is the VRay Distributed Rendering feature , In this tutorial we are going to set it up within Cinema 4D , this tutorial is targeted to windows users , but vray DR can also be used with Mac OS .
Before you read this tutorial , make sure to read some of the info posted by the developers on
the forum . this tutorial is solely based on personal knowledge and some collected info about
Network rendering .
What Is Distributed rendering ?
Distributed Rendering is a technique for distributing a single render job within a single frame across many computers in a network. There are different approaches of doing this but the main concept is to reduce the render times by dividing different parts of the rendering pipeline and giving each participant different parts of the job. The most common way to do this is to divide the frame to be rendered into small regions(buckets) and give each machine to render a number of them. Then get the results and combine them into the final image.
Things you need :
- 1 : A main Computer : and other Computers as slaves ( Known normally as slaves/Nodes or slave machines ) : essentially , you need the main computer that you work on , and other machines to do the heavy lifting or rendering .
- 2 : Fast Wired Connection ( Via a desktop switch ) : DR requires a fast connection due to the large amount of data being sent and received from and to the main computer and the slaves in my case , i only used a cheap desktop switch and connected my main machine and the other computers using a standard DSL cable , the switch is fast enough to handle DR and fast file sharing ( Internet is not required so a router is not essential for DR is this case ) .. i have yet to test wireless connections but they seem to be too slow for the task
- 3 : A main Server (optional) : this is only needed of you wanted to keep all of your assets in one place to be raced by all machines
After we got all of the components , its time to set up the DR software wise . for that , you
have to follow the instruction in this thread
and install the Standalone on all of the slave machines ( its not important to install it main
machine unless you are going to decide later to use it for DR from one of the slaves )
After we have done that , its time to run it from V-Ray within Cinema 4D
In the DR Tap in VRay Render settings , now we can add the IP addresses that we can get from
the slave machines ,
Where do i get the IP from ?
In my case i got the IP numbers from the *slave machines from the active or connected ports (
local Area Connection )
you can do that by using the windows command line ( Start Menu > Type CMD > Enter ) after that
type in the command ipconfig and then your ip list should show for the available connections
Make sure that the slave machines are running the standalone in DR mode ( as described in the
links ) and then copy the IP numbers from the slaves to the DR list
Now when you render , the buckets from the slaves should be rendering along side the Master
or Main machine !
Things to consider about the current DR :
- C4D and external shaders are not supported yet , so you have to use the new VRayShaders for every texture and use only the VRayShaders if you consider rendering with DR
- Make sure to replace the UVW file in the standalone with the provided by the developers
- You Can Save the IP list and use it later in different scenes
*Edit : the latest 1.9 update features a limited support for c4d shaders .