forked from bartvdbraak/blender
fc9d4bdf73
* Add a "Total Samples" info at the bottom of the panel. This makes understanding the Non-Progressive integrator easier, as it displays how many samples are used for the different ray types. * Rename Squared Samples to Square samples, to indicate that the action is not already done. The new Total Samples info should make this easier to understand now as well. Also added back for Progressive integrator, for consistency. Screenshot: http://www.pasteall.org/pic/show.php?id=57980
20 lines
381 B
Python
20 lines
381 B
Python
import bpy
|
|
cycles = bpy.context.scene.cycles
|
|
|
|
cycles.use_square_samples = True
|
|
|
|
# Progressive
|
|
cycles.samples = 24
|
|
cycles.preview_samples = 12
|
|
|
|
# Non-Progressive
|
|
cycles.aa_samples = 8
|
|
cycles.preview_aa_samples = 4
|
|
|
|
cycles.diffuse_samples = 3
|
|
cycles.glossy_samples = 2
|
|
cycles.transmission_samples = 2
|
|
cycles.ao_samples = 1
|
|
cycles.mesh_light_samples = 2
|
|
cycles.subsurface_samples = 2
|