Render Elements Panel and Rollout
 
 
 
Command entry:Main toolbar (Render Setup) Render Setup dialog Render Elements panel Render Elements rollout
Command entry:Rendering menu Render Setup Render Setup dialog Render Elements panel Render Elements rollout

This topic describes the available types of render elements and how to use them.

These are the elements you can choose to render separately:

When you render one or more elements, a normal complete rendering is also generated. In fact, the element renderings are generated during the same rendering pass, so rendering elements costs little extra render time.

Rendering to elements is available only when you do production rendering with the default scanline renderer or the mental ray renderer.

NoteThe default scanline renderer supports a maximum of 32 render elements per scene. The mental ray renderer does not limit the number of render elements. If you're using a third-party renderer, check the product documentation for a possible limit on the number of render elements.
NoteWhen using the default scanline renderer, Antialiasing must be on in order to render elements. With Antialiasing off, rendering elements is disabled.

Example

Here is a rendering of a fountain, against a checkered background, and various elements.

On the right is the fully rendered fountain.

On the left, from top to bottom, are diffuse, specular, shadow, and reflection elements.

Two more elements not directly related to the objects in the scene, but important when compositing the image to other sources:

on the left is the background, on the right is the alpha channel.

On the left is an atmosphere element, in this example, a light fog on the back side of the fountain.

On the right is the Z-depth. The fog uses the depth of the image and objects to determine its density. The Z-depth element contains these depth values.

Compositing Rendered Elements

In general, you can composite elements using additive composition, which is independent of the compositing order.

The main exceptions are the background element, atmospheres, and shadows.

In other words, the layers when you composite using black-and-white shadows appear like this:

Top: Atmosphere

Second from top: Shadow element

Middle: Diffuse + Specular + ... (other elements)

Bottom: Background

"Screen" Compositing for Specular and Reflection Elements

The other exception to additive composition is when specular or reflection elements have been generated by certain material shaders. These shaders generate specular and reflection elements you must composite differently:

  • Anisotropic
  • Multi-Layer
  • Oren-Nayar-Blinn

Shaders are assigned on a per-material basis, in the Material Editor. If you render specular or reflection elements in a scene that uses these shaders, then composite them with the diffuse and other foreground components (aside from colored shadows, as described above), by overlaying them using an operation called "Screen" in some compositing programs.

Screen compositing uses this formula to combine elements:

Background * (1 - Foreground) + Foreground

The background is multiplied by the inverse of the foreground color, and then the foreground color is added to the result.

For more information, see the documentation for the compositing program you use.

Procedures

To have the Render Elements dialog assign names to the rendered element files automatically:

  1. Assign an output file name and file type for the (entire) rendered scene using the Files buttonFiles on the Common Parameters rollout of the Render Setup dialog.
  2. On the Render Elements rollout, use the Add button to specify elements for rendering (see following procedure).

To render elements to files without rendering the entire scene to a file, follow this procedure, and then turn off Common panel Common Parameters rollout Render Output group Save File.

To add an element for rendering:

  1. Click Add.
  2. On the Render Elements dialog, do one of the following:
    • Highlight the name of an element, and then click OK.
    • Double-click the name of an element.

      If you have assigned a file name for the entire rendering, the new element is assigned a file name automatically. Otherwise, use the Files button in the Selected Element Parameters group to assign an output file name and file type for the element rendering.

  3. If the element is one (such as Blend or Z Buffer) that has additional parameters, adjust these parameters in the appropriate rollout.

To render the separate elements:

  1. Add the elements you want to render.
    TipYou can use the Enable button (in the Selected Element Parameters rollout) to disable individual elements for a particular rendering pass.
  2. If you haven't assigned file names automatically (see the first procedure, preceding), use the Browse [...] button in the Selected Element Parameters group to assign an output file name and file type for the element rendering.
  3. Make sure Elements Active (at the top of the Render Elements rollout) is turned on, and then click Render to render the scene.

    The rendered elements are also displayed on the desktop, each in its own window. (The windows cascade on top of each other.)

To generate a Combustion™ workspace (CWS) file that contains the rendered elements:

  1. In the Output to Combustion group, turn on Enable.

    If you have assigned a file name for the entire rendering, the new element is assigned a file name automatically. Otherwise, use the Files button in the Output to Combustion group to assign an output file name for the CWS file.

  2. If you want to change the file or pathname click ... [ellipsis].
  3. Do one of the following:
    • Render the scene. The CWS file is created at the time of the rendering.
    • Create Combustion Workspace Now.

      Use this button to create a Combustion workspace at any time. You do not have to render for the workspace to be created.

      NoteThis only works if there is at least one Render Element selected and if your Render Output file type (set on the Common panel) is AVI, RPF, CIN, JPG, PNG, MOV, RGB, RLA, TGA, TIF, or EXR.

