This page provides information on toon rendering in V-Ray for Maya.

 

Page Contents

 

Overview


 VRayToon is a very simple node that produces cartoon-style outlines on objects in the scene. This includes both simple, solid color shading but also outlined borders on the edges of the object(s).

The result of this rendering effect can now be stored in its own V-Ray Toon Render Element.

 

 



UI Path: Create menu > V-Ray > VRayToon

 

Basic Parameters




On  – Enables or disables the VRayToon effect.

Line color – The color of the outlines.

Width Type – Specifies whether the width of the lines will be measured in Pixels or in World units.

Line Width – Specifies the width of the outlines. You can connect a texture map here to control the line width.

Opacity  – The opaqueness of the outlines. You can connect a texture map here to control the opacity.

Compensate Camera Exposure – When enabled, the VRayToon will compensate the  Line Color brightness to adjust for any Exposure correction from a VRayPhysicalCamera.

Hide Inner Edges  – Determines whether lines will be created for parts of the same object with varying surface normals (for example, at the inside edges of a box).

Normal Threshold – Determines when lines will be created for parts of the same object with varying surface normals (for example, at the inside edges of a box). A value of 0.0 means that only 90 degrees or larger angles will generate internal lines. Higher values mean that more smooth normals can also generate an edge. Don't set this value to pure 1.0 as this will fill curved objects completely.

Overlap Threshold  – Determines when outlines will be created for overlapping parts of one and the same object. Lower values will reduce the internal overlapping lines, while higher values will produce more overlap lines. Don't set this value to pure 1.0 as this will fill curved objects completely.

Do Reflection/Refraction – Causes the outlines to appear in reflections/refractions as well. Note that this may increase render times.

Trace Bias – Depending on the scale of your scene, this determines the ray bias when the outlines are traced in reflections/refractions.

Distortion Map – The texture that will be used to distort the outlines. This works similar to bump-mapping and will take the gradient of the texture as direction for distortion. Note that high output values may be required for larger distortion. Screen-mapped textures work best, although World XYZ mapping is also supported.

Affected Objects – Specifies a list of objects which will be affected by the VRayToon.

As inclusive set – Controls the meaning of the  Result Affect option. When on the  Result Affect is considered as an "Include list" and when off the the  Result Affect is considered as "Exclude list."

 

Notes


  • Right-clicking on the V-Ray Shelf button provides options for selecting any Toon nodes that exist in the Maya scene.