Cycles: Update Integrator Presets and Total Samples info for latest changes.

This commit is contained in:
2014-01-07 15:55:01 +01:00
parent 7b0a46b1ff
commit 073be286b4
4 changed files with 11 additions and 6 deletions

View File

@@ -65,6 +65,7 @@ class AddPresetSampling(AddPresetBase, Operator):
"cycles.ao_samples",
"cycles.mesh_light_samples",
"cycles.subsurface_samples",
"cycles.volume_samples",
"cycles.no_caustics",
"cycles.blur_glossy",
"cycles.use_square_samples",

View File

@@ -64,6 +64,7 @@ def draw_samples_info(layout, cscene):
ao = cscene.ao_samples
ml = cscene.mesh_light_samples
sss = cscene.subsurface_samples
vol = cscene.volume_samples
if cscene.use_square_samples:
aa = aa * aa
@@ -73,6 +74,7 @@ def draw_samples_info(layout, cscene):
ao = ao * ao
ml = ml * ml
sss = sss * sss
vol = vol * vol
# Draw interface
# Do not draw for progressive, when Square Samples are disabled
@@ -87,8 +89,8 @@ def draw_samples_info(layout, cscene):
col.label("%s AA, %s Diffuse, %s Glossy, %s Transmission" %
(aa, d * aa, g * aa, t * aa))
col.separator()
col.label("%s AO, %s Mesh Light, %s Subsurface" %
(ao * aa, ml * aa, sss * aa))
col.label("%s AO, %s Mesh Light, %s Subsurface, %s Volume" %
(ao * aa, ml * aa, sss * aa, vol * aa))
class CyclesRender_PT_sampling(CyclesButtonsPanel, Panel):

View File

@@ -3,11 +3,11 @@ cycles = bpy.context.scene.cycles
cycles.use_square_samples = True
# Progressive
# Path Trace
cycles.samples = 24
cycles.preview_samples = 12
# Non-Progressive
# Branched Path Trace
cycles.aa_samples = 8
cycles.preview_aa_samples = 4
@@ -17,3 +17,4 @@ cycles.transmission_samples = 2
cycles.ao_samples = 1
cycles.mesh_light_samples = 2
cycles.subsurface_samples = 2
cycles.volume_samples = 2

View File

@@ -3,11 +3,11 @@ cycles = bpy.context.scene.cycles
cycles.use_square_samples = True
# Progressive
# Path Trace
cycles.samples = 12
cycles.preview_samples = 6
# Non-Progressive
# Branched Path Trace
cycles.aa_samples = 4
cycles.preview_aa_samples = 2
@@ -17,3 +17,4 @@ cycles.transmission_samples = 2
cycles.ao_samples = 1
cycles.mesh_light_samples = 2
cycles.subsurface_samples = 2
cycles.volume_samples = 2