Oink
STMapstmapsrc STMap

STMap

Each pixel reads src at (red, green) x the src format.

raw .md
NodeSTMap
MenuTransform › STMap
Names in each format
.oink comp (JSON)"type": "OC_N_stmap"
.nk scriptSTMap (how .nk import works)
Pythonnuke.createNode("STMap")
Assistant (MCP)create_node(type="STMap")
Tab searchstmap, or its initials stm

STMap properties

Inputs and outputs

PortNameType
input 0stmapimage
input 1srcimage
output 0Imageimage

Knobs

Panel tab Stmap, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
filterfiltermenucubiccubic (Cubic), bilinear (Bilinear)filter

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / values.nk knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring

Examples

Open these from Help › Examples…, or from the ? menu in this node's Properties panel.

  • LensDistortion: undistort and STMap (examples/transform/lens_distortion.oink): LensDistortion with a barrel k1 undistorts the Golden Gate photo. A second LensDistortion writes the same warp as an STMap (uv in red/green), and the STMap node applies it: that is how distortion is handed between packages.

On this page