This is in follow up to my previous post. I see that i can render the zbuffer into an image from the answer to my previous post. But can I get the real Z values some how using blender? I found this page that talks about it in OpenGL but I am not sure how to access the values in blender. If someone has done this before, please help me out.

Thanks in advance! Karthik

  • 2
    $\begingroup$ what are you trying to accomplish? $\endgroup$
    – user1853
    Jul 6, 2015 at 23:51
  • $\begingroup$ Hey thanks! The reason I am using the blender is to get render the zbuffer out into a file that I can use for non-visualization purpose. So basically I need the depth values (Float and unnormalized). I am writing them out to .hdr file and getting it now. But I would like to know if I can use python scripting to get to the object that holds these values when I render it out. Because I again have to read the .hdr files externally into a text file to get hold of these values for my project. $\endgroup$
    – desinghkar
    Jul 9, 2015 at 2:10
  • $\begingroup$ I currently have the same problem. This solution might help you: blender.stackexchange.com/questions/35770/… But it requires to change all the materials in your scene. Did you find a better solution in the meantime? $\endgroup$
    – Martin R.
    Feb 29, 2016 at 14:30


You must log in to answer this question.

Browse other questions tagged .