RaTrace: Simple and Efficient Abstractions for BVH Ray Traversal Algorithms

被引:4
|
作者
Perard-Gayot, Arsene [1 ]
Weier, Martin [2 ]
Membarth, Richard [3 ]
Slusallek, Philipp [3 ]
Leissa, Roland [4 ]
Hack, Sebastian [4 ]
机构
[1] Saarland Univ, Comp Graph Lab, Saarbrucken, Germany
[2] Bonn Rhein Sieg Univ, Inst Visual Comp, St Augustin, Germany
[3] DFKI, Agents & Simulated Real, Saarbrucken, Germany
[4] Saarland Univ, Compiler Design Lab, Saarbrucken, Germany
关键词
Computer Graphics; Ray Tracing; Functional Programming; Domain-Specific Languages; COMPILER; LANGUAGE;
D O I
10.1145/3136040.3136044
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In order to achieve the highest possible performance, the ray traversal and intersection routines at the core of every high-performance ray tracer are usually hand-coded, heavily optimized, and implemented separately for each hardware platform-even though they share most of their algorithmic core. The results are implementations that heavily mix algorithmic aspects with hardware and implementation details, making the code non-portable and difficult to change and maintain. In this paper, we present a new approach that offers the ability to define in a functional language a set of conceptual, high-level language abstractions that are optimized away by a special compiler in order to maximize performance. Using this abstraction mechanism we separate a generic ray traversal and intersection algorithm from its low-level aspects that are specific to the target hardware. We demonstrate that our code is not only significantly more flexible, simpler to write, and more concise but also that the compiled results perform as well as state-of-the-art implementations on any of the tested CPU and GPU platforms.
引用
收藏
页码:157 / 168
页数:12
相关论文
共 50 条
  • [1] RaTrace: Simple and Efficient Abstractions for BVH Ray Traversal Algorithms
    Perard-Gayot, Arsene
    Weier, Martin
    Membarth, Richard
    Slusallek, Philipp
    Leissa, Roland
    Hack, Sebastian
    ACM SIGPLAN NOTICES, 2017, 52 (12) : 157 - 168
  • [2] Ray Classification for Accelerated BVH Traversal
    Hendrich, J.
    Pospisil, A.
    Meister, D.
    Bittner, J.
    COMPUTER GRAPHICS FORUM, 2019, 38 (04) : 49 - 56
  • [3] Realtime ray tracing on GPU with BVH-based packet traversal
    Guenther, Johannes
    Popov, Stefan
    Seidel, Hans-Peter
    Slusallek, Philipp
    RT07: IEEE/EG SYMPOSIUM ON INTERACTIVE RAY TRACING 2007, 2007, : 113 - 118
  • [4] Stackless Multi-BVH Traversal for CPU, MIC and GPU Ray Tracing
    Afra, Attila T.
    Szirmay-Kalos, Laszlo
    COMPUTER GRAPHICS FORUM, 2014, 33 (01) : 129 - 140
  • [6] Directed safe zones and dual extent algorithms for efficient grid traversal during ray tracing
    Semwal, SK
    Kvanstrom, H
    GRAPHICS INTERFACE '97 - PROCEEDINGS, 1997, : 76 - 87
  • [7] Efficient Ray Traversal of Constrained Delaunay Tetrahedralization
    Maria, Maxime
    Horna, Sebastien
    Aveneau, Lilian
    PROCEEDINGS OF THE 12TH INTERNATIONAL JOINT CONFERENCE ON COMPUTER VISION, IMAGING AND COMPUTER GRAPHICS THEORY AND APPLICATIONS (VISIGRAPP 2017), VOL 1, 2017, : 236 - 243
  • [8] Review: Kd-tree Traversal Algorithms for Ray Tracing
    Hapala, M.
    Havran, V.
    COMPUTER GRAPHICS FORUM, 2011, 30 (01) : 199 - 213
  • [9] Zoom Out: Abstractions for Efficient Radar Algorithms on COTS architectures
    Low, Tze Meng
    Chi, Yuejie
    Hoe, James
    Kumar, Swarun
    Prabhakara, Akarsh
    Shi, Laixi
    Sridhar, Upasana
    Tukanov, Nicholai
    Wang, Chengyue
    Wu, Yuchen
    2022 IEEE INTERNATIONAL SYMPOSIUM ON PHASED ARRAY SYSTEMS & TECHNOLOGY (PAST), 2022,
  • [10] Efficient stackless ray traversal for bounding sphere hierarchies with CUDA
    Toczek, Tomasz
    Houzet, Dominique
    Mancini, Stephane
    ICCS 2010 - INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, PROCEEDINGS, 2010, 1 (01): : 1105 - 1112