Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Custom AOV are presented in the AOV Selector's Custom section, and can be selected for output to an image layer just like the built-in AOVs. A custom AOVs is represented by shading nodes of a specific type. The ; the node's name defines the AOV name.The AOV type is defined by the node, either by an attribute or by the node type itself.

Color and Float Custom AOVs

Color Values for color and float custom AOVs values can be defined on a per-surface shader basis. These custom AOV value assignments are contained in a AOV Group, which can be used with one or many surface shaders.

Multimedia
nameCustomAOVSetup.mp4
width100%
autostarttrue

Creating Defining and rendering a new color custom color AOV that produces a checker for all objects using this principled shader. Multimedianamebox.movwidth100%

AOV Group

An AOV Group with some custom AOVs.

...

To create and assign a new AOV group to a surface shader, click the checker + button for on the AOV Group row in the surface shader's attributes.

Existing AOV Groups can be assigned To assign an existing AOV Group, select it in the option menu; clicking . To edit the AOV group, click the arrow button will select the AOV group. 

It is also possible to create an AOV Group from the the Hypershade's Create panel; it is listed Create panel, under the 3Delight → AOV section.

Image Added

Creating a new AOV group using the Hypershade's Create Panel.

Finally, AOV Groups can be created in the Node Editor by pressing the tab key and typing dlAOVGroup.

Anchor
CreateNewAOVInAOVGroup
CreateNewAOVInAOVGroup
Creating a new custom AOV

Click one of the + button to create add a new custom AOV to that list. A name field will appear so the new AOV can be named. Once the name is set, the new AOV will be added to the proper list and its entry in the list will be selected so that its value can be defined.

Multimedia
name2019-06-18_17-58-23AOVGroupCreateNewColorAOV.mp4
width100%

Assigning values to custom AOVs

Once an AOV is selected in the Color AOVs list or the Float AOVs list, a new element will be shown below the lists to allow defining a value for that AOV. It is possible to connect the output of a shading node to this element, as long as it is not the output of a surface shader.

The Node Editor can also be used to create that connection. The AOV Group node has array attributes for color AOVs and float AOVs; each array element consist of a AOV attribute, which defines the AOV name, and a Value attribute, which defines the color or float value produced in that AOV.

This element defines that Defining the output of a checker shader as the value of "myColorAOV2" AOV will get the output of a checker shading node.

...

.


Renaming a custom AOV

To rename a custom AOV, simply edit its node's name. All AOV groups using this custom AOV will be updated automatically.

In the Attribute Editor, the custom AOVs in use by an AOV group appear as tabs. In the Hypershade, the connect custom AOVs can be seen in the Node Editor panel when graphing the inputs of an AOV group. All custom AOV nodes appear in the Utilities tab of the Hypershade's Browser panel.

Color AOV and Float AOV Nodes

Image Added

Color and Float AOV nodes have no editable attribute.


The name of a color AOV node or a float AOV node defines a custom AOV. The AOV value is assigned on a per surface shader basis, through an AOV Group node. To rename the AOV, change its node's name. Color AOV nodes and Float AOV nodes have no editable attributes.

Creating a color AOV or a Float AOV node

They can be created and connected manually to AOV group nodes, but this is easier to achieve using the AOV group node's user interface.

There are a few ways to create a color or float AOV node:

  • click the + button under the appropriate AOV list in an AOV Group, as explained here, or
  • click on the desired node type in the Hypershade's Create panel, in the 3Delight → AOV section, or
  • in the Node Editor, press tab and begin to type dlAOVColor or dlAOVFloat.

Image Added

Creating a new color AOV or float AOV node using the Hypershade's Create Panel.


Primitive Attribute AOV

The Primitive Attribute AOV node defines a custom AOV that will contain the value of an attribute defined on a renderable object. Every  renderable objects that define this primitive attribute will produce values for that AOV.

Creating a New Primitive Attribute AOV

Image Added

To create a primitive attribute AOV node:

  • click on its button under the 3Delight → AOVs section of the Hypershade's Create Panel, or
  • in the Node Editor, press tab and begin to type dlAOVPrimitiveAttribute.

Defining the Primitive Attribute Name

The name of the Primitive Attribute AOV node defines both the name of the primitive attribute and the name of the AOV. The node can be renamed through the usual Maya interface for that action, including editing its name field in the Attribute Editor or the Hypershade's Property panel, or by clicking twice on its name in the Node Editor.

Primitive Attribute AOV Attributes

Image Added

The attribute of a Primitive Attribute AOV node.


Output Format

The type of data that the AOV will contain. Available output formats are:

Float

A single quantity. Useful for opacity (”alpha”) or depth (”Z”) information.

Color

A 3-component color.

Vector

A 3D point or vector. This will help differentiate the data from a color in further processing.

Quad

A sequence of 4 values, where the fourth value is not an alpha channel.