Ordering of patch selection in tessellation operations
Abstract
A method of controlling the order in which primitives, generated during tessellation, are output by the tessellation unit involves sub-dividing a patch, selecting one of the two sub-patches which are formed by the sub-division and tessellating that sub-patch until no further sub-division is possible before tessellating the other (non-selected) sub-patch. The method is recursively applied at each level of sub-division. Patches are output as primitives at the point in the method where they do not require any further sub-division. The selection of a sub-patch is made based on the values of one or more flags and any suitable tessellation method may be used to determine whether to sub-divide a patch. Methods of controlling the order in which vertices are output by the tessellation unit are also described and these may be used in combination with, or independently of, the method of controlling the primitive order.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method of performing tessellation in a computer graphics system, the method comprising: dividing an initial patch into two or more sub-patches; and selecting and tessellating each sub-patch in an order encoded by one or more stored values.
- Claim 2Depends on #1
The method according to claim 1, wherein the one or more stored values comprise values of one or more flags.
- Claim 3Depends on #1
The method according to claim 1, wherein dividing an initial patch into two or more sub-patches is in response to determining that an initial patch is to be sub divided, and wherein selecting and tessellating each sub-patch comprises selecting and tessellating each sub-patch until there is no further sub-division of that sub-patch in an order encoded by one or more stored values and selecting and tessellating each sub-patch further comprises: selecting one of the sub-patches formed by sub-division of the initial patch based on one or more stored values; tessellating the selected sub-patch until there is no further sub-division; and repeating the selecting and tessellating until all the sub-patches formed by sub-division of the initial patch have been tessellated until there is no further sub-division of those sub-patches.
- Claim 4Depends on #3
The method according to claim 3, wherein the initial patch is sub-divided into a left sub-patch and a right sub-patch; selecting one of the sub-patches formed by sub-division of the initial patch based on one or more stored values comprises: selecting one of the left and right sub-patches formed by sub-division of the initial patch based on one or more stored values; and repeating the selecting and tessellating until all the sub-patches formed by sub-division of the initial patch have been tessellated until there is no further sub-division of those sub-patches comprises: subsequently tessellating the other of the left and right sub-patches formed by sub-division of the initial patch until there is no further sub-division.
- Claim 5Depends on #4
The method according to claim 4, wherein tessellating the selected sub-patch until there is no further sub-division comprises: analysing the selected sub-patch to determine whether to sub-divide the selected sub-patch; in response to determining that the selected sub-patch is to be sub-divided, dividing the selected sub-patch into a left sub-patch and a right sub-patch; selecting one of the left and right sub-patches formed by sub-division of the selected sub-patch based on one or more stored values; first, tessellating the selected sub-patch until there is no further sub-division; and then, tessellating the non-selected sub-patch until there is no further sub-division; and wherein tessellating the non-selected sub-patch until there is no further sub-division comprises: analysing the non-selected sub-patch to determine whether to sub-divide the non-selected sub-patch; in response to determining that the non-selected sub-patch is to be sub-divided, dividing the non-selected sub-patch in
- Claim 6Depends on #1
The method according to claim 1, wherein the one or more stored values comprise one or more flags, wherein the initial patch has one or more ordering flags and selecting one of the patches formed by sub-division of the initial patch based on one or more stored values comprises: selecting one of the patches formed by sub-division of the initial patch based on values of the one or more ordering flags of the initial patch.
- Claim 7Depends on #6
The method according to claim 6, wherein dividing the initial patch into two or more sub-patches comprises: dividing the initial patch into two or more sub-patches; and setting one or more ordering flags for each of the sub-patches formed from the initial patch, wherein the one or more ordering flags for each of the sub-patches formed from the initial patch are derived from the one or more ordering flags of the initial patch.
- Claim 8Depends on #7
The method according to claim 7, wherein each initial patch and each sub-patch has a single ordering flag and the ordering flag for each sub-patch formed from the initial patch has an opposite value to the ordering flag of the initial patch.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS AND CLAIM OF PRIORITY This application is continuation under 35 U.S.C. 120 of application Ser. No. 17/881,757 filed Aug. 5, 2022, now U.S. Pat. No. 11,928,768, which is a continuation of prior application Ser. No. 17/138,415 filed Dec. 30, 2020, now U.S. Pat. No. 11,468,622, which is a continuation of prior application Ser. No. 16/376,779 filed Apr. 5, 2019, now U.S. Pat. No. 10,909,742, which claims foreign priority under 35 U.S.C. 119 from United Kingdom Application No. 1805698.6 filed Apr. 5, 2018, the contents of which are incorporated by reference herein in their entirety. BACKGROUND Tessellation is a technique used in computer graphics to divide up a set of surfaces representing objects in a scene into a number of smaller and simpler pieces, (referred to as primitives), typically triangles, which are more amenable to rendering. The resulting tessellated surface is generally an approximation to the original surface, but the accuracy of this approximation can be improved by increasing the number of generated primitives, which in turn usually results in the primitives being smaller. The amount of tessellation/sub-division is usually determined by a level of detail (LOD). An increased number of primitives is therefore typically used where a higher level of detail is required, e.g. because an object is closer to the viewer and/or the object has a more intricate shape. However, use of larger numbers of triangles increases the processing effort required to render the scene. The sub-division into triangle primitives is typically performed on patches which are square or triangular in shape (i.e. a quad or a triangle) and which may be curved to fit to the surface of the object they represent (and hence may be referred to as ‘ surface patches ’ ) and/or have displacement mapping applied. The sub-division, however, is not performed on curved patches but is instead performed in the domain of the patch (e.g. as if the patch is planar
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (28)
| Patent | Title | Year | Citations |
|---|---|---|---|
| GB 663,651 A | Device for automatic discharge of rockets | — | 0 |
| US 2,533,443 A | Computing device | 1950 | 0 |
| US 2,539,042 A | Automatic gain control circuit | 1951 | 0 |
Non-Patent Literature (10)
- Fung
- “
- Towards Adaptive Rendering of Smooth Primitives on GPUs
- ”
- Disseration, University of British Columbia 2005.
- Lai.,
- “
- Near-Optimum Adaptive Tessellation of General Catmull-Clark Subdivision Surfaces,
- ”
- Advances in Computer Graphics Lecture Notes in Computer Science, 2006, pp. 562-569.