OIIO 1.6.9 has the -mulc command, but it doesn't work properly with deep images -- that was fixed/added (um, now that you mention it, likely at your request) to the master at the time when I was trying to freeze 1.6 for a release. It seems to be working and safe, so I'll backport it to 1.6, in case it's helpful.
Seems to me that making the IlmImf library itself try to be too smart about unit conversion and scale things under the covers might create as many problems as it solves, but I think it's a really good suggestion for apps (like Houdini or Maya) to apply a scale when writing depth channels -- after all, they know what units they are computing in.
Another thing that may be good practice is to recommend a particular metadata name that reveals what units the depths are in ("DepthUnit" -> "meter" or whatever) and then presumably a really smart Nuke deep merge node might apply appropriate scales to make sure the operand images are in the same space, if they both have documented units but don't match.
-- lg
Hi Larry,
Thanks, and yes - I was one of the people who at least chorused with the request to be able to apply a z-scale within oiiotool. We just installed 1.6.9 here; does that have the -mulc feature? My question is definitely aimed at the idea of support for automatic conformance to try to aid interchange without incurring pipelining - ie, tracking of originating scale and destination scale, and generating intermediates.
Thanks,
Jason
PS. I have the same question poised for Alembic :)
|