blender/release/scripts/presets/cycles/integrator/direct_light.py
Brecht Van Lommel df625253ac Cycles:
* Add max diffuse/glossy/transmission bounces
* Add separate min/max for transparent depth
* Updated/added some presets that use these options
* Add ray visibility options for objects, to hide them from
  camera/diffuse/glossy/transmission/shadow rays
* Is singular ray output for light path node

Details here:
http://wiki.blender.org/index.php/Dev:2.5/Source/Render/Cycles/LightPaths
2011-09-01 15:53:36 +00:00

12 lines
273 B
Python

import bpy
cycles = bpy.context.scene.cycles
cycles.max_bounces = 8
cycles.min_bounces = 8
cycles.no_caustics = True
cycles.diffuse_bounces = 0
cycles.glossy_bounces = 1
cycles.transmission_bounces = 2
cycles.transparent_min_bounces = 8
cycles.transparent_max_bounces = 8