DummyCam v1.1


 
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:
12.0, 11.3, 11.2, 11.1, 11.0, 10.5, 10.0, 9.0, 8.0 or later
Linux, Mac, Windows
05 Apr 2020
121

                 DummyCam v1.1                

 

 

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.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
 
 
# Gerardo Schiavone 2019-09-09 09:41
Awesome! :lol:
 

You have no rights to post comments

We have 2921 guests and 58 members online