https://github.com/OpenImageIO/oiio/pull/2736 
<https://github.com/OpenImageIO/oiio/pull/2736>

Want to try on your end? It should apply cleanly to 2.2 or master.


> On Oct 6, 2020, at 3:52 PM, Larry Gritz <[email protected]> wrote:
> 
> I have a fix coming shortly. My fault. I broke this a while back during a 
> refactor, it seems, and it was broken for the entirely of OIIO 2.1. How did I 
> make this dumb mistake and how did nobody notice it for a year? This is the 
> kind of thing that makes me wonder if I should switch to potato farming for a 
> living.
> 
>       -- lg
> 
> 
>> On Oct 6, 2020, at 12:52 PM, Larry Gritz <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Sorry, looking into it...
>> 
>> 
>>> On Oct 6, 2020, at 12:50 PM, Steve Hwan <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> (bumping/pinging thread)
>>> Any idea what's going on with reading the .iff file?
>>> -Steve
>>> (I'm the one who badly lit/badly rendered the sphere - straight out of maya 
>>> hw2 render.)
>>> 
>>> On Mon, Oct 5, 2020 at 1:12 AM Deke Kincaid <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> Hello
>>> 
>>> We are in the process of switching over from OIIO 1.8.17 to the newest 2.2. 
>>> Unfortunately, it appears that IFF images rendered from Maya shows up black 
>>> in OIIO 2.2.6.1 but load up fine in 1.8.17.  
>>> 
>>> 1.8.17:
>>> # oiiotool -v --stats blue_sphere.1009.iff --with openimageio=1.8.17
>>> Reading blue_sphere.1009.iff
>>> for_deke_image.1009.iff :  960 x  540, 4 channel, uint16 iff
>>>     channel list: R, G, B, A
>>>     tile size: 64 x 64
>>>     compression: "rle"
>>>     Artist: "shwan on pd-ws-ca05, Linux 3.10.0-1062.9.1.el7.x86_64 x86_64"
>>>     DateTime: "Thu Oct  1 00:11:26 2020"
>>>     Stats Min: 0 0 0 0 (of 65535)
>>>     Stats Max: 65279 65279 65279 65279 (of 65535)
>>>     Stats Avg: 882.88 3191.66 4123.43 5388.89 (of 65535)
>>>     Stats StdDev: 4775.64 13542.39 15629.35 17937.78 (of 65535)
>>>     Stats NanCount: 0 0 0 0
>>>     Stats InfCount: 0 0 0 0
>>>     Stats FiniteCount: 518400 518400 518400 518400
>>>     Constant: No
>>>     Monochrome: No
>>> 
>>> 2.2.6.1
>>> # oiiotool -v --stats blue_sphere.1009.iff
>>> Reading blue_sphere.1009.iff
>>> for_deke_image.1009.iff :  960 x  540, 4 channel, uint16 iff
>>>     channel list: R, G, B, A
>>>     tile size: 64 x 64
>>>     Artist: "shwan on pd-ws-ca05, Linux 3.10.0-1062.9.1.el7.x86_64 x86_64"
>>>     compression: "rle"
>>>     DateTime: "Thu Oct  1 00:11:26 2020"
>>>     Stats Min: 0 0 0 0 (of 65535)
>>>     Stats Max: 0 0 0 0 (of 65535)
>>>     Stats Avg: 0.00 0.00 0.00 0.00 (of 65535)
>>>     Stats StdDev: 0.00 0.00 0.00 0.00 (of 65535)
>>>     Stats NanCount: 0 0 0 0
>>>     Stats InfCount: 0 0 0 0
>>>     Stats FiniteCount: 518400 518400 518400 518400
>>>     Constant: Yes
>>>     Constant Color: 0.00 0.00 0.00 0.00 (of 65535)
>>>     Monochrome: Yes
>>> 
>>> Attached is a badly rendered blue sphere to test on.
>>> _______________________________________________
>>> Oiio-dev mailing list
>>> [email protected] <mailto:[email protected]>
>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org 
>>> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org>
>>> _______________________________________________
>>> Oiio-dev mailing list
>>> [email protected] <mailto:[email protected]>
>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org 
>>> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org>
>> 
>> --
>> Larry Gritz
>> [email protected] <mailto:[email protected]>
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected] <mailto:[email protected]>
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
> 
> --
> Larry Gritz
> [email protected] <mailto:[email protected]>
> 
> 
> 
> 
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]




_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to