Compositor: Cryptomatte compositing node.
authorStefan Werner <stefan.werner@tangent-animation.com>
Wed, 18 Jul 2018 11:03:09 +0000 (13:03 +0200)
committerStefan Werner <stefan.werner@tangent-animation.com>
Wed, 18 Jul 2018 11:03:34 +0000 (13:03 +0200)
commitbdda0964e0a5180bd0bc4fb8e38dbe2198bd9a9a
treee4222d0605f4dd0b67b8ca1c43623f283878fac8
parent41045478ab7fd3efc989952bfd7a83c5cbb88dbc
Compositor: Cryptomatte compositing node.

This patch adds a new matte node that implements the Cryptomatte specification.
It also incluces a custom eye dropper that works outside of a color picker.
Cryptomatte export for the Cycles render engine will be in a separate patch.

Reviewers: brecht

Reviewed By: brecht

Subscribers: brecht

Tags: #compositing

Differential Revision: https://developer.blender.org/D3531
30 files changed:
release/scripts/startup/nodeitems_builtins.py
source/blender/blenkernel/BKE_node.h
source/blender/blenkernel/intern/node.c
source/blender/blenlib/BLI_hash_mm3.h [new file with mode: 0644]
source/blender/blenlib/CMakeLists.txt
source/blender/blenlib/intern/hash_mm3.c [new file with mode: 0644]
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/compositor/CMakeLists.txt
source/blender/compositor/intern/COM_Converter.cpp
source/blender/compositor/nodes/COM_CryptomatteNode.cpp [new file with mode: 0644]
source/blender/compositor/nodes/COM_CryptomatteNode.h [new file with mode: 0644]
source/blender/compositor/operations/COM_CryptomatteOperation.cpp [new file with mode: 0644]
source/blender/compositor/operations/COM_CryptomatteOperation.h [new file with mode: 0644]
source/blender/editors/include/UI_interface.h
source/blender/editors/interface/interface_eyedropper.c
source/blender/editors/interface/interface_eyedropper_color.c
source/blender/editors/interface/interface_intern.h
source/blender/editors/interface/interface_ops.c
source/blender/editors/interface/interface_templates.c
source/blender/editors/space_node/drawnode.c
source/blender/editors/space_node/node_edit.c
source/blender/editors/space_node/node_intern.h
source/blender/editors/space_node/node_ops.c
source/blender/makesdna/DNA_node_types.h
source/blender/makesrna/intern/rna_nodetree.c
source/blender/nodes/CMakeLists.txt
source/blender/nodes/NOD_composite.h
source/blender/nodes/NOD_static_types.h
source/blender/nodes/composite/nodes/node_composite_cryptomatte.c [new file with mode: 0644]