tvogels / pyexr

One-line EXR IO-library

Home Page:https://github.com/tvogels/pyexr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where the 'depth' variable comes from

JustinAsdz opened this issue · comments

Hi ,

Thanks for the great work,
while I'm trying to reproduce the WRITING part result as the readme file wrote, I have no idea where the 'depth' variable comes from, can you shade me a light.

Thanks

Hi,

Like 'color' and 'normal', 'depth' is meant to represent just another component that you may want to save in an EXR file.
You can fill it with any numpy array.

Does that clarify things?

Thijs

Hi Thijs,
Thanks for your quick reply, and I seem to have understand the needs of storing a exr file---- it's about what you need.

Thanks again.
Yours