Import: layered EXRs show the beauty pass, never Cryptomatte (#412)
Cause: a multi-layer OpenEXR without an unnamed RGB layer showed its first colour layer unless one was named combined / beauty / rgba. A Blender compositor File Output names the beauty pass "Image", and its Cryptomatte layers (lowercase r, g, b, a) sort first, so the picture was CryptoMaterial00. Fix: the picture is the unnamed RGB layer, else the beauty pass by the last part of its name (Combined, Beauty, Image, RGBA, RGB, Color), else the first colour layer that isn't a data pass (Cryptomatte, depth, mist, normals, vectors, positions, IDs). A layer without R, G and B shows its own first channel as grey. After Effects shows a file's main RGBA and leaves the other layers to EXtractoR, which is unchanged. Tests: exr_channels::layered_exr_shows_the_beauty_pass_not_cryptomatte (the reported Blender layout, ViewLayer.Combined, no beauty name, data-only files). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
176cddcdad
commit
698ade94ac
+3
-1
@@ -219,7 +219,9 @@ build real projects through these interfaces; they are worked examples of everyt
|
||||
colour bars, as in After Effects. `file.interpretFootage {"items":[id], "frameRate":12,
|
||||
"startTimecode":1001}` conforms them and sets Override Start (the item and layers that ran to its end get the new
|
||||
length). See [footage.md](footage.md).
|
||||
* **Multi-layer OpenEXR**: `layer.channels {layer}` lists a footage layer's EXR layers and
|
||||
* **Multi-layer OpenEXR**: the footage shows the beauty pass (an unnamed RGBA layer, else
|
||||
Combined / Beauty / Image / RGBA…, never Cryptomatte or depth). `layer.channels {layer}`
|
||||
lists a footage layer's EXR layers and
|
||||
channels (`{"layers":[{"name":"diffuse","rgba":["diffuse.R","diffuse.G","diffuse.B",""]}]}`);
|
||||
EXtractoR shows them when its `red` / `green` / `blue` / `alpha` are set to those names
|
||||
(`prop.set {"path":"effects/#1/red","value":"depth.Z"}`). Effect Controls offers them as popups.
|
||||
|
||||
Reference in New Issue
Block a user