hottub.patents
US 12,499,606 B2#3368142 Most CitedActiveUnited States (USPTO)Utility

Apparatus and method for accelerating BVH builds by merging bounding boxes

0Forward Citations (#3368142 Global)
0.0/yrCitation Velocity (#3368142 Global)
0.00Citation PageRank (#3368142 Global)
38Prior Art Cited
8Claims (2 Indep. · 6 Dep.)
0Drawings / Sheets

Abstract

Apparatus and method for accelerating bounding box merge operations. For example, one embodiment of an apparatus comprises: ray tracing acceleration hardware to be used to determine ray traversal results when traversing a ray through a bounding volume hierarchy (BVH), the BVH comprising a plurality of axis-aligned bounding boxes (AABBs); and a bounding box (BB) merge accelerator coupled to one or more execution units and coupled to a local memory in which to store a group of the AABBs, the BB merge accelerator, in response to the one or more EUs, to determine a second AABB to merge with a first AABB in accordance with a specified distance function.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8 — 2 Independent, 6 Dependent)

  1. Claim 1Independent Claim

    An apparatus comprising: ray tracing acceleration hardware to be used to determine ray traversal results when traversing a ray through a bounding volume hierarchy (BVH), the BVH comprising a plurality of axis-aligned bounding boxes (AABBs); and a bounding box (BB) merge accelerator coupled to one or more execution units and coupled to a local memory in which to store a group of AABBs within the plurality of AABBs, the BB merge accelerator, in response to the one or more execution units, to select a second AABB to merge with a first AABB in accordance with a specified distance function, wherein selection of the second AABB from the group of AABBs to merge with the first AABB comprises: for a first AABB merge candidate within the group of AABBs to merge with the first AABB, looking up a storage location to find a distance between the first AABB and the first AABB merge candidate in accordance with the specified distance function; and upon the distance between the first AABB and the first

  2. Claim 2Depends on #1

    The apparatus of claim 1 wherein the BB merge accelerator is to determine a distance between the first AABB and each of all other AABBs in the group of AABBs in accordance with the specified distance function, and is to select the second AABB based on the second AABB resulting in the smallest distance to the first AABB.

  3. Claim 3Depends on #2

    The apparatus of claim 2 wherein the smallest distance is determined based on the first AABB and the second AABB resulting in a smallest combined area or volume when merged compared to the areas or volumes resulting from merging the first AABB and other AABBs in the group.

  4. Claim 4Depends on #2

    The apparatus of claim 2 wherein the BB merge accelerator is to determine the distance from the first AABB in accordance with a radius value, r, indicating a number of AABBs in a negative direction from the first AABB and a number of AABBs in a positive direction from the first AABB.

  5. Claim 5Depends on #1

    The apparatus of claim 1 wherein, responsive to identifying the second AABB, the BB merge accelerator is to store an index of the second AABB in an index array.

  6. Claim 6Depends on #1

    The apparatus of claim 1 wherein to identify the second AABB as having the smallest distance from the first AABB, the BB merge accelerator is to remove redundant distance operations using temporary distance values resulting from prior distance operations.

  7. Claim 7Depends on #6

    The apparatus of claim 6 wherein at least one redundant operation comprises distance(a,b) where distance(b,a) has already been determined and stored as a temporary distance value, and where a comprises the first AABB and b comprises any other AABB in the group of AABBs.

  8. Claim 8Independent Claim

    A method comprising: determining ray traversal results when traversing a ray through a bounding volume hierarchy (BVH), the BVH comprising a plurality of axis-aligned bounding boxes (AABBs); selecting, by a bounding box (BB) merge accelerator coupled to one or more execution units (EUs) and coupled to a local memory, a second AABB from a group of AABBs within the plurality of AABBs to merge with a first AABB stored in the local memory in accordance with a specified distance function, wherein selection of the second AABB from the group of AABBs to merge with the first AABB comprises: for a first AABB merge candidate within the group of AABBs to merge with the first AABB, looking up a storage location to find a distance between the first AABB and the first AABB merge candidate in accordance with the specified distance function; and upon the distance between the first AABB and the first AABB merge candidate being found at the storage location, using the distance for the first AABB merge c

Technical Overview & Description

BACKGROUND Field of the Invention This invention relates generally to the field of graphics processors. More particularly, the invention relates to an apparatus and method for accelerating BVH builds by merging bounding boxes. Description of the Related 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). Rasterization is a technique in which, screen objects are created from 3D models of objects created from a mesh of triangles. The vertices of each triangle intersect with the vertices of other triangles of different shapes and sizes. Each vertex has a position in space as well as information about color, texture and its normal, which is used to determine the way the surface of an object is facing. A rasterization unit converts the triangles of the 3D models into pixels in a 2D screen space and each pixel can be assigned an initial color value based on the vertex data. 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 processing system, according to an embodiment. FIG. 2 A is a block diagram of an embodiment of a processor having one or more processor cores, an integrated memory controller, and an integrated graphics processor. FIG. 2 B is a block diagram of hardware logic of a graphics processor core block, according to some embodiments described herein. FIG. 2 C illustrates a graphics processing unit (GPU) that includes dedicated sets of graphics processing resources arrange

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 (38)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Viitanen, Timo, et al.
  • “
  • PLOCTree: A fast, high-quality hardware BVH builder.
  • ”
  • Proceedings of the ACM on Computer Graphics and Interactive Techniques 1.2 (2018): 1-19. (Year: 2018).
  • Benthin et al.,
  • “
  • PLOC++ : Parallel Locally-Ordered Clustering for Bounding vol. Hierarchy Construction Revisited
  • ”
  • , Pro. ACM Comput. Graph. Interact. Tech., vol. 5, No. 3, Article 31, Jul. 2022, 13 pages.