4
$\begingroup$

I have been trying to get pixel by pixel depth data out of a .exr file. I am using blender and rendering with Lux Render. I need to get pixel by pixel depth data, and have read that if I use the z-buffer in blender and render, then save it as a .exr file from Lux Render, there should be pixel by pixel depth data in the .exr file. However, I have not been able to read the .exr. I have access to Matlab. Can anyone help me with this?

$\endgroup$
  • $\begingroup$ I'm voting to close this question as off-topic because it's about Lux render. $\endgroup$ – someonewithpc May 26 '16 at 17:49
  • 2
    $\begingroup$ @someonewithpc luxrender is also an add-on. It will allow you to use luxrender as render engine in blender... I think it on-topic... $\endgroup$ – user1853 May 26 '16 at 18:02
  • 1
    $\begingroup$ Yes, external renderers with Blender integration are ON topic. meta.blender.stackexchange.com/questions/672/… $\endgroup$ – Matt May 26 '16 at 18:35
5
$\begingroup$

Enable the Z buffer on the output settings:

enter image description here

To check if the Z buffer is correctly rendered, you can load the OpenEXR file in the compositor and add a normalize node to visualize the Z-channel:

enter image description here

|improve this answer|||||
$\endgroup$

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.