# US 2022/0292777 A1 · Heterogenous geometry caching for real-time simulated fluids

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

- Number: US 2022/0292777 A1
- Document ID: US20220292777A1
- Status: Published application
- Kind: A1
- Application number: 17/630,440
- Filed: 2020-07-27
- Published: 2022-09-15
- Earliest claimed: 2019-07-26
- Assignees: Warner Bros. Entertainment Inc.
- Applicants: Warner Bros. Entertainment Inc.
- Inventors: Jason Nadro
- Web page: https://patentgrep.com/patent/US20220292777A1

## CPC

- G06T 9/001: {Model-based coding, e.g. wire frame}
- G06T 17/205: {Re-meshing}
- G06F 30/23: using finite element methods [FEM] or finite difference methods [FDM]
- G06T 15/005: {General purpose rendering architectures}
- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06F 2113/08: Fluids
- G06T 2210/12: Bounding box
- G06T 2210/24: Fluid dynamics
- G06T 2219/2016: Rotation, translation, scaling
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for simulating fluid surfaces in real-time in response to user input includes detecting interactive conditions triggering insertion of a heterogeneous mesh sequence in a 3D model sequence for rendering, fetching ones of the heterogenous mesh sequence from a computer memory, inserting the successive members in corresponding representations of the 3D model sequence in a computer memory, and rendering successive video frames from the representations of the 3D model sequence each including a successive member of the heterogenous mesh sequence. A related method for generating a compact heterogeneous mesh sequence for use in rendering corresponding frames of video includes generating a heterogenous mesh sequence modeling response of a fluid surface to physical forces, the heterogenous mesh sequence characterized by position values represented in computer memory by not less than 12 bytes for each vertex thereof, transforming the heterogenous mesh sequence into the compact heterogeneous mesh sequence, at least in part by quantizing the position values to not greater than four bytes, and storing the compact heterogeneous mesh sequence in a computer memory for use in real-time rendering.

## Claims

### Claim 1

A computer-implemented method for simulating fluid surfaces in real-time in response to user input, the method comprising:
detecting, by one or more processors, interactive conditions triggering insertion of a heterogeneous mesh sequence in a three-dimensional (3D) model sequence for rendering corresponding frames of video;
fetching, by the one or more processors, successive members of the heterogenous mesh sequence from a computer memory;
inserting, by the one or more processors, the successive members in corresponding representations of the 3D model sequence in a computer memory; and
rendering, by the one or more processors, successive video frames from the representations of the 3D model sequence each including a successive member of the heterogenous mesh sequence.

### Claim 2 (depends on 1)

The method of claim 1, wherein the heterogenous mesh sequence is characterized by a 1-byte grayscale value for each mesh vertex color and is free of any UV or mesh tangent data.

### Claim 3 (depends on 1)

The method of claim 1, wherein the heterogenous mesh sequence is characterized by four-byte position values for each mesh vertex.

### Claim 4 (depends on 3)

The method of claim 3, wherein the heterogenous mesh sequence is characterized by a maximum bounding box and the four-byte position values are normalized based on the maximum bounding box.

### Claim 5 (depends on 4)

The method of claim 4, further comprising scaling each of the four-byte position values based on edge length of the maximum bounding box.

### Claim 6

An apparatus for simulating fluid surfaces in real-time in response to user input, the apparatus comprising at least one processor coupled to a memory, the memory holding program instructions that when executed by the at least one processor cause the apparatus to perform for at least each key frame of video output:
detecting, by one or more processors, interactive conditions triggering insertion of a heterogeneous mesh sequence in a three-dimensional (3D) model sequence for rendering corresponding frames of video;
fetching successive members of the heterogenous mesh sequence from a computer memory;
inserting the successive members in corresponding representations of the 3D model sequence in a computer memory; and
rendering successive video frames from the representations of the 3D model sequence each including a successive member of the heterogenous mesh sequence.

