Oink
Nodes

Camera

Nuke Camera: pinhole, mm apertures, screen window.

raw .md
NodeCamera
Type idOC_N_camera
Menu3D › Camera
Nuke classCamera (also imports Camera2, Camera3, Camera4)
Codeopencomp_core/nodes/three_d/axis_camera.py

Camera properties

Inputs and outputs

PortNameType
input 0axisscene
output 0scenescene

Knobs

Panel tab Camera, in panel order.

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

Nuke equivalent

Imports from and exports to Nuke's Camera (Camera2, Camera3, Camera4 also import to it).

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.

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