depth layer in Nuke

Hello, I’m dealing with a depth layer exported from XSI into Nuke.
So everything is normalized with values between 0 and 1.

I am trying to get the z value of the initial points, I have the settings for the camera in XSI something like:

fov :53.638
near plane 0.1
far plane 322768

does that mean that [0, 322768] got linearly mapped to [0.1]?

so to restore the initial z, i just multiply back by 322768 ?
would that make sense?

I would really appreacite any suggestion that you might have,

thanks a lot!

No Responses to “depth layer in Nuke”

Post a Comment