Back to Blog
How to Export Multiple Passes in Cinema 4D
Wanna have more control over the look of your Cinema 4D renders? Well my friend, it's multipass time.
While you can certainly create great images & animations straight out of Cinema 4D, often times you’ll want to add in some compositing polish inside of After Effects or Nuke.
Now the best way to do that is by splitting up your image into different passes (or channels). Instead of rendering all that information all at once, Cinema 4D gives us a way easier method to do the splitting using multi-passes.
What is Multi-Pass Rendering?
A multi-pass workflow can accomplish certain tasks much easier than doing it straight in Cinema 4D. Glows, color correction, and object isolation are a few that come to mind. By using multi-pass rendering we can isolate aspects of our overall image into discreet parts including shadows, reflections, depth and even down to individual material properties.
How to Render Multi-Pass in Cinema 4D
Here's how to render multiple passes in Cinema 4D.
Step 1: Enable Multipass in the Render Settings
If you’re using C4D’s native renderers (standard or physical), the first step to isolating all the things is to first enable multi-pass rendering in our Render Settings.
Step 2: Add Your Passes from the Button List
You can now add the various passes offered by Muli-pass by selecting them from the button list.
Step 3: Define Your File Path
Be sure to switch over to the ‘save’ parameter in the Render Settings and define the file path for your regular image (also known as a beauty pass: all the individual passes composited in one image) as well as your multi pass file path. With your selected passes enabled, rendering will create separate files containing those particular channels. Blammo!
Using Object Buffers in Cinema 4D
Maybe one of the most widely used aspect of exporting multiple passes in Cinema 4D is to create a matte that will isolate an object from your main RGB image. Take this image for example:
Suppose we want to isolate the cube so that we can insert text behind it in After Effects. We could certainly draw a mask with the pen tool in AE or even key it using keylight, but an object buffer can easily take the work out of this, especially if this is animated. Adding an Object Buffer to the cube will create a black & white matte of just the cube which we can use to isolate it.
To add the Object Buffer, right click on the object and select Cinema 4D Tags > Compositing.
Click on the new compositing tag and go to the ‘Object Buffer’ tab. From there enable one of the boxes and assign it a number. In your render settings, add the ‘Object Buffer’ pass and ensure that the same value in the Object Buffer tag is entered under ‘Group ID’.
Rendering will now give you two files (a matte and a fill) to take into After Effects which you can use to set up a luma track matte and insert you text. You can even color correct the cube, blur it or whatever now that you’re in composite land. May the Object Buffer force be with you...
Use as many buffers as you like to isolate those objects. Just be sure to add another pass for each separate buffer you want to use and make sure you have the corresponding Group ID number in the Render Settings.
Handy tip: Adding an object buffer to a parent object will automatically include the children in the buffer as well.
Handy tip #2: Multiple objects, each with their own compositing tag, can share the same Group ID number. So for example, you could put both the cube and the sphere into one Object Buffer pass if both their compositing tags used Group ID 3.
Handy Tip #3: If shrimp smells funny, don't eat it.
Here’s a sampling of all the different passes you can isolate and take into After Effects for compositing. Note that if you don’t have anything in the scene related to a particular pass, you’ll render black (as is the case here with Atmosphere and a few others).
So now you know how to export multiple passes in Cinema 4D and are officially Milla approved!