openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] "standard" for storing a depth map?


From: Paul Miller
Subject: Re: [Openexr-devel] "standard" for storing a depth map?
Date: Wed, 14 Mar 2012 16:38:29 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

On 3/14/2012 3:46 PM, Christopher Horvath wrote:
If the depths are floating point values, they can simply be in "real
world" units, and do not need to be normalized.

However, 16-bit floats are not really sufficient for "real-world" depth
data, with units in feet, meters, or centimeters. When used as an input
to something like a depth-based fogging node in Nuke or Shake, you'll
see noticeable banding for a scene of the scale of a building or larger.

If you can make it so that the 'z' plane is 32-bit float, with the rest
being whatever precision you need for R,G,B,A - it will improve the
"depth-based fog in comp" kind of usage considerably.

If you do want to normalize the depths, you could put the near & far
values into the header's metadata.

Oh good idea. I'll be normalizing my values, but everything is float.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]