Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Stockner <lukas.stockner@freenet.de>2019-02-06 14:57:10 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-02-11 15:39:08 +0300
commite379a9ba918dbf27e81fd289e98314197109b54c (patch)
tree053fb40f47cdab5b42ed7f4ab40421c6317e8324 /intern/cycles/blender/addon/ui.py
parent382fe85e293e3d00bd7e494bd270cd32bec8ecb6 (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/blender/addon/ui.py')
-rw-r--r--intern/cycles/blender/addon/ui.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 2f1adfe4178..e372843d763 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -22,7 +22,6 @@ import _cycles
from bpy.types import (
Panel,
Menu,
- Operator,
)
@@ -912,27 +911,6 @@ class CYCLES_OBJECT_PT_cycles_settings(CyclesButtonsPanel, Panel):
sub.prop(cob, "use_distance_cull")
-class CYCLES_OT_use_shading_nodes(Operator):
- """Enable nodes on a material, world or lamp"""
- bl_idname = "cycles.use_shading_nodes"
- bl_label = "Use Nodes"
-
- @classmethod
- def poll(cls, context):
- return (getattr(context, "material", False) or getattr(context, "world", False) or
- getattr(context, "lamp", False))
-
- def execute(self, context):
- if context.material:
- context.material.use_nodes = True
- elif context.world:
- context.world.use_nodes = True
- elif context.lamp:
- context.lamp.use_nodes = True
-
- return {'FINISHED'}
-
-
def find_node(material, nodetype):
if material and material.node_tree:
ntree = material.node_tree
@@ -1870,7 +1848,6 @@ classes = (
CYCLES_PT_context_material,
CYCLES_OBJECT_PT_motion_blur,
CYCLES_OBJECT_PT_cycles_settings,
- CYCLES_OT_use_shading_nodes,
CYCLES_LAMP_PT_preview,
CYCLES_LAMP_PT_lamp,
CYCLES_LAMP_PT_nodes,