Why is my Monte Carlo Raytracing so noisy?

本秂侑毒 提交于 2021-02-18 08:12:42

问题


I have implemented global illumination using the Monte Carlo method, using the scratch a pixel tutorial as a guide. My final image renders very noisy! The example below is at 64 samples, I have previously used as high as 512 and its still very noisy.

Any ideas what the problem could be?

Edit: Here is the output with 128 samples and 16x Super sampling,resulting in 2048 samples. Still lots of noise!


回答1:


Path tracing is pretty noisy; it's the nature of the algorithm. Consider this example from Wikipedia:

The top left image is at 1 sample per pixel, and from there (left to right, top to bottom), each following square doubles that. So the bottom right square is at 32768 spp.

There are other, related algorithms that can reduce noise for the same amount of computation:

  • Bidirectional path tracing
  • Photon mapping


来源:https://stackoverflow.com/questions/43449353/why-is-my-monte-carlo-raytracing-so-noisy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!