Card3D
Image on a 3D card through a camera.
| Node | Card3D |
|---|---|
| Menu | Transform › Card3D |
| Names in each format | |
| .oink comp (JSON) | "type": "OC_N_card3d" |
| .nk script | Card3D (how .nk import works) |
| Python | nuke.createNode("Card3D") |
| Assistant (MCP) | create_node(type="Card3D") |
| Tab search | card3d, or its initials c3d |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | img | image |
| input 1 | cam | image |
| input 2 | axis | image |
| output 0 | Image | image |
Knobs
Panel tab Card3d, in panel order.
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
channels | channels | menu | all | rgba, rgb, alpha, all, none | Layer the op applies to: rgb, rgba, alpha, all, none, <layer> or <layer>.<ch> | |
xform_order | transform order | menu | SRT | SRT, STR, RST, RTS, TSR, TRS | xform_order | |
rot_order | rotation order | menu | ZXY | XYZ, XZY, YXZ, YZX, ZXY, ZYX | rot_order | |
translate | translate | vector ×3 | 0, 0, 0 | -100 to 100 | translate | |
rotate | rotate | vector ×3 | 0, 0, 0 | -180 to 180 | rotate | |
scaling | scale | vector ×3 | 1, 1, 1 | 0 to 10 | scaling | |
uniform_scale | uniform scale | float | 1 | 0 to 10 | uniform_scale | |
skew | skew | vector ×3 | 0, 0, 0 | -1 to 1 | skew | |
pivot_translate | pivot translate | vector ×3 | 0, 0, 0 | -100 to 100 | pivot_translate | |
pivot_rotate | pivot rotate | vector ×3 | 0, 0, 0 | -180 to 180 | pivot_rotate | |
lens_in_focal | lens-in focal | float | 50 | 1 to 300 | lens_in_focal | |
lens_in_haperture | lens-in haperture | float | 24.576 | 1 to 100 | lens_in_haperture | |
filter | filter | menu | CUBIC | IMPULSE (Impulse), CUBIC (Cubic), KEYS (Keys), SIMON (Simon), RIFMAN (Rifman), MITCHELL (Mitchell), PARZEN (Parzen), NOTCH (Notch), LANCZOS4 (Lanczos4), LANCZOS6 (Lanczos6), SINC4 (Sinc4) | filter | |
black_outside | black outside | bool | true | black_outside | ||
mask_channel | mask | menu | none | none, rgba.alpha, rgba.red, rgba.green, rgba.blue | Mask channel, e.g. rgba.alpha (none = no mask) | |
inject | inject | bool | false | Copy the mask into mask.a for nodes downstream | ||
invert_mask | invert | bool | false | invert_mask | ||
fringe | fringe | bool | false | Only apply the effect at the edges of the mask | ||
unpremult | (un)premult by | menu | none | none, rgba.alpha | ||
invert_unpremult | invert | bool | false | (Un)premultiply by 1 - alpha | ||
mix | mix | float | 1 | 0 to 1 | mix |
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 |
Knob names in .nk scripts
| .nk knob | Knob here |
|---|---|
pivot | pivot_translate |
Other .nk knobs use the same name here. See .nk import.