Blender Git Commit Log

Git Commits -> Revision 9dbea1d

Revision 9dbea1d by Jeroen Bakker (master)
January 5, 2021, 15:34 (GMT)
Compositor: Alpha Mode

{D9211} introduced pre-multiplying the color for the keying node. This
pre-multiplication should also be done by other keying nodes and should be
the default operation for alpha node.

This patch will change the logic of keying nodes (Cryptomatte Node,
Channel Matte, Chroma Matte, Color Matte, Difference Matte, Distance
Matte, Luminance Matte) and breaks old files.

The Set alpha node has a mode parameter. This parameter changes
the logic to `Apply Mask` the alpha on the RGBA channels of the input color
or only replace the alpha channel (old behavior).

The replace mode is automatically set for older files. When adding
new files the the multiply mode is set.

Reviewed By: Sergey Sharybin

Differential Revision: https://developer.blender.org/D9630

Commit Details:

Full Hash: 9dbea1db66da5e277e8279811d66096751f38d29
Parent Commit: 357e519
Lines Changed: +312, -228

4 Added Paths:

/source/blender/compositor/operations/COM_SetAlphaMultiplyOperation.cpp (+55, -0) (View)
/source/blender/compositor/operations/COM_SetAlphaMultiplyOperation.h (+40, -0) (View)
/source/blender/compositor/operations/COM_SetAlphaReplaceOperation.cpp (+53, -0) (View)
/source/blender/compositor/operations/COM_SetAlphaReplaceOperation.h (+45, -0) (View)

4 Deleted Paths:

/source/blender/compositor/operations/COM_KeyingSetAlphaOperation.cpp (+0, -55)
/source/blender/compositor/operations/COM_KeyingSetAlphaOperation.h (+0, -39)
/source/blender/compositor/operations/COM_SetAlphaOperation.cpp (+0, -54)
/source/blender/compositor/operations/COM_SetAlphaOperation.h (+0, -45)

21 Modified Paths:

/source/blender/blenloader/intern/versioning_290.c (+17, -0) (Diff)
/source/blender/compositor/CMakeLists.txt (+4, -4) (Diff)
/source/blender/compositor/nodes/COM_ChannelMatteNode.cpp (+2, -2) (Diff)
/source/blender/compositor/nodes/COM_ChromaMatteNode.cpp (+2, -2) (Diff)
/source/blender/compositor/nodes/COM_ColorMatteNode.cpp (+2, -2) (Diff)
/source/blender/compositor/nodes/COM_CryptomatteNode.cpp (+3, -3) (Diff)
/source/blender/compositor/nodes/COM_DifferenceMatteNode.cpp (+2, -2) (Diff)
/source/blender/compositor/nodes/COM_DistanceMatteNode.cpp (+2, -2) (Diff)
/source/blender/compositor/nodes/COM_KeyingNode.cpp (+2, -2) (Diff)
/source/blender/compositor/nodes/COM_LuminanceMatteNode.cpp (+2, -2) (Diff)
/source/blender/compositor/nodes/COM_SetAlphaNode.cpp (+13, -2) (Diff)
/source/blender/compositor/operations/COM_ChannelMatteOperation.cpp (+3, -3) (Diff)
/source/blender/compositor/operations/COM_ChromaMatteOperation.cpp (+2, -2) (Diff)
/source/blender/compositor/operations/COM_ColorMatteOperation.cpp (+2, -2) (Diff)
/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.cpp (+2, -2) (Diff)
/source/blender/compositor/operations/COM_LuminanceMatteOperation.cpp (+2, -2) (Diff)
/source/blender/editors/space_node/drawnode.c (+8, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+12, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+26, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_setalpha.c (+10, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021