The path tracing method generates incoherent rays by randomly sampling directions. This randomness makes it unsuitable for modern processor architectures that rely on coherence to achieve optimal performance. Many efforts have been made to address this issue by reordering rays based on their origin, end, or direction to enhance coherence. However, a drawback of reordering methods is the need to encode and sort rays before tracing, introducing additional overhead. We propose a technique to generate coherent rays directly by reusing the direction. Additionally, we introduce an interleaved reuse domain partition method to mitigate the impact of sampling correlation resulting from direction reuse. We demonstrate the effectiveness of our approach across various scenes, establishing its superiority over reordering methods.
翻译:路径追踪方法通过随机采样方向生成非相干光线。这种随机性使其不适用于依赖相干性以实现最佳性能的现代处理器架构。针对这一问题,人们已进行大量努力,通过基于光线起点、终点或方向进行重排序来增强其相干性。然而,重排序方法存在一个缺陷:需要在追踪前对光线进行编码和排序,从而引入额外开销。我们提出一种通过重用方向直接生成相干光线的技术。此外,我们引入交错式重用域划分方法,以减轻因方向重用导致的采样相关性影响。我们通过多种场景验证了该方法的效果,证明其相较于重排序方法具有优越性。