[Bf-blender-cvs] [ffea3f5] soc-2016-cycles_denoising: Cycles Standalone: Add option to set the tile size

Lukas Stockner noreply at git.blender.org
Wed Aug 10 03:22:10 CEST 2016


Commit: ffea3f5aa2a97e8449564928f4ff1fbd69670e93
Author: Lukas Stockner
Date:   Mon Aug 8 21:09:12 2016 +0200
Branches: soc-2016-cycles_denoising
https://developer.blender.org/rBffea3f5aa2a97e8449564928f4ff1fbd69670e93

Cycles Standalone: Add option to set the tile size

===================================================================

M	intern/cycles/app/cycles_standalone.cpp

===================================================================

diff --git a/intern/cycles/app/cycles_standalone.cpp b/intern/cycles/app/cycles_standalone.cpp
index 726e9a5..e477cb9 100644
--- a/intern/cycles/app/cycles_standalone.cpp
+++ b/intern/cycles/app/cycles_standalone.cpp
@@ -375,6 +375,8 @@ static void options_parse(int argc, const char **argv)
 		"--threads %d", &options.session_params.threads, "CPU Rendering Threads",
 		"--width  %d", &options.width, "Window width in pixel",
 		"--height %d", &options.height, "Window height in pixel",
+		"--tile-width %d", &options.session_params.tile_size.x, "Tile width in pixels",
+		"--tile-height %d", &options.session_params.tile_size.y, "Tile width in pixels",
 		"--list-devices", &list, "List information about all available devices",
 #ifdef WITH_CYCLES_LOGGING
 		"--debug", &debug, "Enable debug logging",




More information about the Bf-blender-cvs mailing list