Blender Git Commit Log

Git Commits -> Revision cfa101c2

Revision cfa101c2 by Lukas Stockner (master)
October 2, 2020, 17:26 (GMT)
Cycles: Add command line option for overriding the compute device

The current way of setting the compute device makes sense for local
use, but for headless rendering it it a massive pain to get Cycles
to use the correct device, usually involving entire Python scripts.

Therefore, this patch adds a simple command-line option to Blender
for specifying the type of device that should be used. If the option
is present, the settings in the user preferences and the scene are
ignored, and instead all devices matching the specified type are used.

Differential Revision:

Commit Details:

Full Hash: cfa101c22871c3d115f854e23f8b656b1c58a304
Parent Commit: 90a27d5
Lines Changed: +67, -4

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021