Closed aditiapratama closed 3 months ago
To me it looks like there are a few different things going on here :
.r
, .g
etc where there should be uppercase .R
, .B
etc.ViewLayer
layer for some reason. This isn't technically wrong, but it is unusual in my experience. This also means there is no standard RGBA
"beauty" layer.If you copy-paste the script below into Gaffer, you should see that things can be made to work if those problems are corrected.
I think it's probably worth us tweaking the ImageReader so that it can conform the non-standard lowercase channels automatically - we already have loads of heuristics for dealing with dodgy EXRs from other sources. And we should fix the Cryptomatte problem too. But ideally you'd be able to get the output from Blender formatted in a more standard way as well...
The EXR file out of Blender has non-standard channel names, with lowercase .r, .g etc where there should be uppercase .R, .B etc.
Actually, I see now that the Cryptomatte specification says lowercase, but that conflicts with the EXR specification, which says uppercase... :shrug:
I've opened PR #5867 with the Cryptomatte fix, and #5868 with a workaround for lowercase names not conforming to the EXR spec.
Thank you @johnhaddon ,
Anyway I tried to run the python script but it complained about parent
not defined...so I set parent = root
and it works, but not sure if it's the correct way .
Also I tried using shuffle and copied your python expression, but it's not working as well.
I tried using the plugs and it works if manually setup.
Anyway I tried to run the python script but it complained about parent not defined
If you paste it directly into the Graph Editor it should work.
Ah yes..it's working
Thank you @johnhaddon
Version: Gaffer 1.4.X.X-(linux, windows) Third-party tools: None Third-party modules: None
Description
I have EXR with cryptomatte generated from blender 3.6 LTS and also 4.1.1. Whenever I load it and put cryptomatte node, the
Viewer
will stay black. However I have another EXR with crypto from blender 2.93 LTS, it will load just fine.I attached both exr and blend files.
Steps to reproduce
Debug log
Click to Expand
``` ```