Brushes and strokes

Like a traditional paint program, Paint Effects allows you to use a brush and paint strokes. In Paint Effects, the brush and stroke have unique qualities and characteristics.

A brush contains the various attributes that define the appearance and behavior of the paint. The template brush settings define the initial settings for a brush.

When you drag the Paint Effects brush, you create a path for the brush called the paint stroke.

A stroke is a 3D curve (or collection of curves) with attributes that define how the paint is applied along the stroke path. You can paint strokes directly in the 3D scene or on objects.

When you select a brush preset from the shelf or from the Visor, that brush is copied to the template brush. Any changes you make to the template brush settings affect what the next stroke looks like, but they do not affect any previously painted strokes.

To select a Paint Effects preset brush from the Shelf

  1. From the Toolbox panel layout shortcuts, select the Single Perspective View.
  2. From the Shelf, select the Paint Effects tab to display the Paint Effects preset brushes.

  3. From the Paint Effects shelf, select the Daisy Large Brush.

    In the scene view, the cursor changes to a red circle with a vertical line indicating it is set to paint a stroke. The circle indicates the width of the brush path. With some types of strokes, this path will appear as the width of the actual paint; with other stroke types, it indicates the width of the tube seeding path, for example, plants, trees, etc.

    The settings of the preset brush you select are copied to the template brush. The template brush settings are used when a paint stroke is drawn. If you want to modify the brush presets before you begin to paint, you must edit the template brush after you’ve chosen the preset brush ( Paint Effects > Template Brush Settings).

    By default, the brush cursor moves along the ground plane. The ground plane lies in the X, Z dimension. This is the default behavior for the brush cursor. If you draw a paint stroke, it is applied to the ground plane (X, Z).

To paint 3D strokes in the scene view

  1. With the Daisy Brush selected, draw one short paint stroke on the ground plane using one of the following methods:
    • Drag the stylus across the tablet while exerting slight pressure on the stylus as you move it.
    • Drag the mouse while pressing the left mouse button.

    One or more wireframe daisy stalks appear in the scene view along the path of the paint stroke. When you paint a stroke in the scene view it initially appears as a wireframe. Paint is not applied to the stroke until it is rendered.

    The stalks that extend out of the curve or stroke are called tubes. In Paint Effects, strokes are either simple strokes or strokes with tubes.

    Because the stroke has a curve associated with it, you can move, scale, or rotate the stroke like other objects in the scene. You can edit the curve to modify the shape of the stroke path.

  2. Dolly and tumble the scene to better view these strokes with tubes in 3D.
  3. Select the Move Tool from the Toolbox.

    A move manipulator icon appears at the X, Y, Z origin. (If the move manipulator does not appear, you can click on the stroke to reselect it with the Move Tool.)

  4. In the scene view, drag any of the Move Tool manipulator arrows to reposition the stroke.

Each time you paint a stroke, Paint Effects creates a new brush and stroke node and attaches them to the stroke that is created. You can modify these brush and stroke nodes once they’ve been created. To edit these brush or stroke attributes, you use the Attribute Editor.

To modify the attributes of an existing paint stroke

  1. To view the Attribute Editor, click the Show/Hide icon on the Status Line.

    The Attribute Editor displays.

  2. In the scene view, select the paint stroke associated with the daisies. You can select a stroke by one of the following methods:
    • Select the curve associated with the stroke path.
    • Select the tubes associated with the stroke path.

    The Attribute Editor updates to display the nodes associated with the selected daisy stroke. The various attributes for the stroke appear under different tabs. Each tab represents a node associated with a specific set of attributes.

  3. Click on the strokeDaisyLarge1 tab to see its attributes.

    This tab contains information related to the transform node, because the most important attributes on this tab control the stroke’s curve transformation.

  4. Under Transform Attributes, set Rotate to be 0, 90, 0.

    The stroke is rotated 90 degrees about the Y axis.

  5. Click the strokeShapeDaisyLarge1 tab to see its attributes.

    This tab is called the stroke attribute node because the attributes establish the paint stroke’s properties when the stroke is first created.

  6. Expand the End Bounds section by clicking the arrow to see the Min and Max Clip attributes.

    Min Clip specifies the start of the stroke along the path. Max Clip specifies the end of the stroke along the path.

  7. Drag the Max Clip slider from its present value of 1.0 to a value of 0.1.

    The stroke path is shortened.

    Min and Max Clip can be animated to create the effect of the paint advancing along a path.

  8. Drag the Max Clip slider back to its original value of 1.0.
  9. Click the daisyLarge1 attribute tab to see its attributes.

    This is the node that contains attributes related to the paint brush associated with the stroke.

  10. Set the Global Scale attribute to 6.0.

    The daisies scale larger along the stroke’s path.

  11. In the daisyLarge1 node, expand the Tubes attributes, then Behavior and Forces.

  12. Drag the Gravity slider to the right so that the value of gravity increases to a value of 1.0.

    The daisies lay on the ground plane, as if wilting, with the increased gravity.

    Drag the Gravity slider back to its original position approximately so that the stalks appear upright.

    The last tab in the Attribute Editor is the time node. The time node is used for animation and dynamics. You do not use this node in this lesson.