Thanks, that makes perfect sense, our renderer was exporting deep data
without a display window which was the cause, adding the correct display
window resolved it.

Cheers

On Wed, May 18, 2016 at 11:10 PM, Jonathan Egstad <jegs...@earthlink.net>
wrote:

> OpenEXR is Y-axis down so that function likely flips the bbox vertically
> to Y-up using the displayWindow as a reference.
>
>
> On May 18, 2016, at 2:20 PM, Josh Imbruglia <the.factory.sm...@gmail.com>
> wrote:
>
> I'm curious if anyone is able to provide some clarity on what the function
> boxToBox does, can be seen in the sample deepExrReader[1], snippet below.
>
>     Box displayBox = boxToBox(header.displayWindow(), header.displayWindow());
>     Box dataBox = boxToBox(header.dataWindow(), header.displayWindow());
>
> I've noticed that if I pass a display and datawindow that are identical,
> eg. -64, -32, 2194, 888, i get two box's back which are of size -64, 0,
> 2194, 921.
>
> Any idea why it's setting the height to be 0, max.y-min.y+1? This seems to
> be the same behaviour when viewing these deep exrs in rv too.
>
> Any insight would be greatly appreciated.
>
> Thanks,
> Josh
>
> 1 -
> https://www.thefoundry.co.uk/products/nuke/developers/100/ndkreference/examples/exrReaderDeep.cpp
> _______________________________________________
> Nuke-dev mailing list
> Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>
> _______________________________________________
> Nuke-dev mailing list
> Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>
>
_______________________________________________
Nuke-dev mailing list
Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to