Blender Git Commit Log
Git Commits -> Revision 3dcb501
Revision 3dcb501 by Sergey Sharybin (cycles-x) April 15, 2021, 10:53 (GMT) |
Cycles: Fix denoising artifacts with adaptive sampling Need to make sure denoiser input is has consistent number of samples for all pixels, otherwise denoiser might see some areas too dark when they converged. The output of denoiser needs to be scaled back, so that when combined pass is scaled with number of samples n display on or pixel buffer request it gives proper result. While this is technically slower than the previous state of the branch, the number of computations is similar to the master branch. We can optimize some areas: for example by multi-threading OIDN passes creation. Additionally, enable handling of all passes for OptiX. Some code was disabled during development and was never enabled back :( |
Commit Details:
Full Hash: 3dcb50105145af20bdce5677be31b03bd21f0d31
Parent Commit: 1d9bdfa
Lines Changed: +130, -52
7 Modified Paths:
/intern/cycles/device/device_denoise.h (+1, -0) (Diff)
/intern/cycles/device/optix/device_impl.cpp (+4, -2) (Diff)
/intern/cycles/integrator/denoiser_device.cpp (+1, -0) (Diff)
/intern/cycles/integrator/denoiser_oidn.cpp (+60, -10) (Diff)
/intern/cycles/kernel/device/cuda/kernel.cu (+55, -37) (Diff)
/intern/cycles/render/buffers.cpp (+5, -0) (Diff)
/intern/cycles/render/buffers.h (+4, -3) (Diff)
/intern/cycles/device/optix/device_impl.cpp (+4, -2) (Diff)
/intern/cycles/integrator/denoiser_device.cpp (+1, -0) (Diff)
/intern/cycles/integrator/denoiser_oidn.cpp (+60, -10) (Diff)
/intern/cycles/kernel/device/cuda/kernel.cu (+55, -37) (Diff)
/intern/cycles/render/buffers.cpp (+5, -0) (Diff)
/intern/cycles/render/buffers.h (+4, -3) (Diff)