1
$\begingroup$

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

$\endgroup$
  • 2
    $\begingroup$ what are you trying to accomplish? $\endgroup$ – user1853 Jul 6 '15 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 '15 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 '16 at 14:30

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.