Cycles: Update Integrator Presets and Total Samples info for latest changes.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user