# US 2019/0318533 A1 · Realism of scenes involving water surfaces during rendering

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

- Number: US 2019/0318533 A1
- Document ID: US20190318533A1
- Status: Published application
- Kind: A1
- Application number: 16/373,478
- Filed: 2019-04-02
- Published: 2019-10-17
- Earliest claimed: 2018-04-16
- Assignees: NVIDIA Corporation
- Applicants: NVIDIA Corporation
- Inventors: Holger Heinrich Gruen
- Web page: https://patentgrep.com/patent/US20190318533A1

## CPC

- G06T 15/06: Ray-tracing
- G06T 15/506: {Illumination models}
- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06T 2210/21: Collision detection, intersection
- G06T 2210/24: Fluid dynamics
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A water surface mesh is determined for a scene to be rendered. This water surface mesh includes a grouping of geometric shapes such as triangles that represents the surface of the water. This water surface mesh is then used to create a refracted or reflected mesh. The refracted or reflected mesh shows an effect produced by the water surface's refraction or reflection of light. The relationship between the water surface mesh and the refracted or reflected mesh is then used to determine how to illuminate elements within the scene. This eliminates some previously necessary steps during rendering, and enables an accurate depiction of caustics within a scene that can be performed in real-time.

## Claims

### Claim 1

A method comprising:
computing a lighting mesh for a scene to be rendered;
projecting light rays from one or more polygons of a water surface mesh onto geometry of the scene, based on a relationship between the water surface mesh and the lighting mesh; and
performing lighting of the geometry of the scene, utilizing the projected light rays.

### Claim 2 (depends on 1)

The method of claim 1, further comprising determining a refracted or reflected ray for each vertex of the water surface mesh.

### Claim 3 (depends on 1)

The method of claim 1, wherein the lighting mesh is computed utilizing refracted or reflected rays for each vertex of the water surface mesh.

### Claim 4 (depends on 1)

The method of claim 1, further comprising determining a compression ratio for each polygon of the water surface mesh.

### Claim 5 (depends on 4)

The method of claim 4, further comprising projecting refracted light rays from one or more polygons of the water surface mesh onto underwater scene geometry, based on the compression ratio computed for each polygon of the water surface mesh.

### Claim 6 (depends on 4)

The method of claim 4, further comprising projecting reflected light rays from one or more polygons of the water surface mesh onto above-water scene geometry, based on the compression ratio computed for each polygon of the water surface mesh.

### Claim 7 (depends on 4)

The method of claim 4, wherein a number of light rays projected from one or more polygons of the water surface mesh is based on the compression ratio for the polygons.

### Claim 8 (depends on 1)

The method of claim 1, wherein a number of light rays projected from one or more polygons of the water surface mesh is based on an on-screen size of corresponding polygons within the lighting mesh.

### Claim 9 (depends on 1)

The method of claim 1, wherein the light rays are projected from random positions within each polygon of the water surface mesh.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
determining, for each polygon of the water surface mesh for which refracted light rays are to be projected, an intersection of each projected light ray with underwater scene geometry, and
projecting each intersection to a screen space location.

### Claim 11 (depends on 10)

The method of claim 10, further comprising accumulating a brightness value for the screen space location in a buffer in response to determining that the screen space location is on-screen.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
determining, for each polygon of the water surface mesh for which reflected light rays are to be projected, an intersection of each projected light ray with above-water scene geometry, and
projecting each intersection to a screen space location.

### Claim 13 (depends on 12)

The method of claim 12, further comprising accumulating a brightness value for the screen space location in a buffer in response to determining that the screen space location is on-screen.

### Claim 14 (depends on 1)

The method of claim 1, wherein the lighting mesh is a refracted water mesh, and refracted light rays are projected from one or more polygons of a water surface mesh onto underwater geometry of the scene, based on the relationship between the water surface mesh and the refracted water mesh.

### Claim 15 (depends on 1)

The method of claim 1, wherein the lighting mesh is a reflected water mesh, and reflected light rays are projected from one or more polygons of a water surface mesh onto above-water geometry of the scene, based on the relationship between the water surface mesh and the reflected water mesh.

### Claim 16

A system comprising:
a processor that is configured to:
compute a lighting mesh for a scene to be rendered;
project light rays from one or more polygons of a water surface mesh onto geometry of the scene, based on a relationship between the water surface mesh and the lighting mesh; and
perform lighting of the geometry of the scene, utilizing the projected light rays.

### Claim 17 (depends on 16)

The system of claim 16, further comprising determining a refracted or reflected ray for each vertex of the water surface mesh.

### Claim 18 (depends on 16)

The system of claim 16, wherein the lighting mesh is computed utilizing refracted or reflected rays for each vertex of the water surface mesh.

### Claim 19 (depends on 16)

The system of claim 16, further comprising determining a compression ratio for each polygon of the water surface mesh.

### Claim 20

A method comprising:
determining a water surface mesh for a scene to be rendered;
for each vertex of the water surface mesh, determining a refracted ray;
computing a refracted water mesh for the scene, utilizing the refracted rays for each vertex of the water surface mesh;
computing a compression ratio for each polygon of the water surface mesh;
projecting refracted light rays from one or more polygons of the water surface mesh onto underwater scene geometry, based on the compression ratio computed for each polygon of the water surface mesh; and
performing lighting of the underwater scene geometry, utilizing the projected refracted light rays.
