Closed Shootfast closed 8 years ago
I don't have any objections to a MATRIX33.
I think there are really two separate issues.
Sorry, I made this pull request before seeing your reply: https://github.com/OpenImageIO/oiio/pull/1265
Just commenting on your points. Point 1: Totally agree. 3x3 and 4x4 should be enough for anybody.
As to your point 2: What I would expect is that in the following usage
oiiotool in.exr -o out.exr
out.exr
should keep all of the metadata that in.exr
had. As we have a TypeDesc that can describe these types, it makes sense to me to keep them as accurate as possible (and not have double
become float
in out.exr
for example). I can agree with coercing the metadata types where the destination filetype does not support them, but I think EXR should be our baseline.
I'd also like to see things like the ImfChromaticitiesAttribute make it in there, and I'll probably add that soon, though that'd just be an addition to the VECSEMANTICS enum.
Cheers! Mark
I'm not sure why chromaticities needs to have a separate vecsemantics. Why not just use a float array?
Closing, because we committed a fix for this.
Hi,
Just going through another round of missing metadata types in the OpenEXR input/output code, and I noticed that we don't have any support for 3x3 matricies. 4x4 have a pride of place in the TypeDesc implementation, would you foresee any problems with me adding in a
MATRIX33
to the AGGREGATE enum?I'll also be adding double support for the exrinput plugin as it looks like the output code already supports it.