为什么我的蒙特卡洛光线追踪如此嘈杂? [英] Why is my Monte Carlo Raytracing so noisy?

查看:72
本文介绍了为什么我的蒙特卡洛光线追踪如此嘈杂?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用蒙特卡洛方法实现了全局照明,并使用了从头开始的像素教程作为指导.我的最终图像非常嘈杂!下面的示例是在64个样本上,我以前使用的样本数高达512,但仍然非常嘈杂.

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?

这是具有128个样本和16倍超级采样的输出,结果是2048个样本.还是很多噪音!

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

推荐答案

路径跟踪非常嘈杂.这是算法的本质.考虑一下来自维基百科的示例:

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

左上图像是每个像素1个样本,从那里(从左到右,从上到下),每个随后的正方形将其加倍.因此,右下角的方形为32768 spp.

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:

这篇关于为什么我的蒙特卡洛光线追踪如此嘈杂?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