Oink
Camera Camera

Camera

Pinhole, mm apertures, screen window.

raw .md
NodeCamera
Menu3D › Camera
Names in each format
.oink comp (JSON)"type": "OC_N_camera"
.nk scriptCamera, also imports Camera2, Camera3, Camera4 (how .nk import works)
Pythonnuke.createNode("Camera")
Assistant (MCP)create_node(type="Camera")
Tab searchcamera

Camera properties

Inputs and outputs

PortNameType
input 0axisscene
output 0scenescene

Knobs

Panel tab Camera, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
read_from_fileread from fileboolfalse
filefilefile
fbx_node_namenode nametext
projection_modeprojectionmenuperspectiveperspective, orthographicprojection_mode
focalfocal lengthfloat501 to 300focal
haperturehoriz aperturefloat24.5760.1 to 100haperture
vaperturevert aperturefloat18.6720.1 to 100vaperture
nearnearfloat0.10.001 to 100near
farfarfloat100001 to 100000far
win_translatewindow translatevector ×20, 0-1 to 1win_translate
win_scalewindow scalevector ×21, 10.01 to 10win_scale
winrollwindow rollfloat0-180 to 180winroll
focal_pointfocal distancefloat20 to 100focal_point
fstopfstopfloat160.5 to 64fstop
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

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
live_localLive Read Local Knobsstring

Knob names in .nk scripts

.nk knobKnob here
pivotpivot_translate

Other .nk knobs use the same name here. See .nk import.

Examples

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

  • ScanlineRender: a textured card and a camera (examples/3d/scanline_card_camera.oink): The classic Nuke 3D setup: a photo textures a Card, the Scene gathers geometry, a Camera looks at it and ScanlineRender draws it over a background. Move the Camera or the Card to see the perspective change.

On this page