It's really useful to have a composited z channel. With the deep samples
having front & back, there's no obvious answer for how to exactly do that,
so I usually just take the midpoint depth of each sample and composite that
value just like another color channel. This isn't perfect, and suffers from
all the problems that non-deep-depth always suffers from, particularly in
the presence of volumetric data - but it works well as an input to
functions that need a single depth.


On Fri, Oct 25, 2013 at 10:54 AM, Larry Gritz <l...@larrygritz.com> wrote:

> On Oct 25, 2013, at 1:21 AM, Peter Hillman wrote:
>
> > I guess the question comes down to why you'd want to flatten Z.
>
> Well, I was just thinking, in a command-line tool that was asked to
> flatten a deep file (for debugging, say, or generation of thumbnails), you
> might expect it to try to provide something for Z. Or should "flatten"
> imply dropping the Z channel entirely?
>
>
> --
> Larry Gritz
> l...@larrygritz.com
>
>
>
> _______________________________________________
> Openexr-devel mailing list
> Openexr-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/openexr-devel
>



-- 
I think this situation absolutely requires that a really futile and stupid
gesture be done on somebody's part. And we're just the guys to do it.
_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to