Skip to content

Commit

Permalink
Merge pull request #451 from mpriestman/fix-spectral-film-pointer-bug
Browse files Browse the repository at this point in the history
Increment splatBuffer pointer by correct amount
  • Loading branch information
mmp authored Oct 26, 2024
2 parents 710bc1a + d2dee50 commit cadeda3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pbrt/film.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ SpectralFilm::SpectralFilm(FilmBaseParameters p, Float lambdaMin, Float lambdaMa
pixel.weightSums = bucketWeightBuffer;
bucketWeightBuffer += nBuckets;
pixel.bucketSplats = splatBuffer;
splatBuffer += NSpectrumSamples;
splatBuffer += nBuckets;
}
}

Expand Down

0 comments on commit cadeda3

Please sign in to comment.