hottub.patents
US 12,223,585 B2#3613992 Most CitedActiveUnited States (USPTO)Utility

Apparatus and method for quantized convergent direction-based ray sorting

0Forward Citations (#3613992 Global)
0.0/yrCitation Velocity (#3613992 Global)
0.00Citation PageRank (#3613992 Global)
29Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
36Drawings / Sheets

Abstract

Apparatus and method for grouping rays based on quantized ray directions. For example, one embodiment of an apparatus comprises: An apparatus comprising: a ray generator to generate a plurality of rays; ray direction evaluation circuitry/logic to generate approximate ray direction data for each of the plurality of rays; ray sorting circuitry/logic to sort the rays into a plurality of ray queues based, at least in part, on the approximate ray direction data.

Interactive Citation Constellation Global Citation Ranking

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

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    An apparatus comprising: execution circuitry coupled to non-transitory machine-readable storage medium that stores instructions, which when executed by the execution circuitry, are capable of performing: generating ray direction data based on intersection tests of a plurality of rays with a hierarchical tree structure of bounding boxes, the hierarchical tree structure of bounding boxes to test intersection between the plurality of rays and objects enclosed by the hierarchical tree structure of bounding boxes; and sorting the plurality of rays into a plurality of ray groups based on the ray direction data.

  2. Claim 2Depends on #1

    The apparatus of claim 1, wherein the ray direction data is generated based on intersection tests of the plurality of rays with leaf nodes of the hierarchical tree structure of bounding boxes.

  3. Claim 3Depends on #1

    The apparatus of claim 1, wherein sorting the plurality of rays into the plurality of ray groups is based on a direction sort key comprising a plurality of bits.

  4. Claim 4Depends on #3

    The apparatus of claim 3, wherein the plurality of bits of the direction sort key for a ray includes a first set of bits to indicate a side of a bounding box to which the ray intersects with, a second set of bits to indicate intersecting coordinates for the bounding box.

  5. Claim 5Depends on #4

    The apparatus of claim 4, wherein the plurality of bits of the direction sort key for a ray includes a third set of bits to indicate a shader record identifier.

  6. Claim 6Depends on #3

    The apparatus of claim 3, wherein sorting the plurality of rays is adjusted based on a sorting accuracy, where a lower sorting accuracy is achieved through sorting with less bits within the plurality of bits.

  7. Claim 7Depends on #6

    The apparatus of claim 6, wherein adjusting the sorting of the plurality of rays is performed upon a determination that sorting based on an existing sorting accuracy fails to identify a matching ray group within the plurality of ray groups.

  8. Claim 8Depends on #1

    The apparatus of claim 1, wherein rays within a ray group of the plurality of ray groups are deemed to converge on a same intersection point.

  9. Claim 9Depends on #1

    The apparatus of claim 1, wherein secondary rays based on the intersection tests are sorted into a same group.

  10. Claim 10Independent Claim

    A method comprising: generating ray direction data based on intersection tests of a plurality of rays with a hierarchical tree structure of bounding boxes, the hierarchical tree structure of bounding boxes to test intersection between the plurality of rays and objects enclosed by the hierarchical tree structure of bounding boxes; and sorting the plurality of rays into a plurality of ray groups based on the ray direction data.

  11. Claim 11Depends on #10

    The method of claim 10, wherein sorting the plurality of rays into the plurality of ray groups is based on a direction sort key comprising a plurality of bits.

  12. Claim 12Depends on #11

    The method of claim 11, wherein the plurality of bits of the direction sort key for a ray includes a first set of bits to indicate a side of a bounding box to which the ray intersects with, a second set of bits to indicate intersecting coordinates for the bounding box.

  13. Claim 13Depends on #11

    The method of claim 11, wherein sorting the plurality of rays is adjusted based on a sorting accuracy, where a lower sorting accuracy is achieved through sorting with less bits within the plurality of bits.

  14. Claim 14Depends on #10

    The method of claim 10, wherein rays within a ray group of the plurality of ray groups are deemed to converge on a same intersection point.

  15. Claim 15Depends on #10

    The method of claim 10, wherein secondary rays based on the intersection tests are sorted into a same group.

  16. Claim 16Independent Claim

    A non-transitory machine-readable medium having program code stored thereon which, when executed by a machine, are capable of causing the machine to perform: generating ray direction data based on intersection tests of a plurality of rays with a hierarchical tree structure of bounding boxes, the hierarchical tree structure of bounding boxes to test intersection between the plurality of rays and objects enclosed by the hierarchical tree structure of bounding boxes; and sorting the plurality of rays into a plurality of ray groups based on the ray direction data.

  17. Claim 17Depends on #16

    The non-transitory machine-readable medium of claim 16, wherein the ray direction data is generated based on intersection tests of the plurality of rays with leaf nodes of the hierarchical tree structure of bounding boxes.

  18. Claim 18Depends on #16

    The non-transitory machine-readable medium of claim 16, wherein sorting the plurality of rays into the plurality of ray groups is based on a direction sort key comprising a plurality of bits.

  19. Claim 19Depends on #18

    The non-transitory machine-readable medium of claim 18, wherein the plurality of bits of the direction sort key for a ray includes a first set of bits to indicate a side of a bounding box to which the ray intersects with, a second set of bits to indicate intersecting coordinates for the bounding box.

  20. Claim 20Depends on #16

    The non-transitory machine-readable medium of claim 16, wherein secondary rays based on the intersection tests are sorted into a same group.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of application Ser. No. 17/677,109, filed Feb. 22, 2022, which is a continuation of application Ser. No. 16/728,375, filed Dec. 27, 2019 (now U.S. Pat. No. 11,263,800 issued Mar. 1, 2022), which are 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 quantized convergent direction-based ray sorting. 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 an embodiment of a computer system with a processor having one or more processor cores and graphics processors; FIGS. 2 A-D are a block diagrams of one embodiment of a processor having one or more processor cores, an integrated memory controller, and an integrated graphics processor; FIGS. 3 A-C are a block diagrams of one embodiment of a graphics processor which may be a discreet graphics processing unit, or may be graphics processor integrated with a plurality of processing cores; FIG. 4 is a block diagram of an embodiment of a graphics-processing engine for a graphics processor; FIGS. 5 A-B are a block diagrams of another embodiment of a graphics processor; FIG. 6 illustrates examples of execution circuitry and logic; FIG. 7 illustrates a graphics processor

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.

Non-Patent Literature (10)

  • Notice of Allowance, TW App. No. 109133110, Feb. 6, 2024, 3 pages (1 page of English Translation and 2 pages of Original Document).
  • Final Office Action, U.S. Appl. No. 16/728,375, Aug. 19, 2021, 10 pages.
  • Laine, Samuli,
  • “
  • Restart Trail for Stackless BVH Traversal
  • ”
  • , NVIDIA Research, High Performance Graphics (2010), The Eurographics Association 2010, 2010, 5 pages.
  • Non-Final Office Action, U.S. Appl. No. 16/728,375, Mar. 4, 2021, 12 pages.
  • Non-Final Office Action, U.S. App. No. 17/677,109, Feb. 3, 2023, 9 pages.
  • Notice of Allowance, U.S. Appl. No. 16/728,375, Oct. 25, 2021, 8 pages.