Nodes
Camera
Nuke Camera: pinhole, mm apertures, screen window.
| Node | Camera |
|---|---|
| Type id | OC_N_camera |
| Menu | 3D › Camera |
| Nuke class | Camera (also imports Camera2, Camera3, Camera4) |
| Code | opencomp_core/nodes/three_d/axis_camera.py |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | axis | scene |
| output 0 | scene | scene |
Knobs
Panel tab Camera, in panel order.
| Knob | Label | Type | Default | Range / values | Nuke knob | Description |
|---|---|---|---|---|---|---|
read_from_file | read from file | bool | false | |||
file | file | file | ||||
fbx_node_name | node name | text | ||||
projection_mode | projection | menu | perspective | perspective, orthographic | projection_mode | |
focal | focal length | float | 50 | 1 to 300 | focal | |
haperture | horiz aperture | float | 24.576 | 0.1 to 100 | haperture | |
vaperture | vert aperture | float | 18.672 | 0.1 to 100 | vaperture | |
near | near | float | 0.1 | 0.001 to 100 | near | |
far | far | float | 10000 | 1 to 100000 | far | |
win_translate | window translate | vector ×2 | 0, 0 | -1 to 1 | win_translate | |
win_scale | window scale | vector ×2 | 1, 1 | 0.01 to 10 | win_scale | |
winroll | window roll | float | 0 | -180 to 180 | winroll | |
focal_point | focal distance | float | 2 | 0 to 100 | focal_point | |
fstop | fstop | float | 16 | 0.5 to 64 | fstop | |
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 |
Other knobs (Python, .nk and the assistant; not on the panel)
| Knob | Label | Type | Default | Range / values | Nuke 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 | ||||
live_local | Live Read Local Knobs | string |
Nuke equivalent
Imports from and exports to Nuke's Camera (Camera2, Camera3, Camera4 also import to it).
Knobs with a different name here:
| Nuke knob | Knob here |
|---|---|
pivot | pivot_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.