[Bf-blender-cvs] [8d399eef67b] gsoc-2018-many-light-sampling: Merge branch 'master' into gsoc-2018-many-light-sampling

Erik Englesson noreply at git.blender.org
Sun Aug 12 12:32:20 CEST 2018


Commit: 8d399eef67b68d663b93f33aa36fde24564ba81e
Author: Erik Englesson
Date:   Sun Aug 12 12:30:42 2018 +0200
Branches: gsoc-2018-many-light-sampling
https://developer.blender.org/rB8d399eef67b68d663b93f33aa36fde24564ba81e

Merge branch 'master' into gsoc-2018-many-light-sampling

===================================================================



===================================================================

diff --cc intern/cycles/blender/addon/properties.py
index a5b535eb685,c97d942af9d..7c0283f0d72
--- a/intern/cycles/blender/addon/properties.py
+++ b/intern/cycles/blender/addon/properties.py
@@@ -155,302 -156,289 +156,302 @@@ class CyclesRenderSettings(bpy.types.Pr
      @classmethod
      def register(cls):
          bpy.types.Scene.cycles = PointerProperty(
-                 name="Cycles Render Settings",
-                 description="Cycles render settings",
-                 type=cls,
-                 )
+             name="Cycles Render Settings",
+             description="Cycles render settings",
+             type=cls,
+         )
          cls.device = EnumProperty(
-                 name="Device",
-                 description="Device to use for rendering",
-                 items=enum_devices,
-                 default='CPU',
-                 )
+             name="Device",
+             description="Device to use for rendering",
+             items=enum_devices,
+             default='CPU',
+         )
          cls.feature_set = EnumProperty(
-                 name="Feature Set",
-                 description="Feature set to use for rendering",
-                 items=enum_feature_set,
-                 default='SUPPORTED',
-                 )
+             name="Feature Set",
+             description="Feature set to use for rendering",
+             items=enum_feature_set,
+             default='SUPPORTED',
+         )
          cls.shading_system = BoolProperty(
-                 name="Open Shading Language",
-                 description="Use Open Shading Language (CPU rendering only)",
-                 )
+             name="Open Shading Language",
+             description="Use Open Shading Language (CPU rendering only)",
+         )
  
          cls.progressive = EnumProperty(
-                 name="Integrator",
-                 description="Method to sample lights and materials",
-                 items=enum_integrator,
-                 default='PATH',
-                 )
+             name="Integrator",
+             description="Method to sample lights and materials",
+             items=enum_integrator,
+             default='PATH',
+         )
  
          cls.use_square_samples = BoolProperty(
-                 name="Square Samples",
-                 description="Square sampling values for easier artist control",
-                 default=False,
-                 )
+             name="Square Samples",
+             description="Square sampling values for easier artist control",
+             default=False,
+         )
  
 +        cls.use_light_tree = BoolProperty(
 +                name="Light Tree",
 +                description="Samples many lights more efficiently",
 +                default=False,
 +                )
 +
 +        cls.splitting_threshold = FloatProperty(
 +                name="Splitting",
 +                description="Amount of lights to sample at a time, from one light at 0.0, to adaptively more lights as needed, to all lights at 1.0",
 +                min=0.0, max=1.0,
 +                default=0.0,
 +                )
 +
          cls.samples = IntProperty(
-                 name="Samples",
-                 description="Number of samples to render for each pixel",
-                 min=1, max=2147483647,
-                 default=128,
-                 )
+             name="Samples",
+             description="Number of samples to render for each pixel",
+             min=1, max=2147483647,
+             default=128,
+         )
          cls.preview_samples = IntProperty(
-                 name="Preview Samples",
-                 description="Number of samples to render in the viewport, unlimited if 0",
-                 min=0, max=2147483647,
-                 default=32,
-                 )
+             name="Preview Samples",
+             description="Number of samples to render in the viewport, unlimited if 0",
+             min=0, max=2147483647,
+             default=32,
+         )
          cls.preview_pause = BoolProperty(
-                 name="Pause Preview",
-                 description="Pause all viewport preview renders",
-                 default=False,
-                 )
+             name="Pause Preview",
+             description="Pause all viewport preview renders",
+             default=False,
+         )
          cls.preview_active_layer = BoolProperty(
-                 name="Preview Active Layer",
-                 description="Preview active render layer in viewport",
-                 default=False,
-                 )
+             name="Preview Active Layer",
+             description="Preview active render layer in viewport",
+             default=False,
+         )
  
          cls.aa_samples = IntProperty(
-                 name="AA Samples",
-                 description="Number of antialiasing samples to render for each pixel",
-                 min=1, max=2097151,
-                 default=128,
-                 )
+             name="AA Samples",
+             description="Number of antialiasing samples to render for each pixel",
+             min=1, max=2097151,
+             default=128,
+         )
          cls.preview_aa_samples = IntProperty(
-                 name="AA Samples",
-                 description="Number of antialiasing samples to render in the viewport, unlimited if 0",
-                 min=0, max=2097151,
-                 default=32,
-                 )
+             name="AA Samples",
+             description="Number of antialiasing samples to render in the viewport, unlimited if 0",
+             min=0, max=2097151,
+             default=32,
+         )
          cls.diffuse_samples = IntProperty(
-                 name="Diffuse Samples",
-                 description="Number of diffuse bounce samples to render for each AA sample",
-                 min=1, max=1024,
-                 default=1,
-                 )
+             name="Diffuse Samples",
+             description="Number of diffuse bounce samples to render for each AA sample",
+             min=1, max=1024,
+             default=1,
+         )
          cls.glossy_samples = IntProperty(
-                 name="Glossy Samples",
-                 description="Number of glossy bounce samples to render for each AA sample",
-                 min=1, max=1024,
-                 default=1,
-                 )
+             name="Glossy Samples",
+             description="Number of glossy bounce samples to render for each AA sample",
+             min=1, max=1024,
+             default=1,
+         )
          cls.transmission_samples = IntProperty(
-                 name="Transmission Samples",
-                 description="Number of transmission bounce samples to render for each AA sample",
-                 min=1, max=1024,
-                 default=1,
-                 )
+             name="Transmission Samples",
+             description="Number of transmission bounce samples to render for each AA sample",
+             min=1, max=1024,
+             default=1,
+         )
          cls.ao_samples = IntProperty(
-                 name="Ambient Occlusion Samples",
-                 description="Number of ambient occlusion samples to render for each AA sample",
-                 min=1, max=1024,
-                 default=1,
-                 )
+             name="Ambient Occlusion Samples",
+             description="Number of ambient occlusion samples to render for each AA sample",
+             min=1, max=1024,
+             default=1,
+         )
          cls.mesh_light_samples = IntProperty(
-                 name="Mesh Light Samples",
-                 description="Number of mesh emission light samples to render for each AA sample",
-                 min=1, max=1024,
-                 default=1,
-                 )
+             name="Mesh Light Samples",
+             description="Number of mesh emission light samples to render for each AA sample",
+             min=1, max=1024,
+             default=1,
+         )
  
          cls.subsurface_samples = IntProperty(
-                 name="Subsurface Samples",
-                 description="Number of subsurface scattering samples to render for each AA sample",
-                 min=1, max=1024,
-                 default=1,
-                 )
+             name="Subsurface Samples",
+             description="Number of subsurface scattering samples to render for each AA sample",
+             min=1, max=1024,
+             default=1,
+         )
  
          cls.volume_samples = IntProperty(
-                 name="Volume Samples",
-                 description="Number of volume scattering samples to render for each AA sample",
-                 min=1, max=1024,
-                 default=1,
-                 )
+             name="Volume Samples",
+             description="Number of volume scattering samples to render for each AA sample",
+             min=1, max=1024,
+             default=1,
+         )
  
          cls.sampling_pattern = EnumProperty(
-                 name="Sampling Pattern",
-                 description="Random sampling pattern used by the integrator",
-                 items=enum_sampling_pattern,
-                 default='SOBOL',
-                 )
+             name="Sampling Pattern",
+             description="Random sampling pattern used by the integrator",
+             items=enum_sampling_pattern,
+             default='SOBOL',
+         )
  
          cls.use_layer_samples = EnumProperty(
-                 name="Layer Samples",
-                 description="How to use per render layer sample settings",
-                 items=enum_use_layer_samples,
-                 default='USE',
-                 )
+             name="Layer Samples",
+             description="How to use per render layer sample settings",
+             items=enum_use_layer_samples,
+             default='USE',
+         )
  
          cls.sample_all_lights_direct = BoolProperty(
-                 name="Sample All Direct Lights",
-                 description="Sample all lights (for direct samples), rather than randomly picking one",
-                 default=True,
-                 )
+             name

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list