AndrewJBeard
Thanks, Mark.
A couple of points of clarification:
1. Am I right in guessing that the Texture VOP doesn't support this method: I'll have to resort to writing VEX code directly?
Yes, you'll have to use the inline VOP.
2. Is this method likely to work for OpenEXR image formats, which also support arbitrary image planes? If not, could this be implemented in a future software revision? (In the meantime I'll happily use RATs, I just prefer to use as many open formats as possible).
Internally mantra converts .exr files to .rat files for rendering. I haven't tested, but in theory all the image planes should be converted to the .rat file.
However, by using a .rat file natively:
a) You don't pay the image conversion cost on every render
b) You get much better memory performance since mantra doesn't have to load the entire image.