blender/release/scripts/presets/cycles/sampling/preview.py

20 lines
380 B
Python
Raw Normal View History

import bpy
cycles = bpy.context.scene.cycles
cycles.use_square_samples = True
# Progressive
cycles.samples = 12
cycles.preview_samples = 6
# Non-Progressive
cycles.aa_samples = 4
cycles.preview_aa_samples = 2
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