Blender Git Commit Log

Git Commits -> Revision 805d947

Revision 805d947 by Habib Gahbiche (master)
March 29, 2021, 05:56 (GMT)
Compositor: Add Anti-Aliasing node

This is an implementation of Enhanced Subpixel Morphological Antialiasing (SMAA)

The algorithm was proposed by:
Jorge Jimenez, Jose I. Echevarria, Tiago Sousa, Diego Gutierrez

This node provides only SMAA 1x mode, so the operation will be done with no spatial
multisampling nor temporal supersampling. See Patch for comparisons.

The existing AA operation seems to be used only for binary images by some other nodes.
Using SMAA for binary images needs no important parameter such as "threshold", so we
perhaps can switch the operation to SMAA, though that changes existing behavior.

Notes:
1. The program code assumes the screen coordinates are DirectX style that the
vertical direction is upside-down, so "top" and "bottom" actually represent bottom
and top, respectively.

Thanks for Habib Gahbiche (zazizizou) to polish and finalize this patch.

Reviewed By: jbakker

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

Commit Details:

Full Hash: 805d9478109e76ca221f202ff152bae685f77ff4
Parent Commit: 6af4163
Committed By: Jeroen Bakker
Lines Changed: +6479, -0

9 Added Paths:

/extern/smaa_areatex/CMakeLists.txt (+26, -0) (View)
/extern/smaa_areatex/README.blender (+5, -0) (View)
/extern/smaa_areatex/smaa_areatex.cpp (+1208, -0) (View)
/source/blender/blenkernel/intern/node.c (+3969, -0) (View)
/source/blender/compositor/nodes/COM_AntiAliasingNode.cc (+56, -0) (View)
/source/blender/compositor/nodes/COM_AntiAliasingNode.h (+38, -0) (View)
/source/blender/compositor/operations/COM_SMAAOperation.cc (+865, -0) (View)
/source/blender/compositor/operations/COM_SMAAOperation.h (+147, -0) (View)
/source/blender/nodes/composite/nodes/node_composite_antialiasing.c (+65, -0) (View)

13 Modified Paths:

/extern/CMakeLists.txt (+4, -0) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/blenlib/intern/math_base_inline.c (+7, -0) (Diff)
/source/blender/compositor/CMakeLists.txt (+24, -0) (Diff)
/source/blender/compositor/intern/COM_Converter.cc (+4, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+14, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+35, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_composite.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021