# US 2021/0343080 A1 · Subdividing a three-dimensional mesh utilizing a neural network

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

- Number: US 2021/0343080 A1
- Document ID: US20210343080A1
- Status: Published application
- Kind: A1
- Application number: 16/863,189
- Filed: 2020-04-30
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Vladimir Kim; Siddhartha Chaudhuri; Noam Aigerman; Hsueh-ti Liu; Alec Jacobson
- Web page: https://patentgrep.com/patent/US20210343080A1

## CPC

- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06T 17/205: {Re-meshing}
- G06N 3/02: Neural networks
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06T 7/13: Edge detection
- G06N 3/045: Combinations of networks
- G06N 5/02: Knowledge representation; Symbolic representation
- G06T 2207/20081: Training; Learning
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Methods, systems, and non-transitory computer readable storage media are disclosed for utilizing one or more neural networks to recursively subdivide a three-dimensional mesh according to local geometries of vertices in the three-dimensional mesh. For example, the disclosed system can determine a local geometry (e.g., a one-ring neighborhood of half-flaps) for each vertex in a three-dimensional mesh. For each subdivision iteration, the disclosed system can then utilize a neural network to determine displacement coordinates for existing vertices in the three-dimensional mesh and coordinates for new vertices added to edges between the existing vertices in the three-dimensional mesh in accordance with the local geometries of the existing vertices. Furthermore, the disclosed system can generate a subdivided three-dimensional mesh based on the determined displacement coordinates for the existing vertices and the determined coordinates for the new vertices.

## Claims

### Claim 1

A non-transitory computer readable storage medium comprising instructions that, when executed by at least one processor, cause a computing device to:
determine a local geometry for each vertex of a plurality of existing vertices in a three-dimensional mesh;
subdivide, utilizing at least one neural network, the three-dimensional mesh by processing the local geometry for each vertex to determine displacement coordinates for the plurality of existing vertices and coordinates for new vertices added to edges between the plurality of existing vertices; and
generate a subdivided three-dimensional mesh according to the displacement coordinates for the plurality of existing vertices and the coordinates for the new vertices added to the edges between the plurality of existing vertices.

### Claim 2 (depends on 1)

The non-transitory computer readable storage medium as recited in claim 1,
wherein the instructions that cause the computing device to determine the local geometry for each vertex further cause the computing device to:
identify, for a vertex, a one-ring neighborhood of vertices connected to the vertex via a plurality of edges; and
determine a plurality of half-flaps corresponding to the vertex within the one-ring neighborhood according to a plurality of directed edges from the vertex, wherein each half flap comprises a pair of adjacent triangular faces sharing a directed edge from the vertex.

### Claim 3 (depends on 2)

The non-transitory computer readable storage medium as recited in claim 2, wherein the instructions that cause the computing device to subdivide the three-dimensional mesh by processing the local geometry for each vertex further cause the computing device to:
generate, utilizing the at least one neural network, a plurality of feature vectors representing the plurality of half-flaps within the one-ring neighborhood; and
generate a feature vector representing per-vertex features of the one-ring neighborhood by utilizing average pooling to combine the plurality of feature vectors representing the plurality of half-flaps.

### Claim 4 (depends on 1)

The non-transitory computer readable storage medium as recited in claim 1, wherein the instructions that cause the computing device to subdivide the three-dimensional mesh by processing the local geometry for each vertex further cause the computing device to determine, utilizing the at least one neural network, the displacement coordinates for the plurality of existing vertices by determining feature vectors for the plurality of existing vertices based on the local geometries of the plurality of existing vertices.

### Claim 5 (depends on 1)

The non-transitory computer readable storage medium as recited in claim 1, wherein the instructions that cause the computing device to subdivide the three-dimensional mesh by processing the local geometry for each vertex further cause the computing device to determine, utilizing the at least one neural network, the coordinates for new vertices added to the edges between the plurality of existing vertices by determining feature vectors for the new vertices based on the local geometries of the plurality of existing vertices.

### Claim 6 (depends on 5)

The non-transitory computer readable storage medium as recited in claim 5, wherein the instructions that cause the computing device to determine the coordinates for the new vertices added to the edges between the plurality of existing vertices further cause the computing device to:
generate, utilizing the at least one neural network, a plurality of feature vectors for a new vertex added to an edge by generating a first feature vector for a first half-flap corresponding to a first direction of the edge and a second feature vector for a second half-flap corresponding to a second direction of the edge; and
generate a feature vector representing the new vertex by utilizing average pooling to combine the first feature vector and the second feature vector.

### Claim 7 (depends on 1)

The non-transitory computer readable storage medium as recited in claim 1, wherein the instructions that cause the computing device to subdivide the three-dimensional mesh by processing the local geometry for each vertex further cause the computing device to:
determine a local coordinate frame for an existing vertex in the three-dimensional mesh, wherein the local coordinate frame is different from a global coordinate frame for the three-dimensional mesh; and
determine a plurality of differential per-vertex quantities according to the local coordinate frame for an existing vertex in the three-dimensional mesh, wherein the differential per-vertex quantities represent vertices within a local geometry of the existing vertex.

### Claim 8 (depends on 1)

The non-transitory computer readable storage medium as recited in claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to:
recursively subdivide, utilizing the at least one neural network, the three-dimensional mesh to generate a plurality of levels of subdivided three-dimensional meshes;
determine, for each level of subdivided three-dimensional meshes of the plurality of levels of subdivided three-dimensional meshes, an l2 loss by comparing the level of subdivided three-dimensional mesh to a ground truth three-dimensional mesh corresponding to the three-dimensional mesh; and
learn parameters of the a least one neural network using the l2 losses corresponding to the plurality of levels of subdivided three-dimensional meshes.

