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$
3
  • $\begingroup$ I'm voting to close this question as off-topic because it's about Lux render. $\endgroup$ Commented May 26, 2016 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
    Commented May 26, 2016 at 18:02
  • 1
    $\begingroup$ Yes, external renderers with Blender integration are ON topic. meta.blender.stackexchange.com/questions/672/… $\endgroup$
    – Matt
    Commented May 26, 2016 at 18:35

1 Answer 1

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

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .