在光线追踪器中强制进行积极的超级采样

发布于 2024-10-04 11:26:41 字数 449 浏览 1 评论 0原文

有谁知道如何在 Blender 或 POV-Ray 中强制进行大量超级采样,例如每像素至少 100 个样本?这是一个严重依赖于子像素伪影的研究项目。渲染大图像并缩小它是行不通的,因为一些关键像素将非常亮,并且输出值将被剪裁。在裁剪之前需要对它们进行平均。

Blender 似乎仅支持 5、8、11 或 16样本,因为它使用预定义的采样模式。

POV-Ray 不支持非自适应超级采样方法,即这是必要的,因为像素内存在很大的变化,而像素之间的变化可能并不明显。

Does anyone know how to force a large amount of supersampling in Blender or POV-Ray, say 100 samples per pixel, at least? This is for a research project that is heavily dependent on sub-pixel artifacts. Rendering a large image and shrinking it will not work because a few critical pixels will be very bright, and the output values will be clipped. They would need to be averaged before clipping.

Blender seems to support only 5, 8, 11, or 16 samples, since it uses predefined sampling patterns.

POV-Ray does not support non-adaptive supersampling methods, which is necessary because there is a large variation within pixels that may not be apparent from variation between pixels.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

奢欲 2024-10-11 11:26:41

查看最新 POV-Ray beta (3.7.beta.39) 中的网格相机。这允许您通过定义适当的网格来指定每个像素的任意数量的光线(文档位于此处)。

dist 中包含一些宏和示例场景。如果您不确定如何创建满足您要求的网格相机,请尝试在 news.povray.org 的 povray.beta-test 小组中提问。一种简单的方法是创建一个代表标准相机(每个像素一个面)的网格,并将其实例化到场景中 100 次(假设每个像素 100 个样本),每次轻微抖动(这可以在宏中轻松完成) 。

另外,Jaime Vives Piqueres 有一个很好的(但正在进行中)演示页面在这里。特别参见标题为“自定义相机”的部分。

Check out the mesh camera in the latest POV-Ray beta (3.7.beta.39). This allows you to specify an arbitrary number of rays per pixel by defining an appropriate mesh (docs are here).

There are some macros and sample scenes included with the dist. If you're not sure on how to create a mesh camera that does what you want, try asking in the povray.beta-test group at news.povray.org. A simple approach would be to create a mesh representing a standard camera (one face per pixel) and instantiate it into the scene 100 times (assuming 100 samples per pixel), jittering it slightly each time (this can be easily done in a macro).

Also, Jaime Vives Piqueres has a good (but work-in-progress) demo page here. See in particular the section titled 'Custom Cameras'.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文