Getting real depth value

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
Kalia
Posts: 0
Joined: Wed Jun 19, 2013 3:19 pm
Location: Poland

Getting real depth value

Post by Kalia » Fri Oct 11, 2013 6:22 pm

Is there a way to get the real distance from camera to a point in the rendered scene (like the values that are shown in Image Editor window after rendering when you click and hold LMB and wave the cursor around the image)?
I need info about the farthest point visible in the scene - not the coordinates, but the depth value, so I can set the camera clipping distances.
Cheers,
Kalia

Post Reply