Blender Git Loki

Git Commits -> Revision 8400fd6

Revision 8400fd6 by Sergey Sharybin (cycles-x)
April 2, 2021, 14:27 (GMT)
Cycles: Scale all passes with adaptive samples count

Do it in the RenderBuffers, similar to how combined pass was handled.

While the scaling with samples count is slower than doing it on the
device, the scaling with samples count is still to be performed.

In practice the downside is that per-pixel inverse sample count is now
done from a single thread. However, this can be improved by using tbb
to scale the pass from multiple threads.

The benefit of this approach is that the pass scaling kernel is not
needed, which solves ambiguity about when to run it. It also simplifies
code in a sense that the scaling logic is not duplicated in the kernel.

Commit Details:

Full Hash: 8400fd6234efe13cd01654c395c91cb5f3d8cb74
Parent Commit: f9de39e
Lines Changed: +113, -31

2 Modified Paths:

/intern/cycles/render/buffers.cpp (+109, -31) (Diff)
/intern/cycles/render/buffers.h (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021