STMap
Each pixel reads src at (red, green) x the src format.
| Node | STMap |
|---|---|
| Menu | Transform › STMap |
| Names in each format | |
| .oink comp (JSON) | "type": "OC_N_stmap" |
| .nk script | STMap (how .nk import works) |
| Python | nuke.createNode("STMap") |
| Assistant (MCP) | create_node(type="STMap") |
| Tab search | stmap, or its initials stm |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | stmap | image |
| input 1 | src | image |
| output 0 | Image | image |
Knobs
Panel tab Stmap, in panel order.
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
filter | filter | menu | cubic | cubic (Cubic), bilinear (Bilinear) | filter |
Other knobs (Python, .nk and the assistant; not on the panel)
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
gl_color | Viewer Controls Color | float ×3 | 0, 0, 0 | 0 to 1 | ||
postage_stamp_frame | Static Frame | int | 1 | -2147483648 to 2147483647 | ||
lifetimeStart | Lifetime Start | int | 0 | -2147483648 to 2147483647 | ||
lifetimeEnd | Lifetime End | int | 100 | -2147483648 to 2147483647 | ||
useLifetime | Use Lifetime | boolean | false | |||
cached | Cached | boolean | false | |||
bookmark | Bookmark | boolean | false | |||
dope_sheet | Dope Sheet | boolean | false | |||
clone_group | Clone Group | string | ||||
link_source | Link Source | string | ||||
link_overrides | Link Overrides | string | ||||
split_views | Split Views | string |
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.