blender/intern/cycles
Lukas Stockner a2ebc5268f Cycles: Refactor Progress system to provide better estimates
The Progress system in Cycles had two limitations so far:
 - It just counted tiles, but ignored their size. For example, when rendering a 600x500 image with 512x512 tiles, the right 88x500 tile would count for 50% of the progress, although it only covers 15% of the image.
 - Scene update time was incorrectly counted as rendering time - therefore, the remaining time started very long and gradually decreased.

This patch fixes both problems:
First of all, the Progress now has a function to ignore time spans, and that is used to ignore scene update time.
The larger change is the tile size: Instead of counting samples per tile, so that the final value is num_samples*num_tiles, the code now counts every sample for every pixel, so that the final value is num_samples*num_pixels.

Along with that, some unused variables were removed from the Progress and Session classes.

Reviewers: brecht, sergey, #cycles

Subscribers: brecht, candreacchio, sergey

Differential Revision: https://developer.blender.org/D2214
2016-12-03 05:02:21 +01:00
..
app Cycles: Refactor Progress system to provide better estimates 2016-12-03 05:02:21 +01:00
blender Cycles: Refactor Progress system to provide better estimates 2016-12-03 05:02:21 +01:00
bvh Cycles: Fix uninitialized variable from the previous commit 2016-10-24 12:54:24 +02:00
cmake Fix compilation error when CUDA toolkit is not installed 2016-11-07 14:47:10 +01:00
device Cycles: Refactor Progress system to provide better estimates 2016-12-03 05:02:21 +01:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
graph Cycles: Don't use guarded vector for statically initialized data 2016-10-24 14:18:22 +02:00
kernel Cycles: Implement AVX2 path for curve intersection functions 2016-12-02 12:23:38 +01:00
render Cycles: Refactor Progress system to provide better estimates 2016-12-03 05:02:21 +01:00
subd Cycles: Cleanup, style 2016-10-24 12:26:12 +02:00
test Cycles: Cleanup, style 2016-10-24 12:26:12 +02:00
util Cycles: Refactor Progress system to provide better estimates 2016-12-03 05:02:21 +01:00
CMakeLists.txt Cycles microdisplacement: Support for Catmull-Clark subdivision via OpenSubdiv 2016-08-07 11:13:11 -04:00