Blender Git Commit Log

Git Commits -> Revision 3b88a29

Revision 3b88a29 by Sergey Sharybin (master)
October 13, 2012, 12:38 (GMT)
Cycles: progressive refine option

Just makes progressive refine :)

This means the whole image would be refined gradually using as much
threads as it's set in performance settings. Having enough tiles is
required to have this option working as it's expected.

Technically it's implemented by repeatedly computing next sample for
all the tiles before switching to next sample.

This works around 7-12% slower than regular tile-based rendering, so
use this option only if you really need it.

This commit also fixes progressive update of image when Save Buffers
option is enabled.

And one more thing this commit fixes is handling display buffer with
Save Buffers option enabled. If this option is enabled image buffer
wouldn't have neither byte nor float buffer until image is fully
rendered which could backfire in missing image while rendering in
cases color management cache became full.

This issue solved by allocating byte buffer for image buffer from
tile update callback.

Patch was reviewed by Brecht. He also made some minor edits to
original version to patch. Thanks, man!

Commit Details:

Full Hash: 3b88a29abfdba618cc874f06ac8312218ae29b00
SVN Revision: 51299
Parent Commit: 51105bb
Lines Changed: +158, -36

18 Modified Paths:

/intern/cycles/blender/addon/properties.py (+5, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+2, -0) (Diff)
/intern/cycles/blender/blender_session.cpp (+5, -2) (Diff)
/intern/cycles/blender/blender_sync.cpp (+7, -1) (Diff)
/intern/cycles/device/device_cpu.cpp (+16, -8) (Diff)
/intern/cycles/device/device_cuda.cpp (+4, -2) (Diff)
/intern/cycles/device/device_opencl.cpp (+4, -2) (Diff)
/intern/cycles/device/device_task.h (+1, -0) (Diff)
/intern/cycles/render/session.cpp (+82, -11) (Diff)
/intern/cycles/render/session.h (+9, -0) (Diff)
/intern/cycles/render/tile.cpp (+2, -0) (Diff)
/intern/cycles/render/tile.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+12, -2) (Diff)
/source/blender/compositor/operations/COM_ViewerBaseOperation.cpp (+1, -1) (Diff)
/source/blender/editors/render/render_internal.c (+1, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+1, -1) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+2, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021