From a04daa38d397afb107dfc9b75d0be912c00ee3a9 Mon Sep 17 00:00:00 2001 From: paulgrassler <63547551+paulgrassler@users.noreply.github.com> Date: Sat, 26 Oct 2024 23:58:47 +0200 Subject: [PATCH] correcting the sample generation --- src/pbrt/cpu/integrators.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pbrt/cpu/integrators.cpp b/src/pbrt/cpu/integrators.cpp index 7a3c18811..a8c541f85 100644 --- a/src/pbrt/cpu/integrators.cpp +++ b/src/pbrt/cpu/integrators.cpp @@ -2867,7 +2867,7 @@ void SPPMIntegrator::Render() { Options->disableWavelengthJitter ? Float(0.5) : RadicalInverse(1, iter); const SampledWavelengths passLambda = film.SampleWavelengths(uLambda); - Float timeSample = samplerPrototype.Get1D(); + Float timeSample = RadicalInverse(2, iter); ParallelFor2D(pixelBounds, [&](Bounds2i tileBounds) { // Follow camera paths for _tileBounds_ in image for SPPM