Skip to content

Instantly share code, notes, and snippets.

@dbr
Created December 12, 2013 01:22
Show Gist options
  • Save dbr/7921735 to your computer and use it in GitHub Desktop.
Save dbr/7921735 to your computer and use it in GitHub Desktop.
Camera-local axis in nuke
set cut_paste_input [stack 0]
version 7.0 v5
push $cut_paste_input
Camera2 {
translate {{curve x1 5.579999924 x16 0.7399997115} {curve x1 1.559999943 x16 1.400000095} {curve x1 0 x16 3.070000172}}
rotate {{curve x1 -10.3695155 x16 3.204001185} {curve x1 52.93623369 x16 4.075417637} {curve x1 0 x16 7.911174182}}
name Camera1
label "Shot camera"
selected true
xpos -76
ypos -31
}
Axis2 {
translate {0 1 0}
name Axis1
label "Able to move camera\nvia object-local axis"
selected true
xpos -76
ypos 35
}
Camera2 {
focal {{parent.Camera1.focal}}
haperture {{parent.Camera1.haperture}}
vaperture {{parent.Camera1.vaperture}}
near {{parent.Camera1.near}}
far {{parent.Camera1.far}}
win_translate {{parent.Camera1.win_translate} {parent.Camera1.win_translate}}
win_scale {{parent.Camera1.win_scale} {parent.Camera1.win_scale}}
winroll {{parent.Camera1.winroll}}
focal_point {{parent.Camera1.focal_point}}
fstop {{parent.Camera1.fstop}}
name Camera2
label "Default camera,\nwith focal/haperture/etc linked"
selected true
xpos -76
ypos 101
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment