plug-in-displace

Stephen Robert Norris & (ported to 1.0 by) Spencer Kimball

Description

Displace pixels as indicated by displacement maps

Help

Displaces the contents of the specified drawable by the amounts specified by 'amount-x' and 'amount-y' multiplied by the luminance of corresponding pixels in the 'displace-map' drawables.


Type

unknown

Parameters

Type Name Description
PF_INT run-mode The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }
PF_IMAGE image Input image (unused)
PF_DRAWABLE drawable Input drawable
PF_FLOAT amount-x Displace multiplier for X or radial direction
PF_FLOAT amount-y Displace multiplier for Y or tangent (degrees) direction
PF_INT do-x Displace in X or radial direction?
PF_INT do-y Displace in Y or tangent direction?
PF_DRAWABLE displace-map-x Displacement map for X or radial direction
PF_DRAWABLE displace-map-y Displacement map for Y or tangent direction
PF_INT displace-type Edge behavior { WRAP (1), SMEAR (2), BLACK (3) }

Return

None