hottub.patents
US 12,423,904 B2#3438457 Most CitedActiveUnited States (USPTO)Utility

Intersection testing in a ray tracing system

0Forward Citations (#3438457 Global)
0.0/yrCitation Velocity (#3438457 Global)
0.00Citation PageRank (#3438457 Global)
18Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A method and an intersection testing module for performing intersection testing in a ray tracing system determines that a difference between an intersection distance at which a ray intersects a first primitive and an intersection distance at which the ray intersects a second primitive satisfies a comparison condition with respect to a threshold. It is determined that the orientations of the first and second primitives are different. The intersection of the ray with one of the first and second primitives is selected on the basis that the one of the first and second primitives has a particular orientation.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8)

  1. Claim 1Independent Claim

    A computer-implemented method of performing intersection testing in a ray tracing system, the method comprising: determining that a difference between an intersection distance at which a ray intersects a first primitive and an intersection distance at which the ray intersects a second primitive satisfies a comparison condition with respect to a threshold; determining that orientations of the first and second primitives are different; and selecting the intersection of the ray with one of the first and second primitives on the basis that said one of the first and second primitives has a particular orientation.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the comparison condition is satisfied with respect to the threshold if the difference between the intersection distance at which the ray intersects the first primitive and the intersection distance at which the ray intersects the second primitive is less than the threshold.

  3. Claim 3Depends on #1

    The method of claim 1, wherein the comparison condition is satisfied with respect to the threshold if the difference between the intersection distance at which the ray intersects the first primitive and the intersection distance at which the ray intersects the second primitive is less than or equal to the threshold.

  4. Claim 4Depends on #1

    The method of claim 1, wherein said determining that the difference between the intersection distance at which a ray intersects a first primitive and the intersection distance at which the ray intersects a second primitive satisfies the comparison condition with respect to the threshold comprises: determining the intersection distance at which the ray intersects the first primitive; determining the intersection distance at which the ray intersects the second primitive; and comparing the determined intersection distances.

  5. Claim 5Depends on #1

    The method of claim 1, wherein the threshold is non-zero.

  6. Claim 6Depends on #1

    The method of claim 1, wherein a primitive which has said particular orientation is a front-facing primitive, and wherein a primitive which has an orientation that is different to said particular orientation is a back-facing primitive.

  7. Claim 7Depends on #1

    The method of claim 1, further comprising determining that the ray intersects the first and second primitives.

  8. Claim 8Depends on #1

    The method of claim 1, further comprising: if the difference between the intersection distance at which the ray intersects the first primitive and the intersection distance at which the ray intersects the second primitive does not satisfy the comparison condition with respect to the threshold, selecting the intersection of the ray with the one of the first and second primitives which has the smaller intersection distance.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS AND CLAIM OF PRIORITY This application claims priority under 35 U.S.C. 119 from United Kingdom patent application Nos. GB2202657.9, GB2202658.7 and GB2202659.5, all filed on 25 Feb. 2022, which are herein incorporated by reference in their entirety. FIELD The present disclosure is directed to techniques of performing intersection testing in a ray tracing system. BACKGROUND Ray tracing is a computational rendering technique for generating an image of a scene (e.g. a 3D scene) by tracing paths of light ( ‘ rays ’ ) usually from the viewpoint of a camera through the scene. Each ray is modelled as originating from the camera and passing through a pixel into the scene. As a ray traverses the scene it may intersect 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 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 the relevant secondary rays) can be the calculation of a colour value for the pixel the ray passed through. Rendering an image of a scene using ray tracing may involve performing many intersection tests, e.g. billions of intersection tests for rendering an image of a scene. In order to reduce the number of intersection tests that

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

PatentTitleYearCitations

Non-Patent Literature (10)

  • Rainer Agelek,
  • “
  • On Orienting Edges of Unstructured Two- and Three-Dimensional Meshes
  • ”
  • , Mar. 2018, ACM Transactions on Mathematical Software 44, 1, Article 5, pp. 5:1-5:22 (Year: 2018).
  • Sjoholm;
  • “
  • Best Practices: Using NVIDIA RTX Ray Tracing (Updated)
  • ”
  • ; URL:https://developer.nvidia.com/blog/best-practices-using-nvidia-rtx-ray-tracing/; Aug. 10, 2020; pp. 1-10.