Blender Git Loki

Git Commits -> Revision ccc4799

Revision ccc4799 by Sergey Sharybin (cycles-x)
March 18, 2021, 16:58 (GMT)
Cycles: Fix possible missing updates in PathTrace

The path tracer schedules multiple samples to render to keep device
busy between updates. This was causing an issue with a time check in
the update function: it is possible that N samples finished rendering
slightly faster than aimed 1 second, so the update callback will not
be called. So perceptually rendering was looking sluggish in some
scenes, especially at the lower number of samples rendered.

Now the frequency of updates is fully under PathTrace::render_samples
control.

Technically, simple scenes might be rendering slower now, since there
will be more updates now. This could be addressed by aiming for a
longer render times between updates (schedule more samples to the
device) after reaching certain noise level.

Commit Details:

Full Hash: ccc4799108f6d7dd5e85c20857316425ccf4f7d0
Parent Commit: d4db00d
Lines Changed: +0, -33

2 Modified Paths:

/intern/cycles/integrator/path_trace.cpp (+0, -20) (Diff)
/intern/cycles/integrator/path_trace.h (+0, -13) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021