This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/release/scripts/presets/cycles/performance/Lower_Memory.py
Brecht Van Lommel 5539fb3121 Cycles: add presets to the Performance panel
With choices Default, Lower Memory and Faster Render. For convenience, and
to help communicate what the various settings do.

Differential Revision: https://developer.blender.org/D15446
2022-07-14 16:36:38 +02:00

13 lines
336 B
Python

import bpy
render = bpy.context.scene.render
cycles = bpy.context.scene.cycles
render.threads_mode = 'AUTO'
render.use_persistent_data = False
cycles.debug_use_spatial_splits = False
cycles.debug_use_compact_bvh = True
cycles.debug_use_hair_bvh = True
cycles.debug_bvh_time_steps = 0
cycles.use_auto_tile = True
cycles.tile_size = 512