DummyCam v1.3


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Adrian Pueyo
Camera that apart from the matrix also has the Projection tab with the values from the upstream Camera that it's connected to.
Requirements:
13.1, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11.0, 10 or later
Linux, Mac, Windows
18 May 2021
484

                 DummyCam v1.3                

 

 

dummyCam Node

DummyCam is a Camera that apart from the matrices also grabs all the 'Projection' values from the upstream camera that it's connected to. Has a 'Defaults' tab with the knob values to use if not there's no Camera connected. It can also be used inside of groups, as many levels deep as you want. All using live and super fast TCL.

DummyCam is mainly meant for making gizmos that require a Camera input, as there is currently no other way to look for the Projection values upstream, and it is usually solved with ugly callbacks, with a Python button, or looking for the topnode, which only works as long as you don't plug an axis to the top camera, etc. Simply put it inside the Group, plugged to the cam Input node, and voilà. 

Special thanks to Ernest Dios, we decyphered the undocumented parts of the code together.

v1.2-1.3 Updates (5 May 2021)

  • Fixed to also work with Nuke13's new Camera3 node.

v1.1 Updates/fixes (5 April 2020)

  • Now grabs the correct frame from the camera even when there are FrameHolds. Thanks Erwan Leroy for the idea.
  • All default values and knob types updated to be the same as the normal Camera.
DummyCam Panel

 

Please login in order to download these files.

Comments   

 
+1 # Nikolai Wüstemann 2019-09-08 09:48
Man this is clean, well done :)
Am I getting this right, you return the original camera node itself with the multiline TCL code?
 
 
+1 # Adrian Pueyo 2019-09-08 10:28
That's right :-)
 
 
+1 # Nikolai Wüstemann 2019-09-08 10:31
Wormhole magic :D
 
 
0 # Gerardo Schiavone 2019-09-09 09:41
Awesome! :lol:
 
 
0 # Owen Bulka 2023-01-28 10:17
Hello,
There seems to be an issue in Nuke 14.0v2. It is only very inconsistently able to pick up the transform and projection with both the Classic and Beta Camera. Swapping the input around sometimes fixes it but not always.
 

You have no rights to post comments

We have 3114 guests and 94 members online