# US 2025/0095298 A1 · Tessellation method using vertex tessellation factors

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

- Number: US 2025/0095298 A1
- Document ID: US20250095298A1
- Status: Published application
- Kind: A1
- Application number: 18/964,371
- Filed: 2024-11-30
- Published: 2025-03-20
- Earliest claimed: 2015-06-05
- Assignees: Imagination Technologies Limited
- Applicants: Imagination Technologies Limited
- Inventors: Simon Fenney; Vasiliki Simaiaki
- Web page: https://patentgrep.com/patent/US20250095298A1

## CPC

- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06T 15/005: {General purpose rendering architectures}
- G06T 17/205: {Re-meshing}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A tessellation method uses vertex tessellation factors. For a quad patch, the method involves comparing the vertex tessellation factors for each vertex of the quad patch to a threshold value and if none exceed the threshold, the quad is sub-divided into two or four triangles. If at least one of the four vertex tessellation factors exceeds the threshold, a recursive or iterative method is used which considers each vertex of the quad patch and determines how to further tessellate the patch dependent upon the value of the vertex tessellation factor of the selected vertex or dependent upon values of the vertex tessellation factors of the selected vertex and a neighbor vertex. A similar method is described for a triangle patch.

## Claims

### Claim 1

A method of performing tessellation in a computer graphics system, the method comprising:
a) receiving an input comprising four vertices defining a quad patch, each vertex comprising a domain space coordinate and a vertex tessellation factor;
b) dividing the patch into two or four triangles; and
c) in response to determining that at least one tessellation factor exceeds a threshold value:
generating a center vertex to the patch,
defining a vertex to be a selected vertex,
adding two new vertices to sub-divide each edge between the selected vertex and a neighbor vertex,
providing the four vertices, which define a sub-quad and comprise the defined vertex, the center vertex and the two new vertices as a further input to (a), and
adding a new vertex to sub-divide an edge between the selected vertex and the neighbor vertex with the vertex tessellation factor which exceeds the threshold and divide a sub-quad defined by the defined vertex, the newly added vertex, the center vertex and the other neighbor vertex into two triangles by connecting the defined vertex to a diagonally opposite vertex in the sub-quad.

### Claim 2 (depends on 1)

The method according to claim 1, wherein dividing the patch into two or four triangles comprises:
determining whether the patch is a top level patch;
in response to determining that the patch is a top level patch, adding a center vertex and creating four triangles by joining each input vertex to the center vertex; and
in response to determining that the patch is not a top level patch, creating two triangles by connecting a source vertex of the patch to a diagonally opposite vertex of the patch.

### Claim 3 (depends on 1)

The method according to claim 1, wherein generating a center vertex to the patch comprises:
for a top level patch: generating a center vertex having a position given by a weighted blend of (i) an average of positions of all four corner vertices in N-dimensional space and (ii) an average of locations of all four corner vertices in domain space which is then mapped to N-dimensional space; and
for a patch which is not a top level patch: generating a center vertex having a position given by a weighted blend of (i) an average of positions of the selected vertex and a diagonally opposite vertex in N-dimensional space and (ii) an average of the locations of the selected vertex and a diagonally opposite vertex in domain space which is then mapped to N-dimensional space;
wherein the weighted blend uses a weight determined as a function of the vertex tessellation factors.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the weight is given by:
MAX
i
=
0
⁢
…
⁢
3
⁢
(
MIN
⁡
(
TF
i
-
1
,
1
)
)
.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising calculating a vertex tessellation factor and blend factor for the newly added center vertex.

### Claim 6 (depends on 5)

The method according to claim 5, wherein calculating a vertex tessellation factor and blend factor for the newly added center vertex comprises:
calculating an initial vertex tessellation factor using:
InitialTF
center
=
(
TF
0
-
1
)
⁢
(
TF
1
-
1
)
⁢
(
TF
2
-
1
)
⁢
(
TF
3
-
1
)
4
+
1
and
calculating the vertex tessellation factor, TFcenter, and blend factor, BWcenter, for the newly added center vertex by:
determining whether InitialTFcenter is less than two;
in response to determining that InitialTFcenter is less than 2.0, setting TFcenter=1 and BWcenter=BlendWeightFunc(TF0, TF1, TF2, TF3)=MAXi=0 . . . 3(MIN(TFi−1,1)); and
in response to determining that InitialTFcenter is not less than 2.0, setting TFcenter=InitialTFcenter/2 and BWcenter=1.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
for each one of the four received vertices, defining a vertex based on the selected vertex, wherein defining a vertex based on the selected vertex comprises:
setting domain space coordinates of the defined vertex equal to the domain space coordinates of the selected vertex,
determining if the vertex tessellation factor of the selected vertex equals 1.0 and if the vertex tessellation factor of the selected vertex is less than 2.0,
in response to determining that the vertex tessellation factor of the selected vertex equals 1.0, setting a vertex tessellation factor of the defined vertex equal to 1.0 and setting a blend factor of the defined vertex equal to the blend factor of the selected vertex,
in response to determining that the vertex tessellation factor of the selected vertex does not equal 1.0 and is less than 2.0, setting a vertex tessellation factor of the defined vertex equal to 1.0 and setting a blend factor of the defined vertex equal to one less than the vertex tessellation factor of the selected vertex, and
in response to determining that the vertex tessellation factor of the selected vertex is not less than 2.0, setting a vertex tessellation factor of the defined vertex equal to half of the vertex tessellation factor of the selected vertex and setting a blend factor of the defined vertex equal to one; and
in response to determining that the vertex tessellation factor of the selected vertex exceeds the threshold value or that the vertex tessellation factors of both neighbor vertices exceed the threshold value, adding the two new vertices.

