Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get Z-Values?

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
460 Views, 3 Replies

How to get Z-Values?

I need to make a Depth map and get the values from the Z depth channel. I was wondering if there is a way to get those Z values with Python without checking the image that is produced from the Z depth AOV (in 16 bit)? Thanks! (This is for Arnold in Maya)


Labels (4)
3 REPLIES 3
Message 2 of 4
lee_griggs
in reply to: Anonymous

As far as I know, this isn't possible without rendering the Z AOV.

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 3 of 4
Anonymous
in reply to: Anonymous

Exactly. The question is if there is any way to get the Z AOV data within python, instead of storing it as an .iff file, which can be opened only with FCheck. At least, I haven't found any other way to open such files. Moreover, it seems that they support 8-bit values only, but we need at least 16-bit precision.

Message 4 of 4
Stephen.Blair
in reply to: Anonymous

iff files? Those don't come from Arnold.

You can use OIIO (it has Python bindings) to read the jpg/exr/png/tif output of Arnold.



// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report