diff options
author | Jeroen Bakker <jbakker> | 2021-03-02 13:08:04 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-02 13:20:01 +0300 |
commit | 2d4b638a674522507917b5f34ad8b5463ff42eb4 (patch) | |
tree | 0d0a204691aede18a4863e38de267fbfb940bc7d /source/blender/compositor/nodes/COM_ImageNode.h | |
parent | 8dec6452f22013ee98246ea6d7631c2201a6de3a (diff) |
Cryptomatte: Read metadata from multilayer OpenEXR.
Currently the compositor reads cryptomatte meta-data from the render
result. When loading a multilayer open exr file the meta-data was ignored.
This patch will also load the cryptomatte meta-data from multilayer open
exr files.
This enabled workflows where the rendering and compositing are done in
separate scenes or for future changes where the cryptomatte node will
use the meta-data for name matching and color picking.
Reviewed By: Sergey Sharybin
Differential Revision: https://developer.blender.org/D10384
Diffstat (limited to 'source/blender/compositor/nodes/COM_ImageNode.h')
-rw-r--r-- | source/blender/compositor/nodes/COM_ImageNode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/compositor/nodes/COM_ImageNode.h b/source/blender/compositor/nodes/COM_ImageNode.h index 1a811fe855d..e2053cfd3b8 100644 --- a/source/blender/compositor/nodes/COM_ImageNode.h +++ b/source/blender/compositor/nodes/COM_ImageNode.h @@ -24,6 +24,7 @@ #include "DNA_node_types.h" #include "RE_engine.h" +#include "RE_pipeline.h" /** * \brief ImageNode @@ -33,11 +34,11 @@ class ImageNode : public Node { private: NodeOperation *doMultilayerCheck(NodeConverter &converter, RenderLayer *rl, + RenderPass *render_pass, Image *image, ImageUser *user, int framenumber, int outputsocketIndex, - int passindex, int view, DataType datatype) const; |