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

Compression and decompression of sub-primitive presence indications for use in a rendering system

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

Abstract

A method and a compression unit are provided for compressing, into a block of compressed data, a block of sub-primitive presence indications for use in a rendering system. The block of sub-primitive presence indications is subdivided into a plurality of parent regions, each of the parent regions being subdivided into a plurality of child regions. A presence state is identified for each of the child regions based on the sub-primitive presence indications in the block of sub-primitive presence indications. A hierarchical representation of the block of sub-primitive presence indications is stored in the block of compressed data. For each of one or more parent regions whose child regions all have the same identified presence state, parent-level data is included in the hierarchical representation to represent the presence state of the parent region without child-level data for the child regions within the parent region being included in the hierarchical representation. For each of one or more parent regions whose child regions do not all have the same identified presence state, child-level data for the child regions within the parent region is included in the hierarchical representation to represent the presence states for the child regions within the parent region.

Interactive Citation Constellation Global Citation Ranking

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

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A method of compressing, into a block of compressed data, a block of sub-primitive presence indications for use in a rendering system, wherein the block of sub-primitive presence indications is subdivided into a plurality of parent regions, each of the parent regions being subdivided into a plurality of child regions, the method comprising: identifying a presence state for each of the child regions based on the sub-primitive presence indications in the block of sub-primitive presence indications; and storing, in the block of compressed data, a hierarchical representation of the block of sub-primitive presence indications, wherein: for each of one or more parent regions whose child regions all have the same identified presence state, parent-level data is included in the hierarchical representation to represent the presence state of the parent region without child-level data for the child regions within the parent region being included in the hierarchical representation, and for each of one or more parent regions whose child regions do not all have the same identified presence state, child-level data for the child regions within the parent region is included in the hierarchical representation to represent the presence states for the child regions within the parent region.

  2. Claim 2Depends on #1

    The method of claim 1, wherein each of the child regions corresponds with a respective one of the sub-primitive presence indications in the block of sub-primitive presence indications, wherein said identifying a presence state for each of the child regions comprises reading the corresponding sub-primitive presence indication from the block of sub-primitive presence indications.

  3. Claim 3Depends on #1

    The method of claim 1, wherein each of the presence indications in the block of sub-primitive presence indications indicates a presence state which is one of: (i) fully present, (ii) fully absent, and (iii) partially present.

  4. Claim 4Depends on #3

    The method of claim 3, wherein parent-level data representing a presence state of a parent region indicates that: (i) all of the child regions within the parent region are fully present, (ii) all of the child regions within the parent region are fully absent, (iii) all of the child regions within the parent region are partially present, or (iv) the child regions within the parent region have a mix of presence states.

  5. Claim 5Depends on #3

    The method of claim 3, wherein child-level data representing a presence state of a child region indicates that: (i) the child region is fully present, (ii) the child region is fully absent, or (iii) the child region is partially present.

  6. Claim 6Depends on #1

    The method of claim 1, further comprising, if an initial hierarchical representation of the block of sub-primitive presence indications has more than a threshold number of bits, changing one or more of the sub-primitive presence states to be partially present, and determining another hierarchical representation of the block of sub-primitive presence indications that does not have more than the threshold number of bits.

  7. Claim 7Depends on #1

    The method of claim 1, wherein each of the parent regions has four child regions within it.

  8. Claim 8Depends on #7

    The method of claim 7, further comprising, for each of the one or more parent regions whose child regions do not all have the same identified presence state, ensuring that three of the child regions within the parent region have the same presence state as each other.

  9. Claim 9Depends on #8

    The method of claim 8, wherein said ensuring that three of the child regions within the parent region have the same presence state as each other comprises setting a presence state to be partially present for one or more child regions which initially had a presence state of fully present or fully absent.

  10. Claim 10Depends on #7

    The method of claim 7, wherein for each of the one or more parent regions whose child regions do not all have the same identified presence state, the child-level data for the four child regions within the parent region comprises: (a) a palette indication to indicate that one of: (i) a majority of the four child regions have a partially present presence state and a minority of the four child regions have a fully present presence state, (ii) a majority of the four child regions have a partially present presence state and a minority of the four child regions have a fully absent presence state, (iii) a majority of the four child regions have a fully present presence state and a minority of the four child regions have a partially present presence state, and (iv) a majority of the four child regions have a fully absent presence state and a minority of the four child regions have a partially present presence state; and (b) a minority position indication to indicate the position of said minority of the four child regions within the parent region.

  11. Claim 11Depends on #1

    The method of claim 1, wherein the block of sub-primitive presence indications is subdivided into a plurality of grandparent regions, wherein each of the grandparent regions is subdivided into a respective plurality of the parent regions.

  12. Claim 12Depends on #11

    The method of claim 11, wherein for each of one or more grandparent regions whose parent regions all have child regions within them which all have the same identified presence state, grandparent-level data is included in the hierarchical representation to represent the presence state of the grandparent region without parent-level data or child-level data for the parent regions or child regions within the grandparent region being included in the hierarchical representation.

  13. Claim 13Depends on #12

    The method of claim 12, wherein grandparent-level data representing a presence state of a grandparent region indicates that: (i) all of the child regions within all of the parent regions within the grandparent region are fully present, (ii) all of the child regions within all of the parent regions within the grandparent region are fully absent, (iii) all of the child regions within all of the parent regions within the grandparent region are partially present, (iv) all of the child regions within the parent regions within the grandparent region are either fully present or partially present, (v) all of the child regions within the parent regions within the grandparent region are either fully absent or partially present, or (vi) the child regions within the parent regions within the grandparent region have a mix of fully present, fully absent and partially present presence states.

  14. Claim 14Depends on #13

    The method of claim 13, wherein for a parent region within a grandparent region whose grandparent-level data indicates that (iv) all of the child regions within the parent regions within the grandparent region are either fully present or partially present, parent-level data representing a presence state of the parent region indicates that: (i) all of the child regions within the parent region are fully present, (ii) all of the child regions within the parent region are partially present, or (iii) the child regions within the parent region have a mix of fully present and partially present presence states.

  15. Claim 15Depends on #13

    The method of claim 13, wherein for a parent region within a grandparent region whose grandparent-level data indicates that (v) all of the child regions within the parent regions within the grandparent region are either fully absent or partially present, parent-level data representing a presence state of the parent region indicates that: (i) all of the child regions within the parent region are fully absent, (ii) all of the child regions within the parent region are partially present, or (iii) the child regions within the parent region have a mix of fully absent and partially present presence states.

  16. Claim 16Depends on #13

    The method of claim 13, wherein for a parent region within a grandparent region whose grandparent-level data indicates that (vi) the child regions within the parent regions within the grandparent region have a mix of fully present, fully absent and partially present presence states, parent-level data representing a presence state of the parent region indicates that: (i) all of the child regions within the parent region are fully present, (ii) all of the child regions within the parent region are fully absent, (iii) all of the child regions within the parent region are partially present, (iv) the child regions within the parent region have a mix of fully present and partially present presence states, or (v) the child regions within the parent region have a mix of fully absent and partially present presence states.

  17. Claim 17Depends on #14

    The method of claim 14, wherein: for a child region within a parent region whose parent-level data indicates that the child regions within the parent region have a mix of fully present and partially present presence states, child-level data representing a presence state of the child region indicates whether the child region has a fully present or partially present presence state, and for a child region within a parent region whose parent-level data indicates that the child regions within the parent region have a mix of fully absent and partially present presence states, child-level data representing a presence state of the child region indicates whether the child region has a fully absent or partially present presence state.

  18. Claim 18Depends on #1

    The method of claim 1, wherein the rendering system is a ray tracing system or a rasterization system.

  19. Claim 19Independent Claim

    A compression unit configured to compress, into a block of compressed data, a block of sub-primitive presence indications for use in a rendering system, wherein the block of sub-primitive presence indications is subdivided into a plurality of parent regions, each of the parent regions being subdivided into a plurality of child regions, the compression unit being configured to: identify a presence state for each of the child regions based on the sub-primitive presence indications in the block of sub-primitive presence indications; and store, in the block of compressed data, a hierarchical representation of the block of sub-primitive presence indications, wherein: for each of one or more parent regions whose child regions all have the same identified presence state, parent-level data is included in the hierarchical representation to represent the presence state of the parent region without child-level data for the child regions within the parent region being included in the hierarchical representation, and for each of one or more parent regions whose child regions do not all have the same identified presence state, child-level data for the child regions within the parent region is included in the hierarchical representation to represent the presence states for the child regions within the parent region.

  20. Claim 20Independent Claim

    A non-transitory computer readable storage medium having stored thereon an integrated circuit definition dataset that, when processed in an integrated circuit manufacturing system, configures the integrated circuit manufacturing system to manufacture a compression unit configured to compress, into a block of compressed data, a block of sub-primitive presence indications for use in a rendering system, wherein the block of sub-primitive presence indications is subdivided into a plurality of parent regions, each of the parent regions being subdivided into a plurality of child regions, the compression unit being configured to: identify a presence state for each of the child regions based on the sub-primitive presence indications in the block of sub-primitive presence indications; and store, in the block of compressed data, a hierarchical representation of the block of sub-primitive presence indications, wherein: for each of one or more parent regions whose child regions all have the same identified presence state, parent-level data is included in the hierarchical representation to represent the presence state of the parent region without child-level data for the child regions within the parent region being included in the hierarchical representation, and for each of one or more parent regions whose child regions do not all have the same identified presence state, child-level data for the child regions within the parent region is included in the hierarchical representation to represent the presence states for the child regions within the parent region.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS AND CLAIM OF PRIORITY This application claims foreign priority under 35 U.S.C. 119 from United Kingdom patent application Nos. GB2207942.0 filed on 30 May 2022 and GB2207937.0 filed on 30 May 2022 which are incorporated by reference herein in their entirety. FIELD The present disclosure is directed to techniques of compressing and/or decompressing sub-primitive presence indications for use in a rendering system. BACKGROUND Rendering systems can be used to generate an image of a scene. Two common rendering techniques are ray tracing and rasterization. In particular, 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 sce

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

Non-Patent Literature (5)

  • Gruen et al;
  • “
  • Sub-triangle opacity masks for faster ray tracing of transparent objects
  • ”
  • ; Proc. ACM Comput. Graph. Interact. Tech., vol. 3; No. 2; Aug. 26, 2020; pp. 1-12.