Select the type
of brush you want to paint with. All brush types use the shape defined by the
to the stroke path according to the defined attributes.
already applied to the canvas or scene. If the stroke uses fake shadowing
(see Fake Shadow in Shadow Effects?brush settings), the shadows also smear.
look of paint already applied to the canvas or scene. If the stroke uses fake
shadowing (see Fake Shadow in Shadow Effects?brush settings), the shadows also blur.
In the canvas,
the Erase brush removes the color from the painted pixels, revealing
the underlying canvas Clear Color and maintaining the shape of the
brush. For details, see Erase paint from the canvas. In the scene
painting view, the Erase brush replaces the pixel color of the paint
stamps it overlaps with black (alpha 0). When you erase,
the alpha values are lowered, rather than increased, which means you can use
the Erase brush to erase holes in a texture or scene.
Figure 2.3: Brush Types
appear in the Paint Effects Brush Settings window, and the Attribute Editor for
any brush node. Use these settings to create additional tubes or hairs around
the central tube.
Figure 2.4: Thin Line/MultiStreak Type Brush
the lighting of the object and makes the edges around tubes hard while using
the Mesh Brush type. as an example, if the tube sections are set to 4
and hard Edges is became on, it’s going to make the tube color as
though the 4 sides are flat, instead of seeking to simulate a rounded tube. For
bends within the direction of the tube, for example, due to modifications
within the Width Scale, the bend perspective across a given should be
sufficiently huge to make the perspective hard.
Figure 2.5: Mesh Type Brush
type stroke is not same as converting a stroke to polygons.
Rendering Brush Strokes:
created in Paint Effects render only in the Maya Software Renderer. However,
they can also be rendered in mental ray if they are converted to geometry
(polygons or NURBS). Note that this may not work for all brushes. For example,
the Smear brush type will not smear pixels when it is converted to geometry.
Apart from the
type of brushes, various other attributes that control the stroke are as
Size of the
stroke: The overall size of the stroke relative to other objects and strokes in
a scene is controlled through the Global Scale slider as shown in Figure 2.6.
Figure 2.6: Size of Stroke
Controlled through Global Scale Slider
For simple strokes, the brush width
defines the width of the paint stamps applied along the stroke path. For
strokes with tubes, the brush width defines the stroke path boundary—tubes can
start growing only within the path defined by the brush width.The Brush Width
is represented by the diameter of this outline.To change the size of the area that a brush
stroke covers, value of the Brush Width can be adjusted. For simple brush
strokes, such as the default stroke, changing the Brush Width value appears
similar to changing the Global Scale value. However, if the brush is complex,
changing the Brush Width appears to be changing the size of the area covered by
the stroke. For example, if a stroke is painted using the astroturf brush; it
brush in Paint effects is a rounded tube. growing the Flatness 1 setting makes
the brush flat as shown in figure 2.7. Flatness 2 is available most effective
for strokes that use tube. For easy strokes, Flatness 1 defines how
flat the paint lies along the stroke direction. While Flatness is 0,
the paint is implemented to the stroke as in case you squeezed it out of the
tube. The stroke seems raised from the side. The paint lies flat on the surface
as if you removed the excess paint. Refer Figure 2.7.
Figure 2.7: Increasing the
Flatness of a Brush
Defines how smooth, or blurry you need
the paint to be along the edges of the stroke path (for easy strokes) or along
the edges of tubes (for strokes with tubes). Better values make the edge
greater blurry. Refer Figure 2.8.
Figure 2.8: Brush Softness
are used to twist a stroke around its path. Increasing the twist rate
of a brush, twists the stroke like a ribbon. Refer Figure 2.9.
Figure 2.9: Twist Control
A Paint type
creates strokes as dots. To control the number of dots in the stroke, Stamp
Density is used. Increasing the Stamp Density creates more dots and a smoother
stroke as shown in Figure 2.10. If it is decreased, the dots are visible in the
stroke as shown in Figure 2.11.
Figure 2.10: Twist Control Smoother
Stroke Figure 2.11:
Dotted Stroke Due to
Due to Increased Stamp Density Decreased to
scenes, the brush size has to remain constant regardless of how close the
camera is to the stroke. For example, in scenes that have toon lines. In this
case, Screen space Width Control is used as shown in Figure 2.12.
Figure 2.12: Screen Space Width
For detailed step-by-step procedure,
refer to demo Working with Brushes from: eResources 4 Me>> My
Varsity>> Dynamics and Realistic Features>> Show Me How
When you paint with tubes, Paint effects plants tubes alongside the
stroke path. Those tubes can grow into an almost limitless kind of shapes and
forms, relying on the settings you define within the creation, growth,
behavior, length Mappings, and user MEL Scripts subsections. To use any of the
settings in those subsections, the primary Tubes option need to be selected.
Tubes are small brush strokes. Those radiate from the center of the area that
is defined through the brush width. Using tubes, a series of crawling lines may
be created. The tubes can be used to paint branches, twigs, leaves, and
flowers. Tubes assist to create a flowering plant from a simple black line.
They also can create a row of trees where every tree will have its personal
branches and leaves. Following are a number of the controls for tubes. Refer to
Figure 2.13: Tube Controls
This is a control that allows a single tube or a
clump of tubes to appear at the start of the stroke. The value of Start Tubes
determines the number of tubes that are placed at the start of the stroke.
This control randomizes the placement of tubes
along the stroke.
Reverse allows reversing the face of the tubes. For
example, if a single stroke is painted across multiple surfaces, the tubes on
one surface face the opposite direction as compared to the tubes on the other
surface. In this case, Normals of one of the surfaces need to be reversed by
clicking the Polygon menu and selecting Normals –> Reverse. If a
NURBS surface is causing the problem, then click the Surfaces menu and select Edit
NURBS –> Reverse Surface.
When on, the start position of tubes snap to the
closest point on the geometry surface. Surface Snap works best on non-deforming
2.1.3 Growing Flowers
As a part of the growth simulation, tubes can sprout branches, twigs,
leaves, flowers, and buds. Even though you may apply those settings actually to
simulate plant growth, you may additionally use the growth pattern to create
different exciting effects. For example, a dripping watercolor effect may be
performed using branches. Use the growth options to choose what grows off of
tubes. The controls inside the growth section of the brush settings permit you
to add flowers on your strokes. To add flowers, increase the growth roll-out
panel by way of selecting the geometry and select flowers. Flowers will appear
at the end of the tubes as shown in figure 2.14.
Figure 2.14: Flowers at the end
Tube Direction to Along Normal:
Through this setting, tubes point in a direction
based on the normal of the path curve. This means perpendicular to the curve
Tube Direction to Along Path:
Through this setting, the tubes point in the
direction of the path.
Through this setting, tubes can be pointed in the
direction as they rotate around the point of origin.
This refers to the direction the tubes point up and down relative to the
path. For example, consider that a wooden log is to be lifted to position it on
the ground. If the elevation is 0, it means that the log is on the ground. If
the value of elevation is 1, it means that wooden log is straight. If values
are more than 1, the wooden log is pushed in opposite direction.
the minimum and maximum value of Elevation is set to 1, Azimuth will have no effect.
Some more settings that control flowers are as follows :
The appearance of flowers along the tube can also be controlled. Flower
Start attribute sets the location where the first flowers will appear. Flower
Angle sets the angle of the flowers as they tilt inwards. Setting of 1 in
Flower Angle determines the angle of first flower and setting of 2 determines
the angle of the last flower. The settings in between 1 and 2 set the angles of
other flowers. Refer to Figure
Figure 2.15: Flower Settings
The number of petals which are to be created in a flower is managed by
using Petals In flowers attribute. growing the value will increase the number
of petals in a flower. while flower petals are created, they’re created in
radial clusters (flowers) at one position round a branch or twig. This setting
defines what number of petals are in each cluster. You may bunch multiple
flowers collectively to make more exciting flowers. while mixed with the brush
type you can outline shapes like spheres, in addition to control the profile of
a petal. Width Scale is applied as a scale to the current width and defaults to
1.0 so that previous presets work with it.
Through this setting, the facing of a flower closer to a light source is
managed. If the value is set to 1, the flower faces the sun. This value can be
set inside the growth roll-out panel. Sun direction is the reference factor for
the Flower Face sun and Leaf Face sun attributes.
2.1.4 Adding Leaves
Leaves can be added just like flowers are added from the Growth roll-out
panel as shown in Figure 2.16.