Cycles: change defaults for filter glossy, clamp and branched path AA.
We're adding some bias by default, which now I think is the right thing to do from a usability point of view since you really need to use those options anyway to get clean renders in a practical time. Differential Revision: https://developer.blender.org/D2769
This commit is contained in:
parent
977e7b68cb
commit
8a7c207f0b
|
@ -205,13 +205,13 @@ class CyclesRenderSettings(bpy.types.PropertyGroup):
|
|||
name="AA Samples",
|
||||
description="Number of antialiasing samples to render for each pixel",
|
||||
min=1, max=2097151,
|
||||
default=4,
|
||||
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=4,
|
||||
default=32,
|
||||
)
|
||||
cls.diffuse_samples = IntProperty(
|
||||
name="Diffuse Samples",
|
||||
|
@ -308,7 +308,7 @@ class CyclesRenderSettings(bpy.types.PropertyGroup):
|
|||
description="Adaptively blur glossy shaders after blurry bounces, "
|
||||
"to reduce noise at the cost of accuracy",
|
||||
min=0.0, max=10.0,
|
||||
default=0.0,
|
||||
default=1.0,
|
||||
)
|
||||
|
||||
cls.max_bounces = IntProperty(
|
||||
|
@ -453,7 +453,7 @@ class CyclesRenderSettings(bpy.types.PropertyGroup):
|
|||
"higher values will be scaled down to avoid too "
|
||||
"much noise and slow convergence at the cost of accuracy",
|
||||
min=0.0, max=1e8,
|
||||
default=0.0,
|
||||
default=10.0,
|
||||
)
|
||||
|
||||
cls.debug_tile_size = IntProperty(
|
||||
|
|
|
@ -302,3 +302,16 @@ def do_versions(self):
|
|||
cscene = scene.cycles
|
||||
if not cscene.is_property_set("light_sampling_threshold"):
|
||||
cscene.light_sampling_threshold = 0.0
|
||||
|
||||
if bpy.data.version <= (2, 79, 0):
|
||||
for scene in bpy.data.scenes:
|
||||
cscene = scene.cycles
|
||||
# Default changes
|
||||
if not cscene.is_property_set("aa_samples"):
|
||||
cscene.aa_samples = 4
|
||||
if not cscene.is_property_set("preview_aa_samples"):
|
||||
cscene.preview_aa_samples = 4
|
||||
if not cscene.is_property_set("blur_glossy"):
|
||||
cscene.blur_glossy = 0.0
|
||||
if not cscene.is_property_set("sample_clamp_indirect"):
|
||||
cscene.sample_clamp_indirect = 0.0
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
* and keep comment above the defines.
|
||||
* Use STRINGIFY() rather than defining with quotes */
|
||||
#define BLENDER_VERSION 279
|
||||
#define BLENDER_SUBVERSION 0
|
||||
#define BLENDER_SUBVERSION 1
|
||||
/* Several breakages with 270, e.g. constraint deg vs rad */
|
||||
#define BLENDER_MINVERSION 270
|
||||
#define BLENDER_MINSUBVERSION 6
|
||||
|
|
Loading…
Reference in New Issue