hottub.patents
US 12,450,833 B2#3413856 Most CitedActiveUnited States (USPTO)Utility

Apparatus and method for performing box queries in ray traversal hardware

0Forward Citations (#3413856 Global)
0.0/yrCitation Velocity (#3413856 Global)
0.00Citation PageRank (#3413856 Global)
19Prior Art Cited
8Claims (1 Indep. · 7 Dep.)
0Drawings / Sheets

Abstract

Apparatus and method for box-box testing. For example, one embodiment of a processor comprises: a bounding volume hierarchy (BVH) generator to construct a BVH comprising a plurality of hierarchically arranged BVH nodes; traversal circuitry to traverse query boxes through the BVH, the traversal circuitry to read a BVH node from a top of a BVH node stack and to read a query box from a local storage or memory, the traversal circuitry further comprising: box-box testing circuitry and/or logic to compare maximum and minimum X, Y, and Z coordinates of the BVH node and the query box and to generate an overlap indication if overlap is detected for each of the X, Y, and Z dimensions; distance determination circuitry and/or logic to generate a distance value representing an extent of overlap between the BVH node and the query box; and sorting circuitry and/or logic to sort the BVH node within a set of one or more additional BVH nodes based on the distance value.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 0.

Claims (8 — 1 Independent, 7 Dependent)

  1. Claim 1Independent Claim

    An apparatus comprising: a first circuitry to construct a bounding volume hierarchy (BVH) to include a plurality of hierarchically arranged BVH nodes; and a second circuitry to traverse both query boxes and rays through the BVH, wherein traversal of a query box through a BVH node is to: read the BVH node from a top of a BVH node storage and to read the query box; compare maximum and minimum sets of coordinates of the BVH node and the query box to generate an overlap indication responsive to overlap being detected for each of one or more corresponding dimensions indicated by the sets of coordinates; and sort the BVH node within a set of one or more additional BVH nodes based on extent of the overlap between the BVH node and the query box, wherein the BVH node and the set of one or more additional BVH nodes are to be stored based on the sorting.

  2. Claim 2Depends on #1

    The apparatus of claim 1, wherein the maximum and minimum sets of coordinates for the BVH is generated by dequantizing a quantized set of coordinates associated with the BVH node.

  3. Claim 3Depends on #1

    The apparatus of claim 1, wherein the BVH node and the set of one or more additional BVH nodes comprise nodes at a common level of the BVH.

  4. Claim 4Depends on #1

    The apparatus of claim 1, wherein the extent of the overlap between the BVH node and the query box is indicated through a distance value generated by the second circuitry.

  5. Claim 5Depends on #4

    The apparatus of claim 4, wherein generation of the distance value comprises: determining a first penetration distance from a first axis-aligned direction and a second penetration distance from a second axis-aligned direction for each of the sets of coordinates, the first penetration distance indicating overlap when the query box penetrates the BVH node from the first direction and the second penetration distance indicating overlap when the query box penetrates the BVH node from the second direction; and selecting for each of the sets of coordinates a minimum of the first and second penetration distances.

  6. Claim 6Depends on #4

    The apparatus of claim 4, wherein one or more additional distance values associated with the set of one or more additional BVH nodes are determined, and a sorted order of the BVH node and the set of one or more additional BVH nodes is generated based on the distance value and the one or more additional distance values.

  7. Claim 7Depends on #1

    The apparatus of claim 1, wherein the BVH node and the set of one or more additional BVH nodes are to be stored to the BVH node storage in a sorted order based on the sorting.

  8. Claim 8Depends on #1

    The apparatus of claim 1, wherein traversal of a ray through the BVH node is to determine whether the ray hits the BVH node, and wherein responsive to that the ray hits the BVH node, a hit distance value is determined representing a coordinate at which the ray hits the BVH node, the BVH node within the set of one or more additional BVH nodes is sorted based on one or more additional hit distance values associated with the set of one or more additional BVH nodes.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of application Ser. No. 16/819,120, filed Mar. 15, 2020, which is hereby incorporated by reference. TECHNICAL FIELD This invention relates generally to the field of graphics processors. More particularly, the invention relates to an apparatus and method for asynchronous ray tracing. BACKGROUND ART Ray tracing is a technique in which a light transport is simulated through physically-based rendering. Widely used in cinematic rendering, it was considered too resource-intensive for real-time performance until just a few years ago. One of the key operations in ray tracing is processing a visibility query for ray-scene intersections known as “ ray traversal ” which computes ray-scene intersections by traversing and intersecting nodes in a bounding volume hierarchy (BVH). BRIEF DESCRIPTION OF THE DRAWINGS A better understanding of the present invention can be obtained from the following detailed description in conjunction with the following drawings, in which: FIG. 1 is a block diagram of a computer system with a processor having one or more processor cores and graphics processors; FIGS. 2 A- 2 D illustrate computing systems and graphics processors provided by embodiments described herein; FIGS. 3 A- 3 C illustrate block diagrams of additional graphics processor and compute accelerator architectures provided by embodiments described herein; FIG. 4 is a block diagram of a graphics-processing engine for a graphics processor; FIGS. 5 A- 5 B illustrate thread execution logic 500 including an array of processing elements employed in a graphics processor core according to embodiments described herein; FIG. 6

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (19)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Notice of Allowance, TW App. No. 109141631, Sep. 25, 2024, 3 pages (1 page of English Translation and 2 pages of Original Document).
  • Office Action, MY App. No. PI2020006293, Aug. 31, 2024, 5 pages.
  • European Search Report and Search Opinion, EP App. No. 20209722.6, May 21, 2021, 7 pages.
  • Examination Report, IN App. No. 202044052351, Apr. 8, 2022, 6 pages.
  • Laine, Samuli,
  • “
  • Restart Trail for Stackless BVH Traversal
  • ”
  • , High Performance Graphics, The Eurographics Association, 2010, 5 pages.
  • Non-Final Office Action, U.S. Appl. No. 16/819,120, Jun. 16, 2023, 14 pages.