Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA 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
ey1995
336 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: ey1995

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

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

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: ey1995

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  

Autodesk Design & Make Report