Is there a way to calculate the distance of an object to the rendering camera within a post translate python script?
I want to calculate the distance to an object and save that value into a metadata field of the rendered exr file.
Then I can use that value to automagically set the focus distance of the post dof in Nuke.
Thanks
Andreas
I want to calculate the distance to an object and save that value into a metadata field of the rendered exr file.
Then I can use that value to automagically set the focus distance of the post dof in Nuke.
Thanks
Andreas
Comment