Rendering 3D Models

When batch rendering 3D models originating from Maya, some unwanted artifacts may appear, particularly on models with outlines. This is due to problems with the depth information. You can use the Z-Buffer Smoothing module to smooth out the edges.

To render 3D models:

1.

In the Module Library, select the 3D tab.

2.

Select the Z Buffer Smoothing module and drag it to the Network view.

3.

In the Network view, place it between a MayaBatchRender module and the final Composite module.

4.

Display the Z Buffer Smoothing module properties.

5.

Adjust the Histogram Range and Kernel Size parameters to achieve the optimal rendering of your Maya models. In most cases, you will have to experiment with a balance between the histogram range and the kernel size.

Z Buffer Smoothing Module Properties

Parameter

Description

Histogram Range

Lets you define the range of clean pixels in the depth histogram when rendering 3D models. Only opaque or semi-transparent values are considered.

A low value means fewer pixels are used in the depth calculations and may flatten your object, while a higher value uses more pixels in the depth calculations, but may not eliminate all the image artifacts.

Kernel Size

Lets you determine the size of the matrix used for calculating the depth of a single pixel. For example, for an operation with a kernel size of 3 pixels, Harmony uses the pixels within a 1-pixel radius to calculate the effect. A larger kernel size means longer calculations.