1-Node Stereo Camera | v1.2 |
Author
Stephen Wong
Stephen Wong
Requirements
5.2, 6.0, 6.1 or later
Linux, Mac, Windows
5.2, 6.0, 6.1 or later
Linux, Mac, Windows
Created on: 15/08/2010
Updated on: 15/08/2010
Downloads: 656
Updated on: 15/08/2010
Downloads: 656
Login or Register
The 1-Node Stereo Camera Rig is driven by the centre camera and the Control node.
The Control node allows you to adjust the value of interaxial, convergence, focal length and focal distance.
It also allows you to adjust the film back position in the Windows Translate slider.

Comments (16)
Philipp Linz
said:
|
... Dear Stephen, IUs there a way of using this set up for image sequences? I was unable to do so. If there is a way, please do let me know. Thanks, Philipp |
Philipp Linz
said:
|
... Dear Stephen, IUs there a way of using this set up for image sequences? I was unable to do so. If there is a way, please do let me know. Thanks, Philipp |
Stephen Wong
said:
|
... You can connect these parameters ( see below ) with expressions link from the center Camera to the a 1 x 1 card by holding on cmd + drag on a Mac. translate, rotate, scale. also connect Camera > Projection Tab > focal length to Card > lens in focal Camera > horiz aperture to Card > lens -in-haperature Now the card will follow the position, rotation with the Camera, and you can adjust the z value on the card. |
Philipp Linz
said:
|
... Thank you very much.I forgot to mention that it is a left and a right image sequence that I need to work with. If you could eleborate on that, I would be very greatful. Regards, Philipp |
Philipp Linz
said:
|
... ..Could you possible put a script together, using 2 colour bars, legt and right?? If so, that woukld be greatly appreaciated! |
Stephen Wong
said:
|
... if you're working with a left and right image sequence, then all you need is to go to project setting > "Set up views for stereo", then connect them to the "JoinViews" node, you might wanna view the result with "Anaglyph" node. You will also need Ocula for Nuke to fix the stereo image issues ( vertical alignment, color matching & etc... ) . For more info about stereo workflow on nuke, you may go to http://www.youtube.com/thefoundrychannel and check out the Nuke Stereo Master class videos. |
Philipp Linz
said:
|
... Dear Stephen, this is how far i got and am now stuck. Have a look at it if you wish: set cut_paste_input [stack 0] version 6.1 v3 Camera2 { inputs 0 focal {{Control2.Focal_Length i x1319 50}} focal_point {{Control2.Focal_Distance i}} name S3D_Camera2 tile_color 0xff0000ff selected true xpos 1717 ypos 532 } set N2173f830 [stack 0] Camera2 { translate {{value+Control2.Cam_Sep} 0 0} rotate {0 {degrees(atan(translate.x/S3D_Camera2.focal_point))*Control2.Cam_Converge} 0} focal {{S3D_Camera2.focal}} haperture {{S3D_Camera2.haperture}} vaperture {{S3D_Camera2.vaperture}} near {{S3D_Camera2.near}} far {{S3D_Camera2.far}} win_translate {{Control2.Windows_Translate} 0} focal_point {{sqrt(pow2(S3D_Camera2.focal_point)+pow2(translate.x*Control2.Cam_Converge))}} name S3D_Camera_Right2 tile_color 0xff00ff selected true xpos 1839 ypos 532 } Camera2 { inputs 0 translate {1 0 0} name Camera2 selected true xpos 2021 ypos -224 } set N8f16f80 [stack 0] push $N8f16f80 Read { inputs 0 file D:/LIMO_PRE_CONVERGENCE/LIMO_RIGHT_DAY_00_IO_d.tif format "1920 1080 0 0 1920 1080 1 HD" |
Philipp Linz
said:
|
... first 0 last 2869 name Read4 selected true xpos 1888 ypos -529 } Project3D { inputs 2 name Project3D2 selected true xpos 1842 ypos -351 } Card2 { translate {0 0 -2000} uniform_scale 1000 control_points {3 3 3 6 1 {-0.5 -0.5 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {0 0 0} 1 {0 -0.5 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {0.5 0 0} 1 {0.5 -0.5 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {1 0 0} 1 {-0.5 0 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {0 0.5 0} 1 {0 0 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {0.5 0.5 0} 1 {0.5 0 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {1 0.5 0} 1 {-0.5 0.5 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {0 1 0} 1 {0 0.5 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {0.5 1 0} 1 {0.5 0.5 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {1 1 0} } name Card3 selected true xpos 1842 ypos -284 } Scene { inputs 2 name Scene3 selected true xpos 1852 ypos -108 } push 0 ScanlineRender { inputs 3 output_motion_vectors_type accurate name ScanlineRender3 selected true xpos 1866 ypos 93 } push $N2173f830 Camera2 { translate {{value-Control2.Cam_Sep} 0 0} rotate {0 {degrees(atan(translate.x/S3D_Camera2.focal_point))*Control2.Cam_Converge} 0} focal {{S3D_Camera2.focal}} haperture {{S3D_Camera2.haperture}} vaperture {{S3D_Camera2.vaperture}} near {{S3D_Camera2.near}} far {{S3D_Camera2.far}} win_translate {{Control2.Windows_Translate*-1} 0} focal_point {{sqrt(pow2(S3D_Camera2.focal_point)+pow2(translate.x*Control2.Cam_Converge))}} name S3D_Camera_Left2 selected true xpos 1582 ypos 532 } push $cut_paste_input Camera2 { translate {-1 0 0} name Camera1 selected true xpos 1426 ypos -207 } set N8f15750 [stack 0] Read { inputs 0 file D:/LIMO_PRE_CONVERGENCE/LIMO_LEFT_DAY_00_IO_d.tif format "1920 1080 0 0 1920 1080 1 HD" first 0 last 2838 name Read5 selected true xpos 1511 ypos -511 } Project3D { inputs 2 name Project3D1 selected true xpos 1589 ypos -358 } Card2 { translate {0 0 -2000} uniform_scale 1000 control_points {3 3 3 6 1 {-0.5 -0.5 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {0 0 0} 1 {0 -0.5 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {0.5 0 0} 1 {0.5 -0.5 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {1 0 0} 1 {-0.5 0 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {0 0.5 0} 1 {0 0 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {0.5 0.5 0} 1 {0.5 0 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {1 0.5 0} 1 {-0.5 0.5 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {0 1 0} 1 {0 0.5 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {0.5 1 0} 1 {0.5 0.5 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {1 1 0} } name Card2 selected true xpos 1619 ypos -281 } push $N8f15750 Scene { inputs 2 name Scene2 selected true xpos 1614 ypos -82 } push 0 ScanlineRender { inputs 3 output_motion_vectors_type accurate name ScanlineRender2 selected true xpos 1572 ypos 68 } JoinViews { inputs 2 name JoinViews1 selected true xpos 1703 ypos 206 viewassoc "left right" } Anaglyph { views {left right} amtcolour 1 name Anaglyph2 selected true xpos 1685 ypos 269 } Viewer { frame 1319 input_process false name Viewer2 selected true xpos 1703 ypos 346 } NoOp { inputs 0 name Control2 selected true xpos 1705 ypos 448 addUserKnob {20 User} addUserKnob {7 Cam_Sep l Interaxial} Cam_Sep 0.435 addUserKnob {7 Cam_Converge l "Convergence (%)"} Cam_Converge 0.535 addUserKnob {7 Windows_Translate l "Windows Translate"} Windows_Translate 0.33 addUserKnob {7 Focal_Distance l "Focal Distance" R 0 30} Focal_Distance 5.6 addUserKnob {7 Focal_Length l "Focal Length" R 0 100} Focal_Length 50 } |
Philipp Linz
said:
|
... Thank you very much I have tried that before and that does not work.....The script above is the closest i got to achieving it, but it is still wrong........ If you ever manage to make it work, please do let me know. Regards, Philipp |
pankaj deshmukh
said:
|
... 1 more problem i have gizmo script from notepad but how to create gizmo file...helpp |
Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.
