Does dxr support ray-box intersections?

Vijayadithyan .N 121 Reputation points
2021-12-04T13:31:10.017+00:00

Hello,
I want to optimize my app for rdna2/Xbox series x/s, and it's rt
Spec sheet says 1 ray triangle intersections and 4 ray box intersections,
I think the latter is much more efficient on my target platform. And dxr is my API
Of use.
To round it all up:
Does DirectX Ray Tracing support ray box intersections?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,426 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,537 questions
{count} votes

Accepted answer
  1. Xiaopo Yang - MSFT 11,496 Reputation points Microsoft Vendor
    2021-12-06T02:20:04.223+00:00

    Hello,

    Welcome to Microsoft Q&A!

    Yes. According to D3D12_RAYTRACING_GEOMETRY_TYPE, both enumerators can be used to implement box.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful