Cycles: add animation denoising Python operator.
authorLukas Stockner <lukas.stockner@freenet.de>
Wed, 6 Feb 2019 11:57:10 +0000 (12:57 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 11 Feb 2019 12:39:08 +0000 (13:39 +0100)
commite379a9ba918dbf27e81fd289e98314197109b54c
tree053fb40f47cdab5b42ed7f4ab40421c6317e8324
parent382fe85e293e3d00bd7e494bd270cd32bec8ecb6
Cycles: add animation denoising Python operator.

This adds a cycles.denoise_animation operator, which denoises an animation
sequence or individual file. Renders must be saved as multilayer EXR files
with denoising data passes.

By default file path and frame range come from the current scene, and EXR
files are denoised in-place. Alternatively, a different input and/or output
file path can be provided.

Denoising settings come from the current view layer. Renders can be denoised
again with different settings, as the original noisy image is preserved along
with other passes and metadata.

There is no user interface yet for this feature, that comes later.

Code by Lukas with modifications by Brecht. This feature was originally
developed for Tangent Animation, thanks for the support!

Differential Revision: https://developer.blender.org/D3889
16 files changed:
intern/cycles/blender/CMakeLists.txt
intern/cycles/blender/addon/__init__.py
intern/cycles/blender/addon/operators.py [new file with mode: 0644]
intern/cycles/blender/addon/properties.py
intern/cycles/blender/addon/ui.py
intern/cycles/blender/blender_python.cpp
intern/cycles/blender/blender_session.cpp
intern/cycles/device/device_denoising.cpp
intern/cycles/device/device_task.h
intern/cycles/render/CMakeLists.txt
intern/cycles/render/denoising.cpp [new file with mode: 0644]
intern/cycles/render/denoising.h [new file with mode: 0644]
intern/cycles/render/session.cpp
intern/cycles/render/session.h
intern/cycles/util/util_system.cpp
intern/cycles/util/util_system.h