Fix overflow bug in radical inverse functions
When pbrt is compiled with Float=double, the uint64 used to store the reversed digits could overflow, which led to all sorts of interesting image artifacts due to non-uniform samples being returned by the HaltonSampler.
Showing
想要评论请 注册 或 登录