Toon modifier properties
The toon modifier changes a model's rendering to imitate a cartoon drawing style. Only a few
colors are used, and the model's shader, texture, and related properties are ignored.
Use these properties to work with the toon modifier:
Property
whichModel.toon.
style
whichModel.toon.
colorSteps
whichModel.toon.
shadowPercentage
whichModel.toon.
highlightPercentage
whichModel.toon.
shadowStrength
whichModel.toon.
highlightStrength
whichModel.toon.
lineColor
whichModel.toon.
silhouettes
whichModel.toon.
creases
whichModel.toon.
creaseAngle
whichModel.toon.
boundary
Inker modifier properties
The inker modifier adds silhouette, crease, and boundary edges to an existing model. Silhouettes
are edges along the border of a model. Crease edges are created when the angle between two areas
of the mesh exceeds a given threshold.
368
Chapter 16: Working with Models and Model Resources
Access
Description
Get and set
The following are the possible values:
: sharp transitions between
#toon
available colors
#gradient
available colors
#black and white
between black and white
Get and set
Maximum number of colors available,
rounded to the nearest power of
limit of
Get and set
The percentage of color steps to be
used in shadows
Get and set
The percentage of color steps to be
used in highlight
Get and set
A floating-point value that determines
shadow darkness
Get and set
A floating-point value that determines
highlight brightness
Get and set
Color object describing line color
Get and set
TRUE (1)
presence or absence of lines around
silhouettes
Get and set
TRUE (1)
whether lines are drawn when mesh
boundaries meet at a crease
Get and set
A floating-point value controlling crease
angle detection
Get and set
TRUE (1)
whether lines are drawn at boundary of
surface
: smooth transitions between
: sharp transitions
16
or
value indicating
FALSE (0)
or
value indicating
FALSE (0)
or
value indicating
FALSE (0)
Default
#gradient
2
, with a
2
50
50
1.0
1.0
Black
(rgb 0,0,0)
TRUE (1)
TRUE (1)
0.01
TRUE (1)
Need help?
Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?
Questions and answers