JOS JOS Compositor

2D

Roto and paint

The Roto node does both shapes and paint. Open it (double-click) to get the toolbar in the viewer:

A small triangle marks the buttons that hold more than one tool: hold or right-click the button to pick one. S picks Bezier (spline) and P paint; pressing S again cycles the Bezier button's tools (bezier, ellipse, rectangle, open spline), as V does in Nuke. This page covers what is particular to JOS.

If Q hid the viewer's overlays, creating a Roto brings them back, so its toolbar and shapes show at once; Q hides them again. The same goes for the other nodes you draw in the viewer: SplineWarp, Vector Graphics, PlanarTracker, GridWarp, Tracker and CornerPinTracker. Pasting a node, undoing or opening a project leaves the overlays as they are.

Only the Roto paints. A SplineWarp's shapes, a PlanarTracker's area and the trackers' occlusion shapes get Select and Bezier alone (Bezier still holds ellipse and rectangle; no open spline, since an area is closed): no brushes, no swatch, and the brush keys do nothing there.

Clone preview

Before you paint, the clone brush's circle shows what it will copy, already moved by the clone offset, so you can line it up (reveal shows its bg1 input the same way). It fades towards the edge as one dab of the brush would, with its hardness and opacity. Ctrl+drag from the source to where it goes sets the offset; a dashed circle marks the source.

Remove brush

The remove brush paints an object out. It fills the stroke with texture taken from around it, so there is no clone source to set.

  1. Pick remove under the Clone button, or in the brush type list of the settings row.
  2. Paint over the thing to remove.

Here a word painted on a brick wall is taken out with one stroke:

The viewer during a remove stroke: a translucent red band over the word TAG on a brick wall, the Roto toolbar on the left and the brush settings row above with "remove" picked

The same wall after the mouse is released: the word is gone, filled with brick and mortar taken from around it

At render time the stroke's area is filled with patches from the surrounding picture, its grain is matched to the area around it, and the result is blended by the stroke's coverage. It only takes texture from where the input has pixels.

Healing

The remove brush heals what it fills, like a healing brush in a photo editor. The fill keeps the grain it copied, but its colour comes from what surrounds the stroke, blended in from every side. A wall lit brighter on one side than the other stays seamless: the fill follows the light from left to right and from top to bottom, with no flat patch of one average colour.

Points animate on their own

Each roto point has its own animation: its position, its two tangents and its feather point.

Inserting a point on an animated shape keys the new point at every key of the shape, so the outline doesn't jump.

Strokes and shapes in the dope sheet

Every paint stroke, and every shape that doesn't live on all frames, has a row under its Roto node in the dope sheet, with its lifetime drawn as a bar and its keys on it. An open end reaches the project's first or last frame and is drawn dashed.

The Bezier tool

Drawing

Closing a shape

The new shape is selected in the list.

Holes

Ctrl+click right after closing a shape. The next shape you draw cuts a hole in it (its blending mode is set to minus).

Ellipse, rectangle and open spline

Hold or right-click the Bezier button to pick one; the button then shows its icon.

The viewer over a brick wall: an ellipse and a rectangle drawn as translucent white shapes, and an open spline, a thick white stroke along a curve, its middle point selected with its round width handle on the stroke's dashed edge

Ellipse and rectangle

The result is an ordinary Bezier shape: an ellipse has four smooth points, a rectangle four corner points. You edit, key and animate it like a shape drawn with the Bezier tool, and it takes the paint colour and opacity, as other shapes do. Each shape is one undo step, and the Select tool takes over afterwards. A drag that starts on a point or a handle edits it instead.

Open spline

An open spline is a curve that is never closed or filled: it is drawn as a stroke along the curve, like a brush stroke you can edit point by point.

In the shape's settings: width (the whole spline's), start and end (rounded, or square: cut off at the end point), and the feather, which softens the stroke beyond its edge, with the same falloff types as shapes. Point widths can be keyed and animated like the points themselves.

Open splines in Nuke scripts are imported with their widths and end types, and exported back as Nuke open splines.

Editing (Select tool)

Dodge and burn by range

In dodge or burn, the settings row has a range list:

The stops slider shows when the range is not "all".

A ramp from black to white with two dodge strokes painted across its whole width: the upper one, in shadows, lightens only the darkest end; the lower one, in highlights, lightens only the bright half. The settings row shows dodge, highlights and stops 2

Black and white swatches

Under the toolbar buttons is a striped swatch: white | black | RGB.

The Roto toolbar: Select, Bezier, Brush (lit), Eraser, Clone, Blur and Dodge, then the swatch in three parts, white, black and the RGB colour (orange), and the autokey button below it

These keys work while a paint tool is active.

Painting a matte (output alpha). A stroke writes its colour's alpha into alpha, as Nuke's RotoPaint does. The black swatch is black in alpha too (0 0 0 0): it cuts the matte, and leaves RGB untouched. On a node drawing alpha only, picking a colour for a stroke (the RGB swatch's picker: its greys and hues, wheel, R G B or H S V values, hex, eyedropper; a stroke's colour in its list or its settings) sets the alpha to the colour's grey, so the matte gets what you see: black paints 0, white 1, a grey its value (a colour counts as bright as it looks: its luminance). Setting A yourself in the picker (its A value, or a hex with alpha) keeps it. The RGB swatch shows that alpha, the value it paints. With output rgba the alpha stays as you set it, so black with alpha 1 paints black over the plate. A colour with alpha 1 set by hand paints white into alpha, and where a stroke goes past the image it leaves its RGB over alpha 1.

Straight lines

Alt+click marks a starting point. Each further Alt+click paints a straight stroke from the last point. Add Shift to keep the line to 5° steps. Esc forgets the mark.

Finding strokes

Above the node's list of shapes and strokes, the find field narrows it down: type a frame number to list the shapes and strokes that live on that frame (a stroke painted on frame 1042: type 1042), or part of a name. Clear the field to see them all again. With a paint tool active, Ctrl+A in the viewer selects every stroke in the list.

Master offset

Moves every stroke and shape of a Paint Roto node at once. With nothing selected in the node's list, the extra settings show an Offset tab:

The viewer draws the strokes where they render, and new strokes land under the mouse.

Clip to

The clip to setting says where the result is cut. A new Paint Roto starts on none: shapes and strokes outside the project format are kept, so a Paint Roto with no input can mask a plate bigger than the format. The other choices work as in Nuke: bbox keeps only the input's area, format cuts at the format, union keeps the input's area and the format, intersect the input's area within the format. Rectangle and Radial have the same setting, starting on format.

Nuke scripts keep their own setting (Nuke's default is format), and Paint Roto nodes from projects saved before this setting worked keep showing what they showed (none). Where a shape goes past its input's area, the input's edge pixels continue under it, as in Nuke.

Other brush gestures