Hi,
i'm having a weird bug and i'm wondering if there's a workaround /
another of doing thing to could help me.
I'm trying to read the channel names from a file, and there's all messed up.
I've written the following channels, in that order to the file (a 16bits
exr):
r
g
b
a
color.r
color.g
color.b
blinn.r
blinn.g
blinn.b
depth.z
In the file the channels are not in the same order, i have
r
g
depth.z
color.r
color.g
color.b
blinn.r
blinn.g
blinn.b
b
a
(in reverse order in the file, i assume that's how exr writes it)
When reading the file, the order is once again messed up:
blinn.r
blinn.g
b
a
depth.z
blinn.b
color.b
color.g
color.r
g
r
I'm writing and reading data using the ImageSpec class. I found no index
array in it, how can I rebuilt an ordered list ?
Thanks in advance.
Michel
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org