I am new to Blender. I have tried searching for an answer to the above question, but haven't found an exact answer to this. The blender version that I am using is 2.92.0.

The task I am trying to achieve is really simple. I want to save the depth of each pixel from the camera. I do not intend to normalize the values and hence have used something as follows using nodes.

enter image description here

The thing I want to know is what are the units (like meters, cms, mm, etc) that the depths in the openEXR file get stored in? I have tried to change the values under the "Units" section inside the "scene properties" but that did not have any effect on the values inside the OpenEXR file. I tried opening the file using open cv in python for this.

enter image description here

Can someone guide me with this?

  • 1
    $\begingroup$ blender.stackexchange.com/questions/65526/… $\endgroup$ Sep 9, 2021 at 22:52
  • $\begingroup$ @DuarteFarrajotaRamos so am I right in thinking that in case my values in viewing plane are in mm then the values in the openEXR file are in mm as well (Basically should have values only in the range between "Clip Start" and "End")? If this is the case then can I in any way cross check this? $\endgroup$
    – Sourabh
    Sep 11, 2021 at 10:45
  • $\begingroup$ Set up a test scene with objects at known pre defined distances, save as HDR then check the pixel values for those areas in some HDT capable editor or image viewer or Blender itself $\endgroup$ Sep 11, 2021 at 18:13
  • $\begingroup$ @DuarteFarrajotaRamos I'll try that ..thank you $\endgroup$
    – Sourabh
    Sep 15, 2021 at 19:39


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.