Closed shadeops closed 2 years ago
As a side note, applying a Rotate 0.1 0 1 0
to the uniform grid medium clears most (all?) of the artifacts.
Thanks for reporting this! I've done some rudimentary investigation and will work on this properly tomorrow. The fact that a mini rotate gets rid of those artifacts is especially weird/interesting.
Initial results/notes:
This was a fascinating one to chase down--thanks again for reporting it. After many theories were tested and discarded, it all boiled down to undesired correlation in seeding the RNG used for sampling the medium.
Summary
Howdy, I'm abusing Mediums again. :grimacing: This time I noticed some artifacts when rendering with gpu/wavefront uniform grids with a directional light. (I see the same artifacts when rendering with a NanoVDB instead of uniformgrid.)
The top medium is a uniform grid, the bottom grid with a homogeneous grid with the same scattering parameters.
CPU
pbrt --outfile cpu.png artifacts.pbrt
GPU
pbrt --outfile gpu.png --gpu artifacts.pbrt
Wavefront
pbrt --outfile wavefront.png --wavefront artifacts.pbrt
Scene File