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

Reply via email to