Interface

Add

Click to add a new element to the list. This button displays the Render Elements dialog.

Merge

Click to merge the render elements from another 3ds Max scene. Merge displays a file dialog so you can select the scene file to get the elements from. The list of render elements in the selected file is added to the current list.

Delete

Click to delete the selected elements from the list.

Elements Active

When on, clicking Render renders the separate elements. Default=on.

Display Elements

When on, each rendered element is displayed in its own window, which is a feature-reduced version of the Rendered Frame Window. When off, the elements are rendered to files only. Default=on.

The windows for each rendered element open cascaded on top of each other. Move one element's window to see another's.

Element Rendering list

This scrollable list shows the elements to render separately, and their status. To resize the columns in the list, drag the border between two columns.

The list includes the following columns:

Name

Shows the name o f the element. You can change the default name of elements, in the Selected Element Parameters group.

To select an element, click its name in the list. Use Ctrl+click to select additional elements, or Shift+click to select a contiguous group of additional elements.

Enabled

Shows whether the element is enabled.

Filter

Shows whether the active antialiasing filter is enabled for the element.

Type

Shows what type of element this is.

This field is useful if you have changed the name of an element.

Output Path

Shows the path and file name for the element.

Selected Element Parameters group

These controls are for editing selected elements in the list.

Enable

Turn on to enable rendering the selected elements. Turn off to disable rendering. Default=on.

The Enabled column of the elements list shows whether or not an element is enabled.

Enable Filtering

When on, applies the active antialiasing filter to the rendered element. When off, the rendered element does not use the antialiasing filter. Default=on.

The Filter column of the elements list shows whether or not the filter is enabled for an element.

Disabling antialiasing can improve rendering time, although the rendered element that results might appear jagged.

NoteTurning off Enable Filter disables only general antialiasing and map filtering. Edge blending still occurs when this switch is off.
Name

Shows the name of the currently selected element. You can type in a custom name for the element.

This control is unavailable when multiple elements are selected.

[...] (Browse)

The text box lets you enter a path and file name for the element. Alternatively, click the [...] ( ellipsis) button to open the Render Element Output File dialog, which lets you choose a folder, file name, and file type for the element.

This control is available only when a single element is highlighted.

NoteIf you first assign a file name and path for the complete rendering on the Render Setup dialog Common Parameters rollout, the render elements feature uses this name and path automatically as the basis for names of the various elements. It appends an underscore (_) and then the name of the element to the basic file name.

For example, if the render file name is "C:\render\image.jpg", when you add a Specular render element, the default path and file name for the rendered specular element is "C:\render\image_specular.jpg".

Similarly, when you enable output to a Combustion workspace (CWS) file, the file name you assigned is the default name of the CWS file.

For example, if the render file name is "C:\image.jpg", when you enable Combustion output, the default path and file name is "C:\image.cws".

Output to Combustion group

When on, generates a Combustion Workspace (CWS) file that contains the elements you are rendering. You can use this file in the Combustion software, and you can use Combustion workspaces in the Combustion map.

WarningIf you are rendering elements to composite over a background, make sure that the file format for the Diffuse, Shadows, and Alpha elements supports an alpha channel. The formats we recommend for this purpose are: RLA, RPF, PNG, or TGA.
Warning 3ds Max supports some file types that Combustion does not. For use with Combustion, do not render elements as EPS files. If you render to this format, the CWS file is not saved. See your Combustion documentation for more information on supported file formats.
Enable

When on, creates a CWS file that contains the elements you have rendered.

[...] (Browse)

The text box lets you enter a path and file name for the CWS file. Alternatively, click the [...] (ellipsis) button to open the Save To Combustion dialog, which lets you choose a folder and file name for the CWS file.

Create Combustion Workspace Now

When clicked, creates a Combustion workspace (CWS file). This button makes it possible to create a Combustion workspace without rendering.

NoteYou must add at least one render element for this file to be created and the Render Output type on the Common panel must be set to AVI, RPF, CIN, JPG, PNG, MOV, RGB, RLA, TGA, TIF, or EXR.