eradiate.kernel.effective_spp#
- eradiate.kernel.effective_spp(sampler, spp)#
Return the sample count a Mitsuba sampler actually uses when asked for
sppsamples.Samplers other than
independentround the requested sample count up (e.g. to a square number forstratified).mitsuba.render()applies the same rounding.- Parameters:
sampler (
mitsuba.Sampler) – Sampler to query. It is left unmodified.spp (
int) – Requested sample count.
- Returns:
int– Sample count used bysampler.