Versions Compared

Key

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

 This page provides information on the Toon Render Effect.

 

...

bordertrue

...

width30%

Page Contents

Table of Contents
maxLevel3
stylecircle

...

 

...

Overview

...

70%
Section

 

Image Removed ---->Image Removed

 

 

VRayToon Overview

Column
width50%

VRayToon is a very simple atmospheric plugin that produces cartoon-style outlines on objects in the scene. The

...

Why an Atmospheric Effect?

...

settings for a single VRayToon atmospheric are applied to all objects selected for inclusion. Multiple toon styles can be represented in a scene by creating several VRayToon atmospherics and including/excluding different sets of objects.

While there are several solutions for adding toon effects to

...

3D renderings

...

in 3ds Max

...

, most of them function either as special materials (shaders) or as render (post) effects.

...

VRayToon has been implemented as an atmospheric effect for several reasons

...

:

Fancy Bullets
typecircle
  • Very simple implementation.
  • Works with any geometry supported by V-Ray, including displaced objects, Procedural Fur

...

...

  • .
  • Works with any camera type supported by V-Ray (spherical, fish-eye, etc.).
  • Works with any camera

...

  • effect (depth of field and/or motion blur).
  • Works with

...

  • ray traced effects such as reflection and refraction.
  • Smooth and consistent outlines for intersecting objects.

Creating a VRayToon Atmospheric Effect

 

Image Removed

VRayToon can be created from the Environment dialog of 3ds Max. To create a VRayToon effect choose Rendering > Environment... from the 3ds Max main menu. Then click the Add... in the Atmosphere roll-out button and choose VRayToon:

 

 

VRayToon is not intended to be a full NPR (non-photorealistic rendering) effect. However, it may be useful in many cases.

The source of VRayToon is available as part of the V-Ray SDK.

Column
width5%

 

Column
width45%

Image Added

 

 

 

...

 

UI Path: Rendering menu > Environment > Add... button > select VRayToon

 

Section
Column
width10%

 

Column
width40%
Column
width360px

Image Added 

 

 

Column
width40%
Column
width300px

Image Added 

Column
width10%

 

 

VRayToon Parameters

...

 

Image Modified



Line color – this is the color – Color of the outlines.

Pixels width – this is the width Width of the outlines in pixels.

World pixels width – this is the width  – Width of the outlines in world units. Lines closer to the camera will be thicker.

Opacity – opacity – Opacity of the outlines.

Normal threshold – this determines 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 smoother transitions between face normals can also generate an edge. Don't set a line. Setting this value to pure 1.0 as this will fill curved objects completely.

Overlap threshold – this determines 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  Setting this value to pure 1.0 as this will fill curved objects completely.

Do reflections/refractions – this will cause the outlines to When enabled, outlines will appear in reflections/refractions as well. Note that this may might increase render times.

Trace bias – this parameter depends on the scale of your scene, it determines the Determines the ray bias when the outlines are traced in reflections/refractions. This parameter depends on the scale of your scene.

Hide inner edges – when this option is  – When enabled, the inner edges of the geometry won't will not be considered for the calculation of the edges texturetoon lines.

Compensate camera exposure – when this option is When enabled, the Line color value will be automatically adjusted to compensate for the any exposure correction applied by the camera.

 

Maps

...

This group of parameters

...

controls the

...

outlines using various texture maps.

...

Note

Screen-mapped maps will work best. Maps with World XYZ mapping are also supported, but

...

might not work very well.

 

...

Color – A texture map for the outline color. 

Width – A multiplier texture for the outline width.

...

 

Distortion – A texture that will be used to distort the outlines, using the gradient of the texture as direction for distortion. This works similar to bump-mapping

...

. Note that high output values may be required for larger distortion.

...

 

Opacity – A texture for the outline opacity.

...

 

 

...

Include/Exclude Objects

...

These controls

...

specify which objects will be affected by

...

the VRayToon atmospheric. Using these options, you can achieve different outlines for different objects in the scene. To do this,

...

create

...

several VRayToon

...

atmospherics and include

...

different sets of objects in each.

...

The Objects/Layers

...

dropdown menu switches the Include/Exclude list between selecting objects and layers.  

An object can be explicitly excluded from VRayToon by unchecking the VRayToon outlines checkbox that is located in the V-Ray Properties of each object.

 

Image Added

 


Notes

...

Fancy Bullets
typecircle

Notes

...

  • VRayToon

...

  • only provides outlines. You will need to come up with your own cartoon-style materials (for example, using falloff maps, etc., or other third-party material plugins).
  • VRayToon has no per-object settings; however, you can add several VRayToon atmospherics to the scene, each applied to a different set of objects through the Include/exclude objects list.
  • VRayToon will not work properly with objects that have

...

  • their Cast Shadows

...

  • property turned off.
  • The quality of the lines depends on the current settings of the Image sampler.

...