A newer version of Max is available. Click here to access the latest version of the documentation

jit.plume Reference

Displace points based on luminance

jit.plume

Description

jit.plume takes two input matrices and uses an average value of all planes for each cell in a second input (control) matrix to displace the corresponding cell of the first (input) matrix.

Examples

Matrix Operator

matrix inputs:2, matrix outputs:1
Name IOProc Planelink Typelink Dimlink Plane Dim Type
in2 resamp 1 1 1 1 1 char
out n/a 1 1 1 1 1 char

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages

Attributes

intervalmode [int]

Interval mode for x_interval only (default = 0 (entire frame))
0 = interval calculated over the entire frame
1 = new interval count for each scanline

wrap [int]

Wrap mode (default = 0 (normal))
0 = normal: Cells displaced off the edge of the frame are disregarded
1 = wrap: Cells displaced off the edge of the frame wrap to the other edge
2 = reflect: Cells displaced off the edge of the frame are reflected
3 = clip: Cells are clipped to the edge of the frame

x_interval [int]

The frequency of displacement calculation along the horizontal axis (default = 1)

xamount [int]

The horizontal amount of displacement (multiplied by luminance) (default = 0)

xinterval [int]

The frequency of displacement calculation along the horizontal axis (default = 1)

xoffset [int]

The horizontal offset of displacement (default = 0)

y_interval [int]

The frequency of displacement calculation along the vertical axis (default = 1)

yamount [int]

The vertical amount of displacement (multiplied by luminance) (default = 0)

yinterval [int]

The frequency of displacement calculation along the vertical axis (default = 1)

yoffset [int]

The vertical offset of displacement (default = 0)

Common Box Attributes

Messages

planeselect

Arguments

plane-list [list]
Chooses which planes on the second matrix (inlet 2) are averaged to offset the first matrix. The planeselect message takes the following arguments:
-2 = Average all planes
-1 = Average all planes except plane 0 (default)
0-x = A single int argument specifies a single plane (no average)
A list of int arguments specifies a multiplane average of the planes listed (e.g., 0 2 3)

See Also

Name Description
Working with Video in Jitter Working with Video in Jitter
jit.repos