RE:Vision Effects products with Cinema4D - Part1

Some of our products work from image data rendered from a 3D renderer. Here are notes about Motion Vectors but they apply as well to exporting surface normals or UV maps…

Since the Motion Vector Pass does not include an alpha coverage matte, the idea is you will need to use either the C4D Object Buffer alpha or simply the color (RGBA) alpha as Coverage Alpha Matte. In After Effects this would amount to something like this.


COMP 1: Apply Motion Blur
[x] Layer 1: Source Color
-> effect: RSMB with Vectors
Set MV source: Layer 2
[ ] Layer 2: COMP 2 Motion Vectors
COMP 2: Fix Motion Vectors
[x] Layer 1: Motion Vector Source
-> effect: Simple Alpha Choker (value 1.5)

(and in COMP 2 you set the alpha channel appropriately as explained below)

Object Coverage Workaround:

There appears to be a slight mismatch between the render passes in C4D and the color “beauty” passes.

Here for demonstration purposes we just moved then added the Object Buffer over the MV pass to compare the results and scaled 5 times to see better. Note where the arrow is how in one case there is a “pixel” coming out and in the other case not. The problem is over and under that example value, the object buffer returns 100% alpha, thus telling us that this is a valid value, yet in the corresponding MV pass pixel value we get a value of zero, which if the Object Buffer says 100% will now mean for us Max Motion towards the lower left corner.

As a result of this you probably as well need to shrink (choke) that matte by something like 1.5 pixels to avoid artifacts. Another alternative as the MV are rendered over black is to simply make a key so the black values become 0 alpha.