# US 12,602,858 B2 · Rendering method and apparatus, and device

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

- Number: US 12,602,858 B2
- Document ID: US12602858B2
- Status: Granted
- Kind: B2
- Application number: 18/189,677
- Filed: 2023-03-24
- Published: 2023-07-20
- Granted: 2026-04-14
- Earliest claimed: 2020-09-25
- Assignees: Huawei Cloud Computing Technologies Co., Ltd.
- Applicants: Huawei Cloud Computing Technologies Co., Ltd.
- Inventors: Kun Xie; Qing Yin
- Web page: https://patentgrep.com/patent/US12602858B2

## CPC

- G06T 15/06: Ray-tracing
- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

In a rendering method, a target mesh corresponding to a pixel in a current viewplane is determined in a process of rendering a current frame of the application, a historical rendering result of the target mesh that is obtained in a process of rendering a historical frame of the application is obtained, and a current rendering result of the pixel is calculated based on the historical rendering result of the target mesh. According to the rendering method, the current rendering result is calculated by reusing the historical rendering result.

## Claims

### Claim 1

A rendering method comprising:
determining, in a first process of rendering a current frame of an application, a target mesh corresponding to a pixel in a current viewplane, wherein the application comprises at least one model, and wherein each of the at least one model comprises a plurality of meshes;
obtaining a historical rendering result of the target mesh that is from a second process of rendering a historical frame of the application, wherein the historical rendering result comprises a color of emergent rays of the target mesh; and
using the historical rendering result to calculate, based on a threshold and a sample quantity corresponding to the historical rendering result, a first current rendering result of the pixel.

### Claim 2 (depends on 1)

The rendering method of claim 1, further comprising determining that the sample quantity corresponding to the historical rendering result is greater than the threshold, wherein calculating the first current rendering result comprises using the historical rendering result as a second current rendering result of the target mesh, and wherein the second current rendering result is for calculating the first current rendering result.

### Claim 3 (depends on 1)

The rendering method of claim 1, further comprising determining that the sample quantity corresponding to the historical rendering result is not greater than the threshold, wherein calculating the first current rendering result comprises:
performing ray tracing-based rendering on the target mesh to obtain an intermediate rendering result of the target mesh;
calculating, based on the intermediate rendering result and the historical rendering result, a second current rendering result of the target mesh; and
calculating, based on the second current rendering result, the first current rendering result.

### Claim 4 (depends on 3)

The rendering method of claim 3, further comprising storing the second current rendering result.

### Claim 5 (depends on 1)

The rendering method of claim 1, wherein the current viewplane is from a first application, and wherein the historical rendering result is from a second application.

### Claim 6 (depends on 1)

The rendering method of claim 1, wherein the historical rendering result and the current viewplane are from one application.

### Claim 7 (depends on 1)

The rendering method of claim 1, wherein the historical rendering result is from ray tracing-based rendering.

### Claim 8

A rendering engine comprising:
a memory configured to store instructions; and
one or more processors coupled to the memory and configured to execute the instructions to:
determine, in a first process of rendering a current frame of an application, a target mesh corresponding to a pixel in a current viewplane, wherein the application comprises at least one model, and wherein each model comprises a plurality of meshes;
obtain a historical rendering result of the target mesh that is from a second process of rendering a historical frame of the application, wherein the historical rendering result comprises a color of emergent rays of the target mesh; and
use the historical rendering result to calculate, based on a threshold and a sample quantity corresponding to the historical reading result, a first current rendering result of the pixel.

### Claim 9 (depends on 8)

The rendering engine of claim 8, wherein the one or more processors are further configured to execute the instructions to:
determine that the sample quantity corresponding to the historical rendering result is greater than the threshold; and
further calculate the first current rendering result by using the historical rendering result as a second current rendering result of the target mesh, and
wherein the second current rendering result is for calculating the first current rendering result.

### Claim 10 (depends on 8)

The rendering engine of claim 8, wherein the one or more processors are further configured to execute the instructions to:
determine that the sample quantity corresponding to the historical rendering result is not greater than the threshold; and
further calculate the first current rendering result by:
performing ray tracing-based rendering on the target mesh to obtain an intermediate rendering result of the target mesh;
calculating, based on the intermediate rendering result and the historical rendering result, a second current rendering result of the target mesh; and
calculating, based on the second current rendering result, the first current rendering result.

### Claim 11 (depends on 10)

The rendering engine of claim 10, wherein the memory is further configured to store the second current rendering result.

### Claim 12 (depends on 8)

The rendering engine of claim 8, wherein the current viewplane is from a first application, and wherein the historical rendering result is from a second application.

### Claim 13 (depends on 8)

The rendering engine of claim 8, wherein the historical rendering result and the current viewplane are from one application.

### Claim 14 (depends on 8)

The rendering engine of claim 8, wherein the historical rendering result is from ray tracing-based rendering.

### Claim 15

A computer program product comprising instructions stored on a non-transitory computer-readable medium that, when executed by one or more processors, cause an electronic device to:
determine, in a first process of rendering a current frame of an application, a target mesh corresponding to a pixel in a current viewplane, wherein the application comprises at least one model, and wherein each model comprises a plurality of meshes;
obtain a historical rendering result of the target mesh that is from a second process of rendering a historical frame of the application, wherein the historical rendering result comprises a color of emergent rays of the target mesh; and
use the historical rendering result to calculate, based on a threshold and a sample quantity corresponding to the historical rendering result, a first current rendering result of the pixel.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the current viewplane is from a first application, and wherein the historical rendering result is from a second application.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the historical rendering result and the current viewplane are from one application.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the instructions, when executed by the one or more processors, further cause the electronic device to:
determine that a that the sample quantity corresponding to the historical rendering result is greater than-a-than the threshold; and
further calculate the first current rendering result by using the historical rendering result as a second current rendering result of the target mesh, and wherein the second current rendering result is for calculating the first current rendering result.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the instructions, when executed by the one or more processors, further cause the electronic device to:
determine that the sample quantity corresponding to the historical rendering result is not greater than the threshold; and
further calculate the first current rendering result by:
performing ray tracing-based rendering on the target mesh to obtain an intermediate rendering result of the target mesh;
calculating, based on the intermediate rendering result and the historical rendering result, a second current rendering result of the target mesh; and
calculating, based on the second current rendering result, the first current rendering result.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the instructions, when executed by the one or more processors, further cause the electronic device to store the second current rendering result.
