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:
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_view_layer.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_view_layer.py321
1 files changed, 0 insertions, 321 deletions
diff --git a/release/scripts/startup/bl_ui/properties_view_layer.py b/release/scripts/startup/bl_ui/properties_view_layer.py
index a8128f04bd4..3c8552c3407 100644
--- a/release/scripts/startup/bl_ui/properties_view_layer.py
+++ b/release/scripts/startup/bl_ui/properties_view_layer.py
@@ -47,316 +47,6 @@ class VIEWLAYER_PT_layer(ViewLayerButtonsPanel, Panel):
layout.prop(rd, "use_single_layer", text="Render Single Layer")
-class VIEWLAYER_PT_clay_settings(ViewLayerButtonsPanel, Panel):
- bl_label = "Render Settings"
- COMPAT_ENGINES = {'BLENDER_CLAY'}
-
- @classmethod
- def poll(cls, context):
- return (context.engine in cls.COMPAT_ENGINES)
-
- def draw(self, context):
- layout = self.layout
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_CLAY']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_CLAY']
-
- col = layout.column()
- col.template_override_property(layer_props, scene_props, "ssao_samples")
-
-
-class VIEWLAYER_PT_eevee_ambient_occlusion(ViewLayerButtonsPanel, Panel):
- bl_label = "Ambient Occlusion"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_EEVEE'}
-
- @classmethod
- def poll(cls, context):
- return (context.engine in cls.COMPAT_ENGINES)
-
- def draw_header(self, context):
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- self.layout.template_override_property(layer_props, scene_props, "gtao_enable", text="")
-
- def draw(self, context):
- layout = self.layout
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- col = layout.column()
- col.template_override_property(layer_props, scene_props, "gtao_use_bent_normals")
- col.template_override_property(layer_props, scene_props, "gtao_bounce")
- col.template_override_property(layer_props, scene_props, "gtao_distance")
- col.template_override_property(layer_props, scene_props, "gtao_factor")
- col.template_override_property(layer_props, scene_props, "gtao_quality")
-
-
-class VIEWLAYER_PT_eevee_motion_blur(ViewLayerButtonsPanel, Panel):
- bl_label = "Motion Blur"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_EEVEE'}
-
- @classmethod
- def poll(cls, context):
- return (context.engine in cls.COMPAT_ENGINES)
-
- def draw_header(self, context):
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- self.layout.template_override_property(layer_props, scene_props, "motion_blur_enable", text="")
-
- def draw(self, context):
- layout = self.layout
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- col = layout.column()
- col.template_override_property(layer_props, scene_props, "motion_blur_samples")
- col.template_override_property(layer_props, scene_props, "motion_blur_shutter")
-
-
-class VIEWLAYER_PT_eevee_depth_of_field(ViewLayerButtonsPanel, Panel):
- bl_label = "Depth Of Field"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_EEVEE'}
-
- @classmethod
- def poll(cls, context):
- return (context.engine in cls.COMPAT_ENGINES)
-
- def draw_header(self, context):
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- self.layout.template_override_property(layer_props, scene_props, "dof_enable", text="")
-
- def draw(self, context):
- layout = self.layout
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- col = layout.column()
- col.template_override_property(layer_props, scene_props, "bokeh_max_size")
- col.template_override_property(layer_props, scene_props, "bokeh_threshold")
-
-
-class VIEWLAYER_PT_eevee_bloom(ViewLayerButtonsPanel, Panel):
- bl_label = "Bloom"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_EEVEE'}
-
- @classmethod
- def poll(cls, context):
- return (context.engine in cls.COMPAT_ENGINES)
-
- def draw_header(self, context):
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- self.layout.template_override_property(layer_props, scene_props, "bloom_enable", text="")
-
- def draw(self, context):
- layout = self.layout
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- col = layout.column()
- col.template_override_property(layer_props, scene_props, "bloom_threshold")
- col.template_override_property(layer_props, scene_props, "bloom_knee")
- col.template_override_property(layer_props, scene_props, "bloom_radius")
- col.template_override_property(layer_props, scene_props, "bloom_color")
- col.template_override_property(layer_props, scene_props, "bloom_intensity")
- col.template_override_property(layer_props, scene_props, "bloom_clamp")
-
-
-class VIEWLAYER_PT_eevee_volumetric(ViewLayerButtonsPanel, Panel):
- bl_label = "Volumetric"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_EEVEE'}
-
- @classmethod
- def poll(cls, context):
- return (context.engine in cls.COMPAT_ENGINES)
-
- def draw_header(self, context):
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- self.layout.template_override_property(layer_props, scene_props, "volumetric_enable", text="")
-
- def draw(self, context):
- layout = self.layout
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- col = layout.column()
- col.template_override_property(layer_props, scene_props, "volumetric_start")
- col.template_override_property(layer_props, scene_props, "volumetric_end")
- col.template_override_property(layer_props, scene_props, "volumetric_tile_size")
- col.template_override_property(layer_props, scene_props, "volumetric_samples")
- col.template_override_property(layer_props, scene_props, "volumetric_sample_distribution")
- col.template_override_property(layer_props, scene_props, "volumetric_lights")
- col.template_override_property(layer_props, scene_props, "volumetric_light_clamp")
- col.template_override_property(layer_props, scene_props, "volumetric_shadows")
- col.template_override_property(layer_props, scene_props, "volumetric_shadow_samples")
- col.template_override_property(layer_props, scene_props, "volumetric_colored_transmittance")
-
-
-class VIEWLAYER_PT_eevee_subsurface_scattering(ViewLayerButtonsPanel, Panel):
- bl_label = "Subsurface Scattering"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_EEVEE'}
-
- @classmethod
- def poll(cls, context):
- return (context.engine in cls.COMPAT_ENGINES)
-
- def draw_header(self, context):
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- self.layout.template_override_property(layer_props, scene_props, "sss_enable", text="")
-
- def draw(self, context):
- layout = self.layout
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- col = layout.column()
- col.template_override_property(layer_props, scene_props, "sss_samples")
- col.template_override_property(layer_props, scene_props, "sss_jitter_threshold")
- col.template_override_property(layer_props, scene_props, "sss_separate_albedo")
-
-
-class VIEWLAYER_PT_eevee_screen_space_reflections(ViewLayerButtonsPanel, Panel):
- bl_label = "Screen Space Reflections"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_EEVEE'}
-
- @classmethod
- def poll(cls, context):
- return (context.engine in cls.COMPAT_ENGINES)
-
- def draw_header(self, context):
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- self.layout.template_override_property(layer_props, scene_props, "ssr_enable", text="")
-
- def draw(self, context):
- layout = self.layout
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- col = layout.column()
- col.template_override_property(layer_props, scene_props, "ssr_halfres")
- col.template_override_property(layer_props, scene_props, "ssr_refraction")
- col.template_override_property(layer_props, scene_props, "ssr_quality")
- col.template_override_property(layer_props, scene_props, "ssr_max_roughness")
- col.template_override_property(layer_props, scene_props, "ssr_thickness")
- col.template_override_property(layer_props, scene_props, "ssr_border_fade")
- col.template_override_property(layer_props, scene_props, "ssr_firefly_fac")
-
-
-class VIEWLAYER_PT_eevee_shadows(ViewLayerButtonsPanel, Panel):
- bl_label = "Shadows"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_EEVEE'}
-
- @classmethod
- def poll(cls, context):
- return (context.engine in cls.COMPAT_ENGINES)
-
- def draw(self, context):
- layout = self.layout
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- col = layout.column()
- col.template_override_property(layer_props, scene_props, "shadow_method")
- col.template_override_property(layer_props, scene_props, "shadow_cube_size")
- col.template_override_property(layer_props, scene_props, "shadow_cascade_size")
- col.template_override_property(layer_props, scene_props, "shadow_high_bitdepth")
-
-
-class VIEWLAYER_PT_eevee_sampling(ViewLayerButtonsPanel, Panel):
- bl_label = "Sampling"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_EEVEE'}
-
- @classmethod
- def poll(cls, context):
- return (context.engine in cls.COMPAT_ENGINES)
-
- def draw(self, context):
- layout = self.layout
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- col = layout.column()
- col.template_override_property(layer_props, scene_props, "taa_samples")
- col.template_override_property(layer_props, scene_props, "taa_render_samples")
- col.template_override_property(layer_props, scene_props, "taa_reprojection")
-
-
-class VIEWLAYER_PT_eevee_indirect_lighting(ViewLayerButtonsPanel, Panel):
- bl_label = "Indirect Lighting"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_EEVEE'}
-
- @classmethod
- def poll(cls, context):
- return (context.engine in cls.COMPAT_ENGINES)
-
- def draw(self, context):
- layout = self.layout
- scene = context.scene
- scene_props = scene.layer_properties['BLENDER_EEVEE']
- layer = bpy.context.view_layer
- layer_props = layer.engine_overrides['BLENDER_EEVEE']
-
- col = layout.column()
- col.template_override_property(layer_props, scene_props, "gi_diffuse_bounces")
- col.template_override_property(layer_props, scene_props, "gi_cubemap_resolution")
- col.template_override_property(layer_props, scene_props, "gi_visibility_resolution")
-
-
class VIEWLAYER_PT_eevee_layer_passes(ViewLayerButtonsPanel, Panel):
bl_label = "Passes"
bl_options = {'DEFAULT_CLOSED'}
@@ -388,17 +78,6 @@ class VIEWLAYER_PT_eevee_layer_passes(ViewLayerButtonsPanel, Panel):
classes = (
VIEWLAYER_PT_layer,
- VIEWLAYER_PT_clay_settings,
- VIEWLAYER_PT_eevee_sampling,
- VIEWLAYER_PT_eevee_shadows,
- VIEWLAYER_PT_eevee_indirect_lighting,
- VIEWLAYER_PT_eevee_subsurface_scattering,
- VIEWLAYER_PT_eevee_screen_space_reflections,
- VIEWLAYER_PT_eevee_ambient_occlusion,
- VIEWLAYER_PT_eevee_volumetric,
- VIEWLAYER_PT_eevee_motion_blur,
- VIEWLAYER_PT_eevee_depth_of_field,
- VIEWLAYER_PT_eevee_bloom,
VIEWLAYER_PT_eevee_layer_passes,
)