Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Using Hardware Ray Transforms to Accelerate Ray/Primitive Intersections for Long, Thin Primitive Types

Published: 26 August 2020 Publication History

Abstract

With the recent addition of hardware ray tracing capabilities, GPUs have become incredibly efficient at ray tracing both triangular geometry, and instances thereof. However, the bounding volume hierarchies that current ray tracing hardware relies on are known to struggle with long, thin primitives like cylinders and curves, because the axis-aligned bounding boxes that these hierarchies rely on cannot tightly bound such primitives. In this paper, we evaluate the use of RTX ray tracing capabilities to accelerate these primitives by tricking the GPU's instancing units into executing a hardware-accelerated oriented bounding box (OBB) rejection test before calling the user's intersection program. We show that this can be done with minimal changes to the intersection programs and demonstrate speedups of up to 5.9× on a variety of data sets.

Supplementary Material

MP4 File (3406179.mp4)
Presentation Video

References

[1]
Giorgio A Ascoli, Duncan E Donohue, and Maryam Halavi. 2007. NeuroMorpho.Org: a central resource for neuronal morphologies. Journal of Neuroscience 27, 35 (2007), 9247--9251.
[2]
Nikolaus Binder and Alexander Keller. 2018. Fast, high precision ray/fiber intersection using tight, disjoint bounding volumes. arXiv preprint arXiv:1811.03374.
[3]
Benedikt Bitterli. 2016. Rendering resources. https://benedikt-bitterli.me/resources/.
[4]
Blender Foundation 2019. Spring - A poetic fantasy film written and directed by Andy Goralczyk. https://cloud.blender.org/p/spring/
[5]
Blender Foundation 2020. Cosmos Laundromat (Project Gooseberry). https://gooseberry.blender.org/about/
[6]
Stefan Gottschalk, Ming Lin, and Dinesh Manocha. 1996. OBBTree: A Hierarchical Structure for Rapid Interference Detection. In Proceedings of ACM SIGGRAPH.
[7]
Mengjiao Han, Ingo Wald, Will Usher, Qi Wu, Feng Wang, Valerio Pascucci, Charles D Hansen, and Chris R Johnson. 2019. Ray Tracing Generalized Tube Primitives: Method and Applications. 38, 3 (2019).
[8]
Naty Hoffman, Wenzel Jakob, Michal Iwanicki, Pesce Angelo, Danny Chan, David Neubelt, Matt Pettineo, Brent Burley, and Luca Fascione. 2015. Physically Based Shading in Theory and Practice. In ACM SIGGRAPH 2015 Courses (Los Angeles, CA) (SIGGRAPH '15). Association for Computing Machinery, New York, NY, USA, Article 6, 19 pages.
[9]
Emmett Kilgariff, Henry Moreton, Nick Stam, and Brandon Bell. 2018. NVIDIA Turing Architecture In-Depth. https://devblogs.nvidia.com/nvidia-turing-architecture-in-depth/ NVidia Developer Blog.
[10]
Daniel Koch, Tobias Hector, Joshua Barczak, and Eric Werness. 2020. "Ray Tracing in Vulkan". https://www.khronos.org/blog/ray-tracing-in-vulkan
[11]
Stephen McAuley, Stephen Hill, Naty Hoffman, Yoshiharu Gotanda, Brian Smits, Brent Burley, and Adam Martinez. 2012. Practical Physically-Based Shading in Film and Game Production. In ACM SIGGRAPH 2012 Courses (Los Angeles, CA) (SIGGRAPH '12). Association for Computing Machinery, New York, NY, USA, Article 10, 7 pages.
[12]
Microsoft 2020. DirectX Ray Tracing (DXR) Functional Spec. https://microsoft.github.io/DirectX-Specs/d3d/Raytracing.html version 1.11.
[13]
Keith Morley. 2019. How to Get Started with OptiX 7. NVIDIA Developer Blog. https://devblogs.nvidia.com/how-to-get-started-with-optix-7/
[14]
Koji Nakamaru and Yoshio Ohno. 2002. Ray Tracing for Curves Primitive. In Proceedings of Winter School of Computer Graphics (WSCG).
[15]
NVIDIA Corp. [n.d.]. NVidia Turing GPU Archictecture. https://www.nvidia.com/content/dam/en-zz/Solutions/design-visualization/technologies/turing-architecture/NVIDIA-Turing-Architecture-Whitepaper.pdf WP-09183-001_v01.
[16]
Steven G Parker, James Bigler, Andreas Dietrich, Heiko Friedrich, Jared Hoberock, David Luebke, David McAllister, Morgan McGuire, Keith Morley, and Austin Robison. 2010. OptiX: A General Purpose Ray Tracing Engine. ACM Transactions on Graphics (Proceedings of ACM SIGGRAPH) 29, 4 (2010).
[17]
Inigo Quilez. 2016. Capsule - intersection. Available on ShaderToy. https://www.shadertoy.com/view/Xt3SzX
[18]
Alexander Reshetov. 2017. Exploiting Budan-Fourier and Vincent's Theorems for Ray Tracing 3D Bezier Curves. In Proceedings of High Performance Graphics (HPG).
[19]
Alexander Reshetov and David Luebke. 2018. Phantom Ray-Hair Intersector. Proceedings of the ACM on Computer Graphics and Interactive Techniques 1, 2 (2018).
[20]
Will Usher. 2019. ChameleonRT. https://github.com/Twinklebear/ChameleonRT.
[21]
Ingo Wald. 2020. OWL - A Node Graph Library Abstraction for OptiX 7. http://owl-project.github.io
[22]
Ingo Wald, Sven Woop, Carsten Benthin, Gregory S. Johnson, and Manfred Ernst. 2014. Embree: A Kernel Framework for Efficient CPU Ray Tracing. ACM Transactions on Graphics (Proceedings of SIGGRAPH) 33, 4 (2014).
[23]
Sven Woop, Carsten Benthin, Ingo Wald, Gregory S Johnson, and Eric Tabellion. 2014. Exploiting Local Orientation Similarity for Efficient Ray Traversal of Hair and Fur. In High Performance Graphics.
[24]
Cem Yuksel. 2012. HAIR model files. www.cemyuksel.com/research/hairmodels

Cited By

View all
  • (2024)SAH-Optimized k-DOP Hierarchies for Ray TracingProceedings of the ACM on Computer Graphics and Interactive Techniques10.1145/36753917:3(1-16)Online publication date: 9-Aug-2024
  • (2024)Building Oriented Bounding Boxes by the intermediate use of ODOPsComputers and Graphics10.1016/j.cag.2023.08.028116:C(251-261)Online publication date: 4-Mar-2024

Index Terms

  1. Using Hardware Ray Transforms to Accelerate Ray/Primitive Intersections for Long, Thin Primitive Types

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image Proceedings of the ACM on Computer Graphics and Interactive Techniques
    Proceedings of the ACM on Computer Graphics and Interactive Techniques  Volume 3, Issue 2
    August 2020
    218 pages
    EISSN:2577-6193
    DOI:10.1145/3420254
    Issue’s Table of Contents
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 26 August 2020
    Published in PACMCGIT Volume 3, Issue 2

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Acceleration Structures
    2. Curve Rendering
    3. Hardware Accelerated Ray Tracing

    Qualifiers

    • Research-article
    • Research
    • Refereed

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)47
    • Downloads (Last 6 weeks)3
    Reflects downloads up to 09 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)SAH-Optimized k-DOP Hierarchies for Ray TracingProceedings of the ACM on Computer Graphics and Interactive Techniques10.1145/36753917:3(1-16)Online publication date: 9-Aug-2024
    • (2024)Building Oriented Bounding Boxes by the intermediate use of ODOPsComputers and Graphics10.1016/j.cag.2023.08.028116:C(251-261)Online publication date: 4-Mar-2024

    View Options

    Get Access

    Login options

    Full Access

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media