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)
As far as I know, this isn't possible without rendering the Z AOV.
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.
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.
Can't find what you're looking for? Ask the community or share your knowledge.