Sapphire Plug-ins for Autodesk: BrushChalkMaskComp


In the S_BrushMaskComp Plugin.

Simulates the look of a chalk drawing by layering brush strokes of different sizes and directions. This effect can be used with one of the following brushes: felt tip, splat, water color, stipple, pencil, pastel, sponge, splodge, round, or cubes. In addition, there are controls for adjusting shape, size, orientation, density, lighting, and shading.


Source: The clip to be processed.

Back: Optional. The clip to use as background.

Mask: Optional. The source brush colors are scaled by this input. A monochrome Mask can be used to choose a subset of Source areas that will generate brushes. A color Mask can be used to selectively adjust the brush colors in different regions. The Mask is applied to the source before the brushes are generated so it will not clip the resulting brushes.

Matte: Optional. Specifies the opacities of the Front clip. These values are scaled by the Source Opacity parameter before being used.


Load Preset: Push-button .
Brings up the Preset Browser to browse all available presets for this effect.

Save Preset: Push-button .
Brings up the Preset Save dialog to save a preset for this effect.

Max Size: Default: 1.5, Range: 0 to 10, Shared .
Sets the maximum brush size. No brushes will be larger than this size.

Size Range: Default: 0.01, Range: 0 to 1, Shared .
Scales the range of the brush sizes measured from the maximum brush size.

Density: Default: 80, Range: 1 to 100, Shared .
Sets the overall density of brush strokes per layer.

Layers: Integer,  Default: 3, Range: 1 to 5, Shared .
The number of layers to paint.

Shape: Popup menu,  Default: Match To Style .
The shape of the brush.
Match To Style: use the brush shape that matches the current paint style. Round matches to Oil and Sponge matches to Chalk.
Felt Tip: an opaque, triangular shape.
Splat: a shape of sparsely packed fine dots.
Water Color: a coarse, blobby shape.
Stipple: a soft, rectangular shape with holes.
Pencil: a long, thin shape.
Pastel: a long, funnel shape, like a comet.
Sponge: a very coarse, rectangular shape.
Splodge: a soft, misty, rectangular shape.
Round: a soft oval shape with coarse trails, like a jellyfish.
Cubes: a square shape.

Angle: Default: 60, Range: 0 to 360, Shared .
Rotates the orientation of the brushes.

Vary Angle: Default: 20, Range: 0 to 360, Shared .
Randomly rotates the brushes up to this amount in one direction.

Rel X Density: Default: 1, Range: 0 or greater, Shared .
Scales the density of brush strokes in the X-direction.

Rel Y Density: Default: 0.8, Range: 0 or greater, Shared .
Scales the density of brush strokes in the Y-direction.

Comp Premult: Check-box,  Default: off, Shared .
Enable this for a better composite if the Front pixel values have been pre-multiplied by the Matte pixel values. This is also known as an 'additive' composite.

Contour Alignment: Default: 0.5, Range: 0 to 1, Shared .
Interpolates between the brush stroke direction being fully aligned to the angle param (0) and the contours of the original source (1). Vary angle offsets the stroke in both directions from this interpolated direction.

Vary Position: Default: 1, Range: 0 to 10, Shared .
Shifts the brush positions randomly in all directions. A value of zero places all the brushes on a regular grid.


Contrast: Default: 0.05, Range: 0 to 10.
Scales the contrast of the individual brushes.

Chalkiness: Default: 0.6, Range: 0 to 1.
Scales the details of the brush from a sparsely drawn, coarse stroke to a fully drawn, smooth stroke.

Blending: Default: 0.6, Range: 0 to 1.
Scales the transparency of the individual brushes, causing layered brushes to look blended.

Bg Opacity: Default: 1, Range: 0 to 1, Shared .
Scales the opacity of the background before combining with the brushes. If 0, the result will contain only the brush image over alpha.

Smooth Colors: Default: 0.08, Range: 0 to 1, Shared .
Blurs the source to smooth the color palette and help reduce some brush stroke jitter.

Use Source Color: Default: 0.8, Range: 0 to 1, Shared .
Interpolates between the paint color param (0) and the original source color (1).

Paint Color: Default rgb: [1 1 1], Shared .
The paint color to use.

Seed: Default: 0.123, Range: 0 or greater, Shared .
Used to initialize the random number generator. The actual seed value is not significant, but different seeds give different results and the same value should give a repeatable result.

Invert Mask: Check-box,  Default: off, Shared .
If enabled, inverts the mask input so the effect is applied to areas where the Mask is black instead of white.


Mocha: Default: 0, Range: 0 or greater, Shared .
Brings up the Mocha window for tracking footage and generating masks.

Blur Mocha: Default: 0, Range: 0 or greater, Shared .
Blurs the Mocha Mask by this amount before using. This can be used to soften the edges or quantization artifacts of the mask, and smooth out the time displacements.

Mocha Opacity: Default: 1, Range: 0 to 1, Shared .
Controls the strength of the Mocha mask. Lower values reduce the intensity of the effect.

Invert Mocha: Check-box,  Default: off, Shared .
If enabled, the black and white of the Mocha Mask are inverted before applying the effect.

Show Mocha Only: Check-box,  Default: off, Shared .
Bypass the effect and show the Mocha Mask itself.

Bypass Mocha: Check-box,  Default: off, Shared .
Ignore the Mocha Mask and apply the effect to the entire source clip.

Combine Masks: Popup menu,  Default: Union .
Determines how to combine the Mocha Mask and Input Mask when both are supplied to the effect.
Union: Uses the area covered by both masks together.
Intersect: Uses the area that overlaps between the two masks.
Mocha Only: Ignore the Input Mask and only use the Mocha Mask.
See general info for: Res , On Fields , Redraw , Undo , Load Defaults , Crop , Add Noise , and Use Gamma .

See Also:

Sapphire Plug-ins Introduction


Join our email newsletter and keep up to date