Cache-Oblivious Ray Reordering

被引:30
|
作者
Moon, Bochang [1 ]
Byun, Yongyoung [1 ]
Kim, Tae-Joon [1 ]
Claudio, Pio [1 ]
Kim, Hye-Sun [2 ]
Ban, Yun-Ji [2 ]
Nam, Seung Woo [2 ]
Yoon, Sung-Eui [1 ]
机构
[1] Korea Adv Inst Sci & Technol, Taejon 305701, South Korea
[2] ETRI, Taejon 305700, South Korea
来源
ACM TRANSACTIONS ON GRAPHICS | 2010年 / 29卷 / 03期
关键词
Performance; Algorithms; Ray coherence; reordering; cache utilization; ray tracing; LAYOUTS;
D O I
10.1145/1805964.1805972
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a cache-oblivious ray reordering method for ray tracing. Many global illumination methods such as path tracing and photon mapping use ray tracing and generate lots of rays to simulate various realistic visual effects. However, these rays tend to be very incoherent and show lower cache utilizations during ray tracing of models. In order to address this problem and improve the ray coherence, we propose a novel Hit Point Heuristic (HPH) to compute a coherent ordering of rays. The HPH uses the hit points between rays and the scene as a ray reordering measure. We reorder rays by using a space-filling curve based on their hit points. Since a hit point of a ray is available only after performing the ray intersection test with the scene, we compute an approximate hit point for the ray by performing an intersection test between the ray and simplified representations of the original models. Our method is a highly modular approach, since our reordering method is decoupled from other components of common ray tracing systems. We apply our method to photon mapping and path tracing and achieve more than an order of magnitude performance improvement for massive models that cannot fit into main memory, compared to rendering without reordering rays. Also, our method shows a performance improvement even for ray tracing small models that can fit into main memory. This performance improvement for small and massive models is caused by reducing cache misses occurring between different memory levels including the L1/L2 caches, main memory, and disk. This result demonstrates the cache-oblivious nature of our method, which works for various kinds of cache parameters. Because of the cache-obliviousness and the high modularity, our method can be widely applied to many existing ray tracing systems and show performance improvements with various models and machines that have different cache parameters.
引用
收藏
页数:10
相关论文
共 27 条
  • [21] Cache Oblivious Strategies to Exploit Multi-Level Memory on Manycore Systems
    Butcher, Neil A.
    Olivier, Stephen L.
    Kogge, Peter M.
    PROCEEDINGS OF 2020 IEEE/ACM WORKSHOP ON MEMORY CENTRIC HIGH PERFORMANCE COMPUTING (MCHPC 2020), 2020, : 42 - 51
  • [22] A cache-efficient reordering method for unstructured meshes with applications to wall-resolved large-eddy simulations
    Liu, Yi
    Wang, Hongping
    Wang, Shizhao
    He, Guowei
    JOURNAL OF COMPUTATIONAL PHYSICS, 2023, 480
  • [23] A Split Node Cache Scheme for Fast Ray Tracing
    Nah, Jae-ho
    Heo, Jin-suk
    Park, Woo-chan
    Han, Tack-don
    RT08: IEEE/EG SYMPOSIUM ON INTERACTIVE RAY TRACING 2008, PROCEEDINGS, 2008, : 186 - 186
  • [24] Improved cache utilization and preconditioner efficiency through use of a space-filling curve mesh element- and vertex-reordering technique
    Shankar P. Sastry
    Emre Kultursay
    Suzanne M. Shontz
    Mahmut T. Kandemir
    Engineering with Computers, 2014, 30 : 535 - 547
  • [25] Improved cache utilization and preconditioner efficiency through use of a space-filling curve mesh element- and vertex-reordering technique
    Sastry, Shankar P.
    Kultursay, Emre
    Shontz, Suzanne M.
    Kandemir, Mahmut T.
    ENGINEERING WITH COMPUTERS, 2014, 30 (04) : 535 - 547
  • [26] The holodeck ray cache: An interactive rendering system for global illumination in nondiffuse environments
    Ward, G
    Simmons, M
    ACM TRANSACTIONS ON GRAPHICS, 1999, 18 (04): : 361 - 398
  • [27] Pixels grouping and shadow cache for faster integral 3D ray-tracing
    Youssef, OH
    Aggoun, A
    Wolf, W
    McCormick, M
    STEREOSCOPIC DISPLAYS AND VIRTUAL REALITY SYSTEMS IX, 2002, 4660 : 123 - +