Blender Git Loki
Git Commits -> Revision 7c8f82a
Revision 7c8f82a by Brecht Van Lommel (master) June 28, 2012, 10:34 (GMT) |
Cycles: regular rendering now works tiled, and supports save buffers to save memory during render and cache render results. Implementation notes: In the render engine API it's now possible to get the render result for one render layer only, and retrieve the expected tile size in case save buffers is used. This is needed because EXR expects tiles with particular size and coordinates. The EXR temporary files are now also separated per layer, since Cycles can't give the full render result for all render layers, and EXR doesn't support writing parts of tiles. In Cycles internally the handling of render buffers and multi GPU rendering in particular changed quite a bit, and could use a bit more refactoring to make things more consistent and simple. |
Commit Details:
Full Hash: 7c8f82a1740b8e5b101bd82222b301ea505d8708
SVN Revision: 48368
Parent Commit: 53bb66e
Lines Changed: +749, -391
30 Modified Paths:
/intern/cycles/blender/addon/ui.py (+10, -2) (Diff)
/intern/cycles/blender/blender_session.cpp (+69, -33) (Diff)
/intern/cycles/blender/blender_session.h (+4, -3) (Diff)
/intern/cycles/blender/blender_sync.cpp (+22, -10) (Diff)
/intern/cycles/blender/blender_sync.h (+3, -2) (Diff)
/intern/cycles/blender/blender_util.h (+2, -2) (Diff)
/intern/cycles/device/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/device/device.cpp (+0, -59) (Diff)
/intern/cycles/device/device.h (+6, -27) (Diff)
/intern/cycles/device/device_cpu.cpp (+37, -20) (Diff)
/intern/cycles/device/device_cuda.cpp (+78, -34) (Diff)
/intern/cycles/device/device_multi.cpp (+26, -1) (Diff)
/intern/cycles/device/device_opencl.cpp (+49, -25) (Diff)
/intern/cycles/render/buffers.cpp (+23, -0) (Diff)
/intern/cycles/render/buffers.h (+22, -4) (Diff)
/intern/cycles/render/session.cpp (+122, -46) (Diff)
/intern/cycles/render/session.h (+12, -4) (Diff)
/intern/cycles/render/tile.cpp (+52, -17) (Diff)
/intern/cycles/render/tile.h (+15, -7) (Diff)
/intern/cycles/util/util_math.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+7, -0) (Diff)
/source/blender/render/extern/include/RE_engine.h (+5, -2) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+4, -1) (Diff)
/source/blender/render/intern/include/initrender.h (+1, -1) (Diff)
/source/blender/render/intern/include/render_result.h (+5, -3) (Diff)
/source/blender/render/intern/source/external_engine.c (+51, -11) (Diff)
/source/blender/render/intern/source/initrender.c (+2, -2) (Diff)
/source/blender/render/intern/source/pipeline.c (+14, -14) (Diff)
/source/blender/render/intern/source/render_result.c (+96, -60) (Diff)
/intern/cycles/blender/blender_session.cpp (+69, -33) (Diff)
/intern/cycles/blender/blender_session.h (+4, -3) (Diff)
/intern/cycles/blender/blender_sync.cpp (+22, -10) (Diff)
/intern/cycles/blender/blender_sync.h (+3, -2) (Diff)
/intern/cycles/blender/blender_util.h (+2, -2) (Diff)
/intern/cycles/device/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/device/device.cpp (+0, -59) (Diff)
/intern/cycles/device/device.h (+6, -27) (Diff)
/intern/cycles/device/device_cpu.cpp (+37, -20) (Diff)
/intern/cycles/device/device_cuda.cpp (+78, -34) (Diff)
/intern/cycles/device/device_multi.cpp (+26, -1) (Diff)
/intern/cycles/device/device_opencl.cpp (+49, -25) (Diff)
/intern/cycles/render/buffers.cpp (+23, -0) (Diff)
/intern/cycles/render/buffers.h (+22, -4) (Diff)
/intern/cycles/render/session.cpp (+122, -46) (Diff)
/intern/cycles/render/session.h (+12, -4) (Diff)
/intern/cycles/render/tile.cpp (+52, -17) (Diff)
/intern/cycles/render/tile.h (+15, -7) (Diff)
/intern/cycles/util/util_math.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+7, -0) (Diff)
/source/blender/render/extern/include/RE_engine.h (+5, -2) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+4, -1) (Diff)
/source/blender/render/intern/include/initrender.h (+1, -1) (Diff)
/source/blender/render/intern/include/render_result.h (+5, -3) (Diff)
/source/blender/render/intern/source/external_engine.c (+51, -11) (Diff)
/source/blender/render/intern/source/initrender.c (+2, -2) (Diff)
/source/blender/render/intern/source/pipeline.c (+14, -14) (Diff)
/source/blender/render/intern/source/render_result.c (+96, -60) (Diff)