tornavis/tests
Omar Emara 1bff17cc99 Compositor: Unify plane anti-aliasing between CPU and GPU
This patch unifies the anti-aliasing of plane deforms between the CPU
and GPU compositors. The CPU used a multi-sample approach, where the
mask was computed 8 times with a jitter, then averaged to get smooth
edges. The GPU relied on the anisotropic filtering with zero boundaries
to smooth the edges.

Furthermore, the CPU implementation ignored the anti-aliasing for the
deformed image and also relied anisotropic filtering like the GPU, so
its outputs were different.

To unify both implementation, we use the existing SMAA anti-aliasing
algorithm instead, and use the anti-aliased mask for the image output as
well. This affects both the Corner Pin and Plane Deform nodes.

A consequence of this change for the Plane Deform node is that motion
blur will appear to have less samples, that's because it was sampled
8-times more in the previous implementation. But users can just increase
the samples in the node to account for that.

Pull Request: https://projects.blender.org/blender/blender/pulls/118853
2024-02-29 12:30:16 +01:00
..
blender_as_python_module License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
data@15c20a4b5d Compositor: Unify plane anti-aliasing between CPU and GPU 2024-02-29 12:30:16 +01:00
gtests Fix: Update tests data path to new directory 2024-02-22 14:25:54 +01:00
performance Cleanup: use static sets for contains checks, remove f-string use 2024-02-28 11:02:49 +11:00
python Cleanup: use static sets for contains checks, remove f-string use 2024-02-28 11:02:49 +11:00
utils Tests: update default library path for batch blendfile loader 2024-02-23 14:57:05 +11:00
CMakeLists.txt Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00