forked from bartvdbraak/blender
ac1d58d962
* Add Presets for Sampling. This comes with a simple Preview and Final preset, but as this is varying a lot depending on the scene, they should just be a starting point. The user can add own presets here. * Some UI layout changes to match the settings a bit better.
17 lines
343 B
Python
17 lines
343 B
Python
import bpy
|
|
cycles = bpy.context.scene.cycles
|
|
|
|
cycles.squared_samples = True
|
|
|
|
cycles.samples = 4
|
|
cycles.preview_samples = 4
|
|
cycles.aa_samples = 4
|
|
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
|