diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-03-15 17:52:27 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-03-15 18:00:01 +0300 |
commit | c44cdd5905d3112a46a984b8d49710fb1c1546a0 (patch) | |
tree | 14ca93c9d06f76c7042be2583833a07064abf24b /intern/cycles/blender/blender_session.h | |
parent | c5dba540d73ec664ac3bfff02f73413906d66273 (diff) |
Cycles: Allow rendering a range of resumable chunks
The range is controlled using the following command line arguments:
--cycles-resumable-start-chunk
--cycles-resumable-end-chunk
Those are 1-based index of range for rendering.
Diffstat (limited to 'intern/cycles/blender/blender_session.h')
-rw-r--r-- | intern/cycles/blender/blender_session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_session.h b/intern/cycles/blender/blender_session.h index 82fe218b4ce..700b8acec1b 100644 --- a/intern/cycles/blender/blender_session.h +++ b/intern/cycles/blender/blender_session.h @@ -137,6 +137,10 @@ public: /* Current resumable chunk index to render. */ static int current_resumable_chunk; + /* Alternative to single-chunk rendering to render a range of chunks. */ + static int start_resumable_chunk; + static int end_resumable_chunk; + protected: void do_write_update_render_result(BL::RenderResult& b_rr, BL::RenderLayer& b_rlay, |