Summary: When rendering out to OpenEXR format and checking the Zbuf radio box, nothing appears to be saved to the file.
Reproduction: 1) Set output format to OpenEXR and toggle Zbuf to on. 2) Render out the default cube with the focal plane set somewhere in front or behind it. 3) Load the resultant image into the compositor and pipe the image and the zbuffer to a Defocus node. Note that no data appears to be handed to the node, resulting in the default image.
Version: SVN 31704
Platform: Linux amd64 (Ubuntu 10.04)
Description
Event Timeline
It should be noted that the following sequence _does_ work:
1) Set output to OpenEXR and toggle Zbuf on.
2) Flip to the compositor, select Use Nodes and pipe the render layer image to the image on the Composite output. ALSO pipe the Z buffer to the Z output in the compositor.
3) Render.
Now the data appears as expected when we load the file and test using a Defocus Node for example.
With default scene, no further changes, I choose openexr as format, check zbuf and render. Save the image and reload in image editor. The zbuffer is there correctly. Attached the file created in that way 23694_test.exr. Loading this into compositor and using it works as expected (see .blend)
Assigning to myself to further monitor progress.
http://www.loramel.net/blender_minutes/2010/10/layers-upon-layers-of-life-obstacles-and-exr-files/
Apologies. That link summarizes how the defocus node seems to fail.
I believe the zbuffer data should, in theory, be enough to provide to defocus to allow for a post production defocus bit of work.
As it stands now, if one don't defocus in the actual Blender file, it will not work. This _greatly_ discombobulates one's ability to conduct a render pass and keep post production work as a separate phase in the pipeline.