### Claim 7

(canceled)

### Claim 8

(canceled)

### Claim 9

(canceled)

### Claim 10

A computer-implemented method for generating a compact heterogeneous mesh sequence for use in rendering corresponding frames of video, the method comprising:
generating, by one or more processors executing a physics simulation engine, a heterogenous mesh sequence modeling response of a fluid surface to physical forces, the heterogenous mesh sequence characterized by position values represented in computer memory by not less than 12 bytes for each vertex thereof;
transforming, by the one or more processors, the heterogenous mesh sequence into the compact heterogeneous mesh sequence, at least in part by quantizing the position values to not greater than four bytes; and
storing the compact heterogeneous mesh sequence in a computer memory for use in real-time rendering.

### Claim 11 (depends on 10)

The method of claim 10, wherein the transforming further comprises removing any UV or mesh tangent data from the heterogenous mesh sequence and adding a 1-byte grayscale value for each mesh vertex color.

### Claim 12 (depends on 10)

The method of claim 10 further comprising, by the one or more processors, determining a maximum bounding box for the compact heterogeneous mesh sequence.

### Claim 13 (depends on 12)

The method of claim 12 further comprising, by the one or more processors, normalizing the four-byte position values based on an edge length of the maximum bounding box, resulting in normalized four-byte position values.

### Claim 14 (depends on 13)

The method of claim 13, further comprising by the one or more processors, configuring the compact heterogeneous mesh sequence with mesh vertices characterized by the normalized four-byte position values.

### Claim 15

An apparatus for generating a compact heterogeneous mesh sequence for use in rendering corresponding frames of video, the apparatus comprising at least one processor coupled to a memory, the memory holding program instructions that when executed by the at least one processor cause the apparatus to perform:
generating, by executing a physics simulation engine, a heterogenous mesh sequence modeling response of a fluid surface to physical forces, the heterogenous mesh sequence characterized by position values represented in computer memory by not less than 12 bytes for each vertex thereof;
transforming the heterogenous mesh sequence into the compact heterogeneous mesh sequence, at least in part by quantizing the position values to not greater than four bytes; and
storing the compact heterogeneous mesh sequence in a computer memory for use in real-time rendering.

### Claim 16

(canceled)

### Claim 17

(canceled)

### Claim 18

(canceled)

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein the memory holds further instructions for the transforming at least in part by removing any UV or mesh tangent data from the heterogenous mesh sequence and adding a 1-byte grayscale value for each mesh vertex color.

### Claim 20 (depends on 15)

The apparatus of claim 15, wherein the memory holds further instructions for determining a maximum bounding box for the compact heterogeneous mesh sequence.

### Claim 21 (depends on 20)

The apparatus of claim 20, wherein the memory holds further instructions for normalizing the four-byte position values based on an edge length of the maximum bounding box, resulting in normalized four-byte position values.

### Claim 22 (depends on 15)

The apparatus of claim 15, wherein the memory holds further instructions for configuring the compact heterogeneous mesh sequence with mesh vertices characterized by the normalized four-byte position values.

### Claim 23 (depends on 6)

The apparatus of claim 6, wherein the memory holds further instructions for the detecting the heterogenous mesh sequence characterized by a 1-byte grayscale value for each mesh vertex color and free of any UV or mesh tangent data.

### Claim 24 (depends on 6)

The apparatus of claim 6, wherein the memory holds further instructions for the detecting the heterogenous mesh sequence characterized by four-byte position values for each mesh vertex.

### Claim 25 (depends on 24)

The apparatus of claim 24, wherein the memory holds further instructions for the detecting the heterogenous mesh sequence characterized by a maximum bounding box and the four-byte position values are normalized based on the maximum bounding box.

### Claim 26 (depends on 25)

The apparatus of claim 25, wherein the memory holds further instructions for scaling each of the four-byte position values based on edge length of the maximum bounding box.
