Oink
Nodes

Card3D

Card3D — image on a 3D card through a camera.

raw .md
NodeCard3D
Type idOC_N_card3d
MenuTransform › Card3D
Nuke classCard3D
Codeopencomp_core/nodes/transform/card3d.py

Card3D properties

Inputs and outputs

PortNameType
input 0imgimage
input 1camimage
input 2axisimage
output 0Imageimage

Knobs

Panel tab Card3d, in panel order.

KnobLabelTypeDefaultRange / valuesNuke knobDescription
channelschannelsmenuallrgba, rgb, alpha, all, noneLayer the op applies to: rgb, rgba, alpha, all, none, <layer> or <layer>.<ch>
xform_ordertransform ordermenuSRTSRT, STR, RST, RTS, TSR, TRSxform_order
rot_orderrotation ordermenuZXYXYZ, XZY, YXZ, YZX, ZXY, ZYXrot_order
translatetranslatevector ×30, 0, 0-100 to 100translate
rotaterotatevector ×30, 0, 0-180 to 180rotate
scalingscalevector ×31, 1, 10 to 10scaling
uniform_scaleuniform scalefloat10 to 10uniform_scale
skewskewvector ×30, 0, 0-1 to 1skew
pivot_translatepivot translatevector ×30, 0, 0-100 to 100pivot_translate
pivot_rotatepivot rotatevector ×30, 0, 0-180 to 180pivot_rotate
lens_in_focallens-in focalfloat501 to 300lens_in_focal
lens_in_haperturelens-in haperturefloat24.5761 to 100lens_in_haperture
filterfiltermenuCUBICIMPULSE (Impulse), CUBIC (Cubic), KEYS (Keys), SIMON (Simon), RIFMAN (Rifman), MITCHELL (Mitchell), PARZEN (Parzen), NOTCH (Notch), LANCZOS4 (Lanczos4), LANCZOS6 (Lanczos6), SINC4 (Sinc4)filter
black_outsideblack outsidebooltrueblack_outside
mask_channelmaskmenunonenone, rgba.alpha, rgba.red, rgba.green, rgba.blueMask channel, e.g. rgba.alpha (none = no mask)
injectinjectboolfalseCopy the mask into mask.a for nodes downstream
invert_maskinvertboolfalseinvert_mask
fringefringeboolfalseOnly apply the effect at the edges of the mask
unpremult(un)premult bymenunonenone, rgba.alpha
invert_unpremultinvertboolfalse(Un)premultiply by 1 - alpha
mixmixfloat10 to 1mix

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

KnobLabelTypeDefaultRange / valuesNuke 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

Nuke equivalent

Imports from and exports to Nuke's Card3D. The standard Nuke mask knobs (channels, mask, invert, (un)premult, mix) are mapped too.

Knobs with a different name here:

Nuke knobKnob here
pivotpivot_translate

Nuke knobs not in this list import as a knob of the same name, or are kept unchanged for export. See .nk import.

On this page