### Claim 9 (depends on 1)

The non-transitory computer readable storage medium as recited in claim 1, wherein the instructions that cause the computing device to generate the subdivided three-dimensional mesh further cause the computing device to generate the subdivided three-dimensional mesh by combining the plurality of existing vertices and the new vertices according to the displacement coordinates for the plurality of existing vertices and the coordinates for the new vertices relative to global axes associated with the three-dimensional mesh.

### Claim 10

A system comprising:
at least one computer memory device comprising a three-dimensional mesh including a plurality of existing vertices; and
one or more servers configured to cause the system to:
determine, utilizing a first neural network, displacement coordinates for the plurality of existing vertices by determining feature vectors for the plurality of existing vertices based on local geometries of the plurality of existing vertices; and
determine, utilizing a second neural network, coordinates for new vertices added to edges between the plurality of existing vertices by determining feature vectors for new vertices based on the local geometries of the plurality of existing vertices; and
generate a subdivided three-dimensional mesh according to the displacement coordinates for the plurality of existing vertices and the coordinates for the new vertices added to the edges between the plurality of existing vertices.

### Claim 11 (depends on 10)

The system as recited in claim 10, wherein the one or more servers are further configured to cause the system to:
identify, for a vertex of the plurality of existing vertices, a one-ring neighborhood of vertices connected to the vertex via a plurality of edges; and
determine a plurality of half-flaps corresponding to the vertex within the one-ring neighborhood according to a plurality of directed edges from the vertex, wherein each half flap comprises a pair of adjacent faces sharing a directed edge from the vertex.

### Claim 12 (depends on 11)

The system as recited in claim 11, wherein the one or more servers are further configured to cause the system to determine the displacement coordinates for the plurality of existing vertices by:
generating, utilizing the first neural network, a plurality of feature vectors representing the plurality of half-flaps within the one-ring neighborhood; and
generating a feature vector representing per-vertex features of the one-ring neighborhood by utilizing average pooling to combine the plurality of feature vectors representing the plurality of half-flaps.

### Claim 13 (depends on 10)

The system as recited in claim 10, wherein the one or more servers are further configured to cause the system to determine the coordinates for the new vertices added to the edges between the plurality of existing vertices by:
generating, utilizing the second neural network, a plurality of feature vectors for a new vertex added to an edge by generating a first feature vector for a first half-flap corresponding to a first direction of the edge and a second feature vector for a second half-flap corresponding to a second direction of the edge; and
generating a feature vector representing the new vertex by utilizing average pooling to combine the first feature vector and the second feature vector.

### Claim 14 (depends on 10)

The system as recited in claim 10, wherein the one or more servers are further configured to cause the system to:
determine a local coordinate frame for an existing vertex in the three-dimensional mesh, wherein the local coordinate frame is different from a global coordinate frame for the three-dimensional mesh; and
determine a plurality of differential per-vertex quantities according to the local coordinate frame for an existing vertex in the three-dimensional mesh, wherein the differential per-vertex quantities represent vertices within a local geometry of the existing vertex.

### Claim 15 (depends on 14)

The system as recited in claim 14, wherein the one or more servers are further configured to cause the system to determine the local coordinate frame for the existing vertex by:
determine an x-axis within the local coordinate frame from a half-edge direction in a half-flap for the existing vertex;
determine a z-axis within the local coordinate frame from an averaged normal of adjacent faces in the half-flap for the existing vertex; and
determine a y-axis within the local coordinate frame from a cross product of the x-axis and the z-axis.

### Claim 16 (depends on 10)

The system as recited in claim 10, wherein the one or more servers are further configured to cause the system to:
recursively subdivide, utilizing the first neural network and the second neural network, the three-dimensional mesh to generate a plurality of levels of subdivided three-dimensional meshes;
determine, for each level of subdivided three-dimensional meshes of the plurality of levels of subdivided three-dimensional meshes, a loss by comparing determined vertex positions in the level of subdivided three-dimensional mesh to vertex positions in a ground truth three-dimensional mesh corresponding to the three-dimensional mesh; and
learn parameters of the first neural network and the second neural network using the losses corresponding to the plurality of levels of subdivided three-dimensional meshes.

### Claim 17 (depends on 10)

The system as recited in claim 10, wherein the first neural network comprises a first multi-layer perceptron, and the second neural network comprises a second multi-layer perceptron.

### Claim 18

A computer-implemented method, comprising:
determining, by at least one processor, local geometries of a plurality of existing vertices in a three-dimensional mesh;
performing a step for utilizing a neural network to generate a subdivided three-dimensional mesh based on the local geometries of the plurality of existing vertices in the three-dimensional mesh; and
providing, by the at least one processor, the subdivided three-dimensional mesh for display within a graphical user interface of a client device.

### Claim 19 (depends on 18)

The computer-implemented method as recited in claim 18, further comprising:
receiving a selection to perform a plurality of subdivision iterations for the three-dimensional mesh; and
generating, utilizing the neural network, a subdivided three-dimensional mesh according to the plurality of subdivision iterations without manual adjustment between each subdivision iteration.

### Claim 20 (depends on 18)

The computer-implemented method as recited in claim 18, further comprising:
determining, for the subdivided three-dimensional mesh, a loss by comparing determined vertex positions in the subdivided three-dimensional mesh to a ground truth three-dimensional mesh corresponding to the three-dimensional mesh; and
learning parameters of the neural network using the loss corresponding to the subdivided three-dimensional mesh.