### Claim 8 (depends on 1)

The method according to claim 1, wherein adding two new vertices to sub-divide each edge between the selected vertex and a neighbor vertex and calculating vertex tessellation factors and blend factors for the new vertices comprises, for each new vertex VM which sub-divides an edge between vertices VA and VB:
calculating an initial vertex tessellation factor for VM using:
InitialTF
M
=
(
TF
A
-
1
)
⁢
(
TF
B
-
1
)
2
+
1
and calculating the vertex tessellation factor, TFM, and blend factor, BWM for the newly added vertex VM by:
determining whether InitialTFM is less than two;
in response to determining that InitialTFM is less than 2.0, setting TFM=1 and BWM=MAX(MIN(TFA−1, 1), MIN(TFB−1, 1));
in response to determining that InitialTFM is not less than 2.0, setting TFM=InitialTFM/2 and BWM=1.0; and
setting a position of VM in domain space to be an average of domain space coordinates of VA and VB and at a position in N-dimensional space having a position given by a weighted blend using BWM of (i) an average of positions of the VA and VB in N-dimensional space and (ii) a position of VM in domain space which is then mapped to N-dimensional space.

### Claim 9

A hardware tessellation unit comprising hardware logic configured to:
a) receive an input comprising four vertices defining a quad patch, each vertex comprising a domain space coordinate and a vertex tessellation factor;
b) divide the patch into two or four triangles; and
c) in response to determining that at least one tessellation factor exceeds a threshold value:
generate a center vertex to the patch,
define a vertex to be a selected vertex,
add two new vertices to sub-divide each edge between the selected vertex and a neighbor vertex,
provide the four vertices, which define a sub-quad and comprise the defined vertex, the center vertex and the two new vertices as a further input to (a), and
add a new vertex to sub-divide an edge between the selected vertex and the neighbor vertex with the vertex tessellation factor which exceeds the threshold and divide a sub-quad defined by the defined vertex, the newly added vertex, the center vertex and the other neighbor vertex into two triangles by connecting the defined vertex to a diagonally opposite vertex in the sub-quad.

### Claim 10 (depends on 9)

The hardware tessellation unit according to claim 9, wherein the hardware logic dividing the patch into two or four triangles comprises the hardware logic being configured to:
determine whether the patch is a top level patch;
in response to determining that the patch is a top level patch, add a center vertex and creating four triangles by joining each input vertex to the center vertex; and
in response to determining that the patch is not a top level patch, create two triangles by connecting a source vertex of the patch to a diagonally opposite vertex of the patch.

### Claim 11 (depends on 9)

The hardware tessellation unit according to claim 9, wherein the hardware logic generating a center vertex to the patch comprises the hardware logic being configured to:
for a top level patch: generate a center vertex having a position given by a weighted blend of (i) an average of positions of all four corner vertices in N-dimensional space and (ii) an average of locations of all four corner vertices in domain space which is then mapped to N-dimensional space; and
for a patch which is not a top level patch: generate a center vertex having a position given by a weighted blend of (i) an average of positions of the selected vertex and a diagonally opposite vertex in N-dimensional space and (ii) an average of the locations of the selected vertex and a diagonally opposite vertex in domain space which is then mapped to N-dimensional space;
wherein the weighted blend uses a weight determined as a function of the vertex tessellation factors.

### Claim 12 (depends on 11)

The hardware tessellation unit according to claim 11, wherein the weight is given by:
MAX
i
=
0
⁢
…
⁢
3
⁢
(
MIN
⁡
(
TF
i
-
1
,
1
)
)
.

### Claim 13 (depends on 9)

The hardware tessellation unit according to claim 9, wherein the hardware logic is further configured to calculate a vertex tessellation factor and blend factor for the newly added center vertex.

### Claim 14 (depends on 13)

The hardware tessellation unit according to claim 13, wherein the hardware logic calculating a vertex tessellation factor and blend factor for the newly added center vertex comprises the hardware logic being configured to:
calculate an initial vertex tessellation factor using:
InitialTF
center
=
(
TF
0
-
1
)
⁢
(
TF
1
-
1
)
⁢
(
TF
2
-
1
)
⁢
(
TF
3
-
1
)
4
+
1
and
calculate the vertex tessellation factor, TFcenter, and blend factor, BWcenter, for the newly added center vertex by:
determine whether InitialTFcenter is less than two;
in response to determining that InitialTFcenter is less than 2.0, set TFcenter=1 and BWcenter=BlendWeightFunc(TF0, TF1, TF2, TF3) =MAXi=0 . . . 3(MIN(TFi−1,1)),
in response to determining that InitialTFcenter is not less than 2.0, set TFcenter=InitialTFcenter/2 and BWcenter=1.

