# US 2025/0157145 A1 · Graphics processing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0157145 A1
- Document ID: US20250157145A1
- Status: Published application
- Kind: A1
- Application number: 18/509,709
- Filed: 2023-11-15
- Published: 2025-05-15
- Earliest claimed: 2023-11-15
- Assignees: Arm Limited
- Applicants: Arm Limited
- Inventors: Gustaf Daniel Waldemarson
- Web page: https://patentgrep.com/patent/US20250157145A1

## CPC

- G06T 17/005: {Tree description, e.g. octree, quadtree}
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 15/005: {General purpose rendering architectures}
- G06T 15/06: Ray-tracing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A graphics processing system that is operable to perform ray tracing using micromaps is disclosed. A tree representation of a micromap is generated, and when it is desired to determine whether and/or how a ray interacts with a sub-region of a primitive, the tree representation of the micromap is traversed to determine a property value for the sub-region of the primitive.

## Claims

### Claim 1

A method of operating a graphics processing system that is operable to render a scene represented by primitives by tracing rays through the scene and controlling interactions between rays and sub-regions of primitives using property values defined by one or more micromaps, wherein a micromap defines property values for plural sub-regions of a primitive;
the method comprising:
providing a micromap that defines property values for sub-regions of a primitive of a scene to be rendered; and
generating a tree representation of the micromap;
the method further comprising rendering the scene by tracing rays through the scene, and when it is desired to determine whether and/or how a ray and a sub-region of the primitive interact:
traversing the tree representation of the micromap to determine a property value for the sub-region of the primitive; and
using the determined property value to determine whether and/or how the ray and the sub-region of the primitive interact.

### Claim 2 (depends on 1)

The method of claim 1, wherein the primitive is a triangle primitive.

### Claim 3 (depends on 1)

The method of claim 1, wherein the micromap is an opacity micromap.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating a tree representation of the micromap comprises reducing a number of end nodes that the tree representation has; and wherein reducing a number of end nodes that the tree representation has comprises:
determining whether all of the property values defined by the micromap for a set of primitive sub-regions that could be represented by an internal node of a tree representation share the same value; and
when it is determined that all of the property values defined by the micromap for a set of primitive sub-regions that could be represented by an internal node of a tree representation share the same value: representing the set of primitive sub-regions as a single end node of the tree representation.

### Claim 5 (depends on 1)

The method of claim 1, further comprising generating and storing data representing the tree representation of the micromap, wherein generating and storing data representing the tree representation of the micromap comprises:
generating, for each node of the tree representation, a piece of data indicating whether the node is an internal node or an end node; and
storing the pieces of data in an order based on the structure of the tree representation, such that the stored data encodes the structure of the tree representation.

### Claim 6 (depends on 5)

The method of claim 5, wherein each piece of data generated for an end node of the tree representation further indicates a property value defined by the end node.

### Claim 7 (depends on 6)

The method of claim 6, wherein a size of each piece of data is only two bits.

### Claim 8 (depends on 1)

The method of claim 1, comprising determining whether representing the micromap as a tree representation is associated with a decrease in processing and/or storage requirements; and
generating the tree representation when it is determined that representing the micromap as a tree representation is associated with a decrease in processing and/or storage requirements.

### Claim 9

A method of storing a micromap for use by a graphics processor that is operable to render a scene represented by primitives by tracing rays through the scene and controlling interactions between rays and sub-regions of primitives using property values defined by one or more micromaps, wherein a micromap defines property values for plural sub-regions of a primitive; the method comprising:
generating a tree representation of a micromap that defines property values for sub-regions of a primitive of a scene to be rendered; and
generating and storing data representing the tree representation of the micromap;
wherein generating and storing data representing the tree representation of the micromap comprises:
generating, for each node of the tree representation, a piece of data indicating a type of the respective node; and
storing the pieces of data in an order based on the structure of the tree representation, such that the stored data encodes the structure of the tree representation.

### Claim 10 (depends on 9)

A non-transitory computer readable storage medium storing software code which when executing on a processor performs the method of claim 9.

### Claim 11

A graphics processing system that is operable to render a scene represented by primitives by tracing rays through the scene and controlling interactions between rays and sub-regions of primitives using property values defined by one or more micromaps, wherein a micromap defines property values for plural sub-regions of a primitive; the graphics processing system comprising:
a tree representation generating circuit configured to generate a tree representation of a micromap that defines property values for sub-regions of a primitive of a scene to be rendered; and
a rendering circuit configured to render a scene by tracing rays through a scene, and when it is desired to determine whether and/or how a ray and a sub-region of a primitive interact:
traverse a tree representation of a micromap generated by the tree representation generating circuit to determine a property value for the sub-region of the primitive; and
use the determined property value to determine whether and/or how the ray and the sub-region of the primitive interact.

### Claim 12 (depends on 11)

The system of claim 11, wherein the primitive is a triangle primitive.

### Claim 13 (depends on 11)

The system of claim 11, wherein the micromap is an opacity micromap.

### Claim 14 (depends on 11)

The system of claim 11, wherein the tree representation generating circuit is configured to reduce a number of end nodes of a generated tree representation by:
determining whether all of the property values defined by a micromap for a set of primitive sub-regions that could be represented by an internal node of a tree representation share the same value; and
when it is determined that all of the property values defined by a micromap for a set of primitive sub-regions that could be represented by an internal node of a tree representation share the same value: representing the set of primitive sub-regions as a single end node of the generated tree representation.

### Claim 15 (depends on 11)

The system of claim 11, further comprising:
an encoding circuit configured to generate and store data representing a tree representation of a micromap generated by the tree representation generating circuit by:
generating, for each node of the tree representation, a piece of data indicating whether the node is an internal node or an end node; and
storing the pieces of data in an order based on the structure of the tree representation, such that the stored data encodes the structure of the tree representation; and
a decoding circuit configured to:
retrieve pieces of data representing a tree representation of a micromap stored by the encoding circuit;
determine, from each retrieved piece of data, whether a node of the tree representation is an internal node or an end node; and
determine, from an order in which the pieces of data are stored, a structure of the tree representation.

### Claim 16 (depends on 15)

The system of claim 15, wherein the encoding circuit is configured such that each piece of data generated for an end node of the tree representation further indicates a property value defined by the end node; and the decoding circuit is configured to determine a property value from a retrieved piece of data that represents an end node.

### Claim 17 (depends on 16)

The system of claim 16, wherein a size of each piece of data is only two bits.

### Claim 18 (depends on 11)

The system of claim 11, comprising a determining circuit configured to determine whether representing a micromap as a tree representation is associated with a decrease in processing and/or storage requirements; and
cause the tree representation generating circuit to generate a tree representation of the micromap when it is determined that representing the micromap as a tree representation is associated with a decrease in processing and/or storage requirements.

### Claim 19

A graphics processor that is operable to render a scene represented by primitives by tracing rays through the scene and controlling interactions between rays and sub-regions of primitives using property values defined by one or more micromaps, wherein a micromap defines property values for plural sub-regions of a primitive; the graphics processor comprising:
a rendering circuit configured to render a scene represented by primitives by tracing rays through the scene; and
a processing circuit configured to, when it is desired to determine whether and/or how a ray and a sub-region of a primitive interact:
determine, by traversing a tree representation of a micromap that defines property values for sub-regions of the primitive, a property value for the sub-region of the primitive; and
use the determined property value to determine whether and/or how the ray and the sub-region of the primitive interact.
