by Jan Hakenberg, Ulrich Reif, Scott Schaefer, Joe Warren | published as viXra:1405.0012 - May 2nd, 2014 |
Figure:
Abstract: We present a framework to derive the coefficients of trilinear forms that compute the exact volume enclosed by subdivision surfaces. The coefficients depend only on the local mesh topology, such as the valence of a vertex, and the subdivision rules. The input to the trilinear form are the initial control points of the mesh.
Our framework allows us to explicitly state volume formulas for surfaces generated by the popular subdivision algorithms Doo-Sabin, Catmull-Clark, and Loop. The trilinear forms grow in complexity as the vertex valence increases. In practice, the explicit formulas are restricted to meshes with a certain maximum valence of a vertex.
The approach extends to higher order momentums such as the center of gravity, and the inertia of the volume enclosed by subdivision surfaces.
Volume Enclosed by Subdivision Surfaces * | volume_enclo....pdf | 980 kB |
Volume Enclosed by Subdivision Surfaces (on viXra.org) | viXra:1405.0012 | link |
Examples for Doo-Sabin, Midedge, Catmull-Clark, and Loop | viXra:1405.0246 | link |
Subdivision and Volume Implementation (Mathematica 9) | subdiv_volume.zip | 2.4 MB |
Alternating forms in numeric m-format (Matlab) | alt_Y.m.zip | 360 kB |
The first author dedicates this work to the memory of Andrew Ladd, Nik Sperling, and Leif Dickmann. The first author was partially supported by personal savings accumulated during his visit to the Nanyang Technological University/Singapore as a visiting research scientist in 2012-2013. He'd like to thank everyone who worked to make this opportunity available to him.
The most punctual member of the household - Rocky, the German shepherd -
viewed Totto-Chan's unusual behavior with suspicion, but after a good stretch,
he positioned himself close to her, expecting something to happen.
from Totto-Chan
[Peters/Nasri 1997] only describe an approximation of the volume. Moreover, their framework requires "regular submeshes to have a polynomial parametrization". Volumes defined by the Loop scheme are not covered by their approach.
The main finding of our publication is that the volume enclosed by subdivision surfaces is a trilinear form in the control points.
The volume enclosed by the surface defined by subdivision of a closed, orientable mesh M is of the form
The surface is parameterized by a partition of facets. A facet f is typically a quad, or a triangle. The coefficients of the trilinear forms
are constant and only depend on the topology τ(f) of the facet f, for instance the valence of a non-regular vertex.
The coordinates in the neighborhood of facet f are enumerated as
and completely define the subdivision surface associated to facet f.
We show that the trilinear forms are not uniquely determined. The solution space is a 3-dimensional vector space for all three subdivision schemes that we investigate. If we demand additionally that the trilinear forms be alternating, there is a unique solution. The collection of alternating trilinear forms is available for download.
Defeat doesn't finish a man, quit does.
A man is not finished when he's defeated.
He's finished when he quits.
Richard M. Nixon
For a Doo-Sabin mesh, the points are from the 4 faces adjacent to each vertex of the mesh. The midpoints of the 4 faces span a quad. Common topololgies are
The corresponding trilinear forms have dimensions 8x8x8, 9x9x9, ... . At the moment, we have calculated the trilinear forms for valences up to 12. Some solutions are only in numeric precision.
volume | centroid | inertia | |||||
---|---|---|---|---|---|---|---|
valence | # of coefficients | # unique ±,≠0 | solution | # unique ±,≠0 | solution | # unique ±,≠0 | solution |
3 | 8^3=512 | 30 | symbolic | 464 | symbolic | 1598 | symbolic |
4 | 9^3=729 | 13 | symbolic | 135 | symbolic | 378 | symbolic |
5 | 10^3=1000 | 63 | symbolic | ? | numeric | ||
6 | 11^3=1331 | 87 | symbolic | 1709 | symbolic | ||
7 | 12^3=1728 | ? | numeric | ? | numeric | ||
8 | 13^3=2197 | 147 | symbolic | ? | numeric | ||
9 | 14^3=2744 | ? | numeric | ? | numeric | ||
10 | 15^3=3375 | 221 | symbolic | ||||
11 | 16^3=4096 | ? | numeric | ||||
12 | 17^3=4913 | 313 | symbolic |
The contribution of each facet of a torus mesh to the global volume is color-coded.
Two iterations of the Midedge subdivision by [Peters/Reif 1997] in the simplest-pure specification is equivalent to Doo-Sabin with modified weights: [2 1 0 ... 0 1]/4 for all valences. For instance, to contract a point in a triangle, the mask is [2 1 1]/4. To contract a point of a quad, the weights are [2 1 0 1]/4, etc.
The weights are rational. The alternating forms are established in symbolic form up to valence 12. Since the scheme is used only rarely in practice, the forms are available on request.
For a Catmull-Clark mesh the points are from the one-ring around a quad of the mesh. Common topololgies are
The corresponding trilinear forms have dimensions 14x14x14, 16x16x16, 18x18x18, ... . At the moment, we have calculated the trilinear forms for valences up to 16. For valences between 8-16, a new formula was used that results in a linear system with a smaller matrix. The number of unique coefficients (up to sign) in the alternating form are approximately binomial(8+2v,3)/2. The divide by 2 comes from the mirror symmetry along the diagonal through the non-regular vertex of the facet.
valence | # of coefficients | # unique ±,≠0 | solution |
---|---|---|---|
3 | 14^3=2744 | 186 | symbolic |
4 | 16^3=4096 | 71 | symbolic |
5 | 18^3=5832 | 416 | symbolic |
6 | 20^3=8000 | 580 | symbolic |
7 | 22^3=10648 | 782 | symbolic |
8 | 24^3=13824 | 1026 | symbolic |
9 | 26^3=17576 | 1316 | symbolic |
10 | 28^3=21952 | 1656 | symbolic |
11 | 30^3=27000 | 2050 | symbolic |
12 | 32^3=32768 | 2502 | symbolic |
13 | 34^3=39304 | 3016 | symbolic |
14 | 36^3=46656 | 3596 | symbolic |
15 | 38^3=54872 | 4246 | symbolic |
16 | 40^3=64000 | 4970 | symbolic |
The contribution of each quad of a torus mesh to the global volume is color-coded.
For a Loop mesh the points are from the one-ring around a triangular facet. Common topologies are
The corresponding trilinear forms have dimensions 9x9x9, 10x10x10, ... . At the moment, we have calculated the trilinear forms for valences up to 12. Some solutions are only in numeric precision.
volume | centroid | ||||
---|---|---|---|---|---|
valence | # of coefficients | # unique ±,≠0 | solution | # unique ±,≠0 | solution |
3 | 9^3=729 | 46 | symbolic | 639 | symbolic |
4 | 10^3=1000 | 64 | symbolic | 1004 | symbolic |
5 | 11^3=1331 | 88 | symbolic | ? | numeric |
6 | 12^3=1728 | 43 | symbolic | 735 | symbolic |
7 | 13^3=2197 | ? | numeric | ? | numeric |
8 | 14^3=2744 | 188 | symbolic | ? | numeric |
9 | 15^3=3375 | ? | numeric | ||
10 | 16^3=4096 | ? | numeric | ||
11 | 17^3=4913 | ? | numeric | ||
12 | 18^3=5832 | ? | numeric |
The contribution of each triangle of a torus mesh to the global volume is color-coded.
Possible applications of our new formula are
Our framework makes it possible to obtain the trilinear forms that compute the volume enclosed by surfaces defined by three other well-known subdivision schemes:
Catmull-Clark and Loop subdivision allow B-spline curve subdivision along edge cycles. These edges are called crease edges. When the crease edges are sharp, i.e. the crease rule depth is infinite, new trilinear forms need to be derived in order to compute the enclosed volume. The surface near the sharp crease edges typically depends on fewer control points than for regular Catmull-Clark patches. Consequently, the trilinear forms have fewer coefficients. We have treated sharp creases for Catmull-Clark and Loop in the next section.
The extension of our framework to moments of higher degree d is straightforward. Instead of trilinear forms, we have (d+3)-multilinear forms. This means however, that the number of coefficients grows steep in the degree of the momentum. Here is an overview for the regular topologies:
scheme | center of gravity (d=1) | inertia (d=2) |
---|---|---|
Doo-Sabin | 9^4=6561 | 9^5=59049 |
Catmull-Clark | 16^4=65536 | 16^5=1048576 |
Loop | 12^4=20736 | 12^5=248832 |
Since these numbers put a preliminary end to our exploration in 3D, we fallback to the 2D case: subdivision of curves. We describe how to compute area, centroid, and inertia of the subset in the plane enclosed by a subdivision curve. The derivation and examples are published here.
I have always tried to live in an ivory tower,
but a tide of shit is beating at its walls,
threatening to undermine it.
Gustave Flaubert
by Jan Hakenberg, Ulrich Reif, Scott Schaefer, Joe Warren | published as viXra:1406.0060 - June 10th, 2014 |
Figure:
Abstract: Subdivision surfaces with sharp creases are used in surface modeling and animation. The framework that derives the volume formula for classic surface subdivision also applies to the crease rules. After a general overview, we turn to the popular Catmull-Clark, and Loop algorithms with sharp creases. We enumerate common topology types of facets adjacent to a crease. We derive the trilinear forms that determine their contribution to the global volume. The mappings grow in complexity as the vertex valence increases. In practice, the explicit formulas are restricted to meshes with a certain maximum valence of a vertex.
Volume Enclosed by Subdivision Surfaces w/ Sharp Creases | volume_enclo....pdf | * 630 kB |
Volume Enclosed by Subdivision Surfaces w/ Sharp Creases | viXra:1406.0060 | link |
Examples for Catmull-Clark, and Loop w/ Sharp Creases | viXra:1405.0324 | link |
Subdivision and Volume Implementation (Mathematica 9) | subdiv_volume.zip | 2.4 MB |
Surface subdivision schemes are tuned to produce surfaces that appear smooth everywhere. Creases are a simple extension that provide the option to model sharp features in the surface. Across the crease, the surface normal is generally not continuous, as can be seen in the illustration above.
In Piecewise smooth surface reconstruction Hoppe et al., 1994, extend the Loop subdivision scheme to handle sharp creases. In Subdivision Surfaces in Character Animation DeRose et al., 1998, present refinement of creases in Catmull-Clark meshes. The concept is the same in both algorithms: Along an edge cycle of the mesh that is designated as crease, cubic B-spline subdivision rules for curves apply. In particular, control points that are not part of the crease cycle do not affect the refinement of the crease. In the limit, the crease is identical to a cubic B-spline curve.
An early use of sharp creases in subdivision surfaces was to model the fingernails of the character Geri in Pixar's 1997 short film Geri's game. From then on, subdivision with creases has been a tool in surface modeling, and frequently used in animations, as explained in the video by Autodesk.
Die Laster stritten, wer von ihnen
am eifrigsten gewesen sei,
dem Bösen auf der Welt zu dienen;
den Preis erhielt die Heuchelei.
Johann Wilhelm Ludwig Gleim
The Catmull-Clark subdivision scheme was published in 1978. The Loop scheme was introduced 1987.
One round of cubic B-spline subdivision for curves consists of vertex repositioning, and mid-edge vertex insertion. The subdivision rules along crease edge cycles in a mesh are illustrated in the following.
When f is adjacent to a crease, we denote the topology type by a tuple n.m. The first number n is the valence of the non-regular vertex (that also belongs to the crease). The second number m enumerates different configurations of the crease. All topology types are illustrated graphically. The subdivision weights are integer fractions. That means we can establish the trilinear forms in exact, symbolical notation. However, as the valence of the non-regular crease vertex increases, the volume forms become more difficult to establish because of computer memory constraints.
For the readers convenience, we calculate the trilinear forms for crease facets with valences up to 5.
topology | # of coefficients | # unique ±,≠0 | solution |
---|---|---|---|
1.1 | 9^3=729 | 45 | symbolic |
2.1 | 12^3=1728 | 102 | symbolic |
3.1 | 15^3=3375 | 232 | symbolic |
3.2 | 14^3=2744 | 359 | symbolic |
4.1 | 17^3=4913 | 660 | symbolic |
4.2 | 16^3=4096 | 555 | symbolic |
5.1 | 19^3=6859 | 492 | symbolic |
5.2 | 19^3=6859 | 949 | symbolic |
5.3 | 18^3=5832 | 811 | symbolic |
For the readers convenience, we calculate the trilinear forms for crease facets with valences up to 6.
volume | centroid | ||||
---|---|---|---|---|---|
topology | # of coefficients | # unique ±,≠0 | solution | # unique ±,≠0 | solution |
1.1 | 8^3=512 | 31 | symbolic | 387 | symbolic |
1.2 | 6^3=216 | 11 | symbolic | 104 | symbolic |
1.3 | 6^3=216 | 6 | symbolic | 40 | symbolic |
2.1 | 8^3=512 | 56 | symbolic | 756 | symbolic |
3.1 | 10^3=1000 | 64 | symbolic | 1002 | symbolic |
3.2 | 9^3=729 | 43 | symbolic | 631 | symbolic |
4.1 | 11^3=1331 | 161 | symbolic | 2928 | symbolic |
4.2 | 10^3=1000 | 120 | symbolic | 1980 | symbolic |
5.1 | 12^3=1728 | 115 | symbolic | ||
5.2 | 12^3=1728 | 216 | symbolic | ||
5.3 | 11^3=1331 | 165 | symbolic | ||
6.1 | 13^3=2197 | 282 | symbolic | ||
6.2 | 13^3=2197 | 282 | symbolic | ||
6.3 | 12^3=1728 | 220 | symbolic |
A teacher affects eternity:
he can never tell where his influence stops.
Henry Adams
We have derived the alternating trilinear forms for facets adjacent to sharp creases that are required to compute the volume enclosed by the subdivision surface. The forms are available up to a certain valence of the non-regular vertex. In the future, trilinear forms for greater valences may be computed.
The discussion in our article is restricted to meshes with pairwise disjoint crease cycles. [Hoppe et al. 1994] incorporates two other possibilities:
The contribution to the volume by a facet adjacent to a dart, or corner vertex is determined by yet other trilinear forms. The forms depend on the valence of the vertex and require an enumeration alike the one carried out in the previous chapter.
The great recurring themes of human history,
the balance between cooperation and conflict.
Matt Ridley
The first author was traveling in Vietnam during the time of this project. Here are photos of hotel rooms with spacious desks to place a laptop on. At the time, he was not affiliated to any academic institution.
Personal note from Jan: I was surprised to find that one needs endorsement to post on arXiv. Also, arXiv has many different categories, and selecting the right category for this work seems the hardest feat of all. So, I decided that viXra suits me better.