diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2019-02-06 14:57:10 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-02-11 15:39:08 +0300 |
commit | e379a9ba918dbf27e81fd289e98314197109b54c (patch) | |
tree | 053fb40f47cdab5b42ed7f4ab40421c6317e8324 /intern/cycles/render/session.h | |
parent | 382fe85e293e3d00bd7e494bd270cd32bec8ecb6 (diff) |
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
Diffstat (limited to 'intern/cycles/render/session.h')
-rw-r--r-- | intern/cycles/render/session.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/intern/cycles/render/session.h b/intern/cycles/render/session.h index cb1d8fed68f..e3cccbb9fcf 100644 --- a/intern/cycles/render/session.h +++ b/intern/cycles/render/session.h @@ -63,10 +63,7 @@ public: bool run_denoising; bool write_denoising_passes; bool full_denoising; - int denoising_radius; - float denoising_strength; - float denoising_feature_strength; - bool denoising_relative_pca; + DenoiseParams denoising; double cancel_timeout; double reset_timeout; @@ -98,10 +95,6 @@ public: run_denoising = false; write_denoising_passes = false; full_denoising = false; - denoising_radius = 8; - denoising_strength = 0.0f; - denoising_feature_strength = 0.0f; - denoising_relative_pca = false; display_buffer_linear = false; |