hottub.patents
US 12,260,487 B2#2233683 Most CitedActiveUnited States (USPTO)Utility

Intersection testing in ray tracing systems with skipping of nodes in sub-trees of hierarchical acceleration structures

1Forward Citations (#2233683 Global)
1.0/yrCitation Velocity (#2233683 Global)
0.17Citation PageRank (#2233683 Global)
40Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Ray tracing systems and methods for generating a hierarchical acceleration structure for intersection testing. Nodes of the hierarchical acceleration structure are determined, each of the nodes representing a region in a scene, the nodes being linked to form the hierarchical acceleration structure. Data is stored representing the hierarchical acceleration structure. The stored data comprises data defining the regions represented by a plurality of the nodes. At least one node is an implicitly represented node, wherein data defining a region represented by an implicitly represented node is not explicitly included as part of the stored data but can be inferred from the stored data. Also described are ray tracing systems and computer-implemented methods for performing intersection testing in which, based on conditions in the ray tracing system, a determination is made as to whether testing of one or more rays for intersection with a region represented by a particular node of a sub-tree is to be skipped.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8)

  1. Claim 1Independent Claim

    A computer-implemented method of performing intersection testing in a ray tracing system for use in rendering an image of a scene, the method comprising: in response to determining that testing of one or more rays for intersection with a region represented by a particular node within a hierarchical acceleration structure is to be skipped, testing the one or more rays for intersection with regions represented by descendants of the particular node, thereby skipping the testing of the one or more rays for intersection with the region represented by the particular node.

  2. Claim 2Depends on #1

    The method of claim 1, further comprising receiving an indication of the one or more rays to be tested for intersection with the region represented by the particular node, wherein the particular node is part of a sub-tree within the hierarchical acceleration structure, and wherein the sub-tree comprises the descendants of the particular node.

  3. Claim 3Depends on #1

    The method of claim 1, further comprising determining, based on conditions in the ray tracing system, whether testing of the one or more rays for intersection with the region represented by the particular node of said hierarchical acceleration structure is to be skipped.

  4. Claim 4Depends on #1

    The method of claim 1, wherein said descendants of the particular node in the hierarchical acceleration structure are: (i) the children of the particular node in the hierarchical acceleration structure, or (ii) the grandchildren of the particular node in the hierarchical acceleration structure.

  5. Claim 5Depends on #1

    The method of claim 1, wherein the regions represented by the nodes of the hierarchical acceleration structure are axis-aligned bounding boxes in the scene.

  6. Claim 6Depends on #1

    The method of claim 1, further comprising receiving data representing the hierarchical acceleration structure, wherein said particular node is an implicitly represented node, wherein data defining a region represented by an implicitly represented node is not explicitly included as part of said received data representing the hierarchical acceleration structure but can be inferred from said received data.

  7. Claim 7Depends on #6

    The method of claim 6, wherein the regions represented by the nodes of the hierarchical acceleration structure are axis-aligned bounding boxes in the scene, wherein the data defining the region represented by the particular node can be inferred from data in said received data which defines the regions represented by said descendants of the particular node, and wherein the data defining the region represented by the particular node can be inferred by determining, in each dimension of the scene, a minimum and a maximum component of the components defining the axis-aligned bounding boxes represented by said descendants of the particular node.

  8. Claim 8Depends on #1

    The method of claim 1, further comprising receiving data representing the hierarchical acceleration structure, wherein said received data comprises data indicating how the nodes of the hierarchical acceleration structure are linked, and wherein the data defining the region represented by the particular node can be inferred from said received data using at least some of the data indicating how the nodes of the hierarchical acceleration structure are linked.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS AND CLAIM OF PRIORITY This application is a continuation under 35 U.S.C. 120 of copending application Ser. No. 17/720,060 filed Apr. 13, 2022, now U.S. Pat. No. 11,756,257, which is a continuation of prior application Ser. No. 16/913,673 filed Jun. 26, 2020, now U.S. Pat. No. 11,335,055, the contents of which are incorporated herein by reference in their entirety. FIELD The present disclosure is directed to hierarchical acceleration structures for use in ray tracing systems. BACKGROUND Ray tracing is a computational rendering technique for rendering an image of a scene by tracing paths of light ( ‘ rays ’ ) through the scene, e.g. from a viewpoint from which the image of the scene is being rendered. A ray can be modelled as originating from the viewpoint and passing through a pixel of a rendering space into the scene. A ray that originates from the viewpoint is referred to as a “ primary ray ” . As a ray traverses the scene it may intersect one or more objects within the scene. The interaction between a ray and an object it intersects can be modelled to create realistic visual effects. For example, in response to determining an intersection of a ray with an object, a shader program (i.e. a portion of computer code) may be executed in respect of the intersection. A programmer can write the shader program to define how the system reacts to the intersection which may, for example cause one or more further rays (referred to as “ secondary rays) to be emitted into the scene, e.g. to represent a reflection of the ray off the intersected object or a refraction of the ray through the object (e.g. if the object is transparent or translucent). As another example, the shader program could cause one or more rays to be emitted into the scene for the purposes of determining whether the object is in shadow at the intersection point. The result of executing the shader program (and processing any relevant secondary rays) can be the calculation

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

References Cited — Backward Prior Art (40)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Nah et al.,
  • “
  • RayCore: A Ray-Tracing Hardware Architecture for Mobile Devices,
  • ”
  • ACM Transactions on Graphics, vol. 33, No. 5, Article 152, Aug. 2014.
  • Kinkelin,
  • “
  • GPU Volume Raycasting Using Bounding Interval Hierarchies,
  • ”
  • Masterpraktikum aus Computergraphik und Digitaler Bildverarbeitung, 2009; https://www.cg.tuwien.ac.at/research/publications/2009/Kinkelin_2009/Kinkelin_2009-Paper.pdf, pp. 1-15.