SceneDepthCalculator v2.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Mark Joey Tang
Calculate the depth value from camera to target object. Apply the result to any depth tools, such as rack defocus, deep nodes. I also used this to propagate multiple shots to keep consistency.
Requirements:
12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11.0, 10.5, 10 or later
Linux, Mac, Windows
01 Mar 2021
850

SceneDepthCalculator s

Demo video :
https://youtu.be/YgVjs-dylnU

Calculate the depth value from camera to target object. Apply the result to any depth tools, such as rack defocus, deep nodes. I also used this to propagate multiple shots to keep consistency.


Changelog:

2.0
- changed camera & target to use world matrix instead
- instant live result of depth value
- re-work the interface

1.9
- bug fix manually link camera knob.
- manual link knob sort by alphabet

1.7 (check the image below)
- removed node class restriction
* Because some companies are using their own camera/axis class nodes. So it supported any type of nodes
- can use any nodes' knob value
* if detected missing default knob to link, user can set another knob manually or even use the custom data in 'NoOp' .
- show linked expression of camera and target
- frame range added 'current frame'option. For 1 frame calculation.

1.5
- simplified and remove trash code
- fix inf value on expression of depth_output when using 1/z
- 1/z is not included offset, the offset value applied after 1/z

1.4
- remove special character, so the tool can display properly under different OS

1.3
- optimize entire setup and code.
- added linked to camera/target instead of using input.
- added 1/z option

1.2
- fix the code of reverse 'rotate order'
*currently only work with both input connect to single camera and geo nodes directly, next version will get it works better. Please us 'Unify3DCoordinate' to combine the transformation from the stack nodes.

 1.1

- fixed the bug with offset back to zero and 'Output Depth' remain the expression.

1.0

- use geo and camera to calculate the depth. Useful for depth of field, deep compositing, clip zdepth, 3D scale on 2D nodes and any zdepth related compositing method.

 

 

Please login in order to download these files.

Comments   

 
+1 # eden an 2018-05-11 08:43
This is awesome. Thanks!
 
 
+1 # Boris Martinez Castillo 2019-02-05 21:24
great,thx!
 

You have no rights to post comments

We have 2260 guests and 75 members online