### Claim 15 (depends on 9)

The hardware tessellation unit according to claim 9, wherein the hardware logic is further configured to:
for each one of the four received vertices, define a vertex based on the selected vertex, wherein defining a vertex based on the selected vertex comprises:
set domain space coordinates of the defined vertex equal to the domain space coordinates of the selected vertex,
determine if the vertex tessellation factor of the selected vertex equals 1.0 and if the vertex tessellation factor of the selected vertex is less than 2.0,
in response to determining that the vertex tessellation factor of the selected vertex equals 1.0, set a vertex tessellation factor of the defined vertex equal to 1.0 and set a blend factor of the defined vertex equal to the blend factor of the selected vertex,
in response to determining that the vertex tessellation factor of the selected vertex does not equal 1.0 and is less than 2.0, set a vertex tessellation factor of the defined vertex equal to 1.0 and set a blend factor of the defined vertex equal to one less than the vertex tessellation factor of the selected vertex, and
in response to determining that the vertex tessellation factor of the selected vertex is not less than 2.0, set a vertex tessellation factor of the defined vertex equal to half of the vertex tessellation factor of the selected vertex and set a blend factor of the defined vertex equal to one; and
in response to determining that the vertex tessellation factor of the selected vertex exceeds the threshold value or that the vertex tessellation factors of both neighbor vertices exceed the threshold value, add the two new vertices.

### Claim 16 (depends on 9)

The hardware tessellation unit according to claim 9, wherein the hardware logic adding two new vertices to sub-divide each edge between the selected vertex and a neighbor vertex and calculate vertex tessellation factors and blend factors for the new vertices comprises the hardware logic being configured to, for each new vertex VM which sub-divides an edge between vertices VA and VB:
calculate an initial vertex tessellation factor for VM using:
InitialTF
M
=
(
TF
A
-
1
)
⁢
(
TF
B
-
1
)
2
+
1
and calculate the vertex tessellation factor, TFM, and blend factor, BWM for the newly added vertex VM by:
determine whether InitialTFM is less than two;
in response to determining that InitialTFM is less than 2.0, set TFM=1 and BWM=MAX(MIN(TFA−1, 1), MIN(TFB−1, 1));
in response to determining that InitialTFM is not less than 2.0, set TFM=InitialTFM/2 and BWM=1.0; and
set a position of VM in domain space to be an average of domain space coordinates of VA and VB and at a position in N-dimensional space having a position given by a weighted blend using BWM of (i) an average of positions of the VA and VB in N-dimensional space and (ii) a position of VM in domain space which is then mapped to N-dimensional space.

### Claim 17

A non-transitory computer-readable storage medium having stored thereon computer readable instructions that, when executed by a computer, cause the computer to perform a method of tessellation in a computer graphics system, the method comprising:
a) receiving an input comprising four vertices defining a quad patch, each vertex comprising a domain space coordinate and a vertex tessellation factor;
b) dividing the patch into two or four triangles; and
c) in response to determining that at least one tessellation factor exceeds the threshold value:
generating a center vertex to the patch,
defining a vertex to be a selected vertex,
adding two new vertices to sub-divide each edge between the selected vertex and a neighbor vertex,
providing the four vertices, which define a sub-quad and comprise the defined vertex, the center vertex and the two new vertices as a further input to (a), and
adding a new vertex to sub-divide an edge between the selected vertex and the neighbor vertex with the vertex tessellation factor which exceeds the threshold and divide a sub-quad defined by the defined vertex, the newly added vertex, the center vertex and the other neighbor vertex into two triangles by connecting the defined vertex to a diagonally opposite vertex in the sub-quad.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein dividing the patch into two or four triangles comprises:
determining whether the patch is a top level patch;
in response to determining that the patch is a top level patch, adding a center vertex and creating four triangles by joining each input vertex to the center vertex; and
in response to determining that the patch is not a top level patch, creating two triangles by connecting a source vertex of the patch to a diagonally opposite vertex of the patch.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein generating a center vertex to the patch comprises:
for a top level patch: generating a center vertex having a position given by a weighted blend of (i) an average of positions of all four corner vertices in N-dimensional space and (ii) an average of locations of all four corner vertices in domain space which is then mapped to N-dimensional space; and
for a patch which is not a top level patch: generating a center vertex having a position given by a weighted blend of (i) an average of positions of the selected vertex and a diagonally opposite vertex in N-dimensional space and (ii) an average of the locations of the selected vertex and a diagonally opposite vertex in domain space which is then mapped to N-dimensional space,
and wherein the weighted blend uses a weight determined as a function of the vertex tessellation factors.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein the weight is given by:
MAX
i
=
0
⁢
…
⁢
3
⁢
(
MIN
⁡
(
TF
i
-
1
,
1
)
)
.
