Blender Git Commit Log
Git Commits -> Revision 58011ab
September 3, 2021, 11:32 (GMT) |
Cycles-X: Fix incorrect performance calculation at certain navigation resolutions During viewport navigation the algorithm that calculates the resolution divider assumes that the at every resolution division the sample count will be 4. This is not true for cases where the resolution division is equal to `2 * pixel_size` and `pixel_size`. In those cases the sample count is 1. As a result the algorithm assumes `2 * pixel_size` and `pixel_size` are too expensive in a lot of cases and thus doesn't use it. This patch addresses this issue by informing the algorithm of changes in sample counts between resolution divisions meaning it can more properly gauge the performance of various resolution divisions. As a result the algorithm is more likely to pick the correct resolution divider when performance of the scene is in the range that `2 * pixel_size` and `pixel_size` are viable options all while keeping the performance target at 30fps like before. Along with this patch the sample count while the resolution divider is equal to `2 * pixel_size` has been increased from 1 sample per pixel to 2 samples per pixel. Without an increase to this value there are some negative side effects. I have chosen the value of 2 and not 4 because this values means at a resolution divider of `2 * pixel_size` the rendering is still cheaper than a resolution divider of `pixel_size`. Differential Revision: https://developer.blender.org/D12367 |
Commit Details:
Full Hash: 58011ab628c0c1dec32e825a1aafa9dec70c3f8c
Parent Commit: b72c1e9
Committed By: William Leeson
Lines Changed: +39, -32