Computer Graphics Forum - 2003 - Stam - Quad Triangle Subdivision
Computer Graphics Forum - 2003 - Stam - Quad Triangle Subdivision
See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
Volume 22 (2003), number 1 pp. 79–85 COMPUTER GRAPHICS for um
Quad/Triangle Subdivision
Abstract
In this paper we introduce a new subdivision operator that unifies triangular and quadrilateral subdivision
schemes. Designers often want the added flexibility of having both quads and triangles in their models. It is also
well known that triangle meshes generate poor limit surfaces when using a quad scheme, while quad-only meshes
behave poorly with triangular schemes. Our new scheme is a generalization of the well known Catmull–Clark
and Loop subdivision algorithms. We show that our surfaces are C 1 everywhere and provide a proof that it is
impossible to construct such a C 2 scheme at the quad/triangle boundary. However, we provide rules that produce
surfaces with bounded curvature at the regular quad/triangle boundary and provide optimal masks that minimize
the curvature divergence elsewhere. We demonstrate the visual quality of our surfaces with several examples.
ACM CSS: I.3.5 Computer Graphics—Curve, surface, solid, and object representations
e
e d β
b b d γ β
e
b d β
b d β
e e
b a d c β α
b d β
e e γ
b b d d β β
e γ
Figure 1: A regular triangular mesh (left) behaves poorly Figure 4: Smoothing masks for Loop, Catmull–Clark
with Catmull–Clark (middle) and behaves nicely with Loop. and our new scheme. The weights are a = 2(3/8 +
1/4 cos(2π/n e ))2 − 1/4, b = (1 − a)/n e , c = (n e − 3)/n e ,
d = 2/n 2e and e = 1/n 2e . In our example n e = 8 and
n q = 3.
c The Eurographics Association and Blackwell Publishing Ltd 2003
14678659, 2003, 1, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/1467-8659.t01-2-00647 by ${individualUser.givenNames} ${individualUser.surname} - <Shibboleth>[email protected] , Wiley Online Library on [09/01/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
J. Stam and C. Loop / Quad/Triangle Subdivision 81
Table 1: Values of the correction factor η for different configura-
tions. Also given is the corresponding value of the ratio ρ.
ne nq η ρ
2 1 −0.20505 1.000
3 1 0.80597 1.227
3 2 0.61539 1.242
4 1 0.34792 1.000
4 2 0.21380 1.000
4 3 0.10550 1.000
c The Eurographics Association and Blackwell Publishing Ltd 2003
14678659, 2003, 1, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/1467-8659.t01-2-00647 by ${individualUser.givenNames} ${individualUser.surname} - <Shibboleth>[email protected] , Wiley Online Library on [09/01/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
82 J. Stam and C. Loop / Quad/Triangle Subdivision
2 5 24
26 11 2 -1 -1 11 -6 -4 -2 0 0 8 11 11 11 11 15 15
2 26 3 9 8 8
26 11 2 -1 -1 11 -3 -2 -1 0 0 4 2 2 2 2 3 3
2 26 1 3 0 0
26 11 2 -1 -1 11 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1
2 26 -1 -3 0 0
26 11 2 -1 -1 11 3 2 1 0 0 -4 2 2 2 2 3 3
2 26 -3 -9 8 8
26 11 2 -1 -1 11 6 4 2 0 0 -8 11 11 11 11 15 15
2 -5 24
x 1/3 x 1/3 x 1/2 x 1/3 x 1/4
Figure 6: Control nets defining the characteristic map for
different values of n e and n q . Figure 7: Coefficients of the Box splines corresponding to
the shaded area (top) that reproduce the three quadratics:
x 2 , x y and y 2 (bottom).
3. Smoothness
3.1. C 1 -Continuity 19 17 -9 -1 1 1
696 174 104 26 12 3
for a proof of this fact [4,5]. The crucial tool used in these
proofs is the characteristic map first introduced by Reif Figure 8: Limit masks for position (left) and normal
[4]. This map is the surface defined by the two-dimensional (middle/right) for a regular quad/triangle vertex.
mesh formed by the two eigenvectors corresponding to λ
and λ2 (see Section 2.2) of the larger subdivision matrix
S , which includes two rings of neighboring vertices.
Figure 6 shows the aforementioned meshes for various
configurations of quads and triangles around a central
vertex. A fundamental theorem of subdivision surfaces
states that when the characteristic map is both regular
and injective, the surface is C 1 at the central vertex. In
Figure 6 we depict several control meshes for characteristic
maps corresponding to different values of n e and n q . It
seems reasonable to infer that the corresponding surfaces are
injective. In fact we can verify injectivity for these meshes
up to machine precision. This argument does not constitute
a formal proof of C 1 for all possible cases. However in
practice what matters most is that we can compute a limit Figure 9: Comparison of Loop (left), Catmull–Clark (mid-
normal from the left two eigenvectors corresponding to λ dle) and our new scheme (right).
and λ2 [12].
c The Eurographics Association and Blackwell Publishing Ltd 2003
14678659, 2003, 1, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/1467-8659.t01-2-00647 by ${individualUser.givenNames} ${individualUser.surname} - <Shibboleth>[email protected] , Wiley Online Library on [09/01/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
83
14678659, 2003, 1, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/1467-8659.t01-2-00647 by ${individualUser.givenNames} ${individualUser.surname} - <Shibboleth>[email protected] , Wiley Online Library on [09/01/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
84 J. Stam and C. Loop / Quad/Triangle Subdivision
For the surface to be C 2 these coefficients have to agree curvature. In general, for hybrid quad/triangle meshes our
at the quad/triangle boundary. Unfortunately this is not the new scheme produces nicer surfaces than previous schemes.
case for the coefficients of y 2 and consequently the surface
In the future we intend to find an exact evaluation
cannot possibly be C 2 . Note that our proof carries through
procedure for our surfaces similar to [6]. The evaluation
even if we use a different configuration than the one shown
depends on the ability to evaluate exactly along the regular
in Figure 7. Other configurations change the coefficients we
quad/triangle boundary. Once this is established evaluation
present. These may change the quadratics spanned, but no
everywhere follows directly. We are also searching for a
choice captures all three.
formal proof of the fact that our surfaces are C 1 , perhaps
However, for the rules we have chosen, the surface at the by recasting the problem into the known quad or triangle
quad/triangle boundary has bounded curvature since it has framework or by inventing a new method of proof. A recent
the following regular set of eigenvalues: paper by Levin and Levin proposes such a new framework
which they apply to the regular quad/triangle boundary [14].
1 1 1 1 1 1 3
1, , , , , , , , Finally, even though our schemes work well on hybrid
2 2 4 4 4 8 32
quad/triangle meshes, they still perform poorly when the
such that µ = λ2 . base mesh contains faces with a very bad aspect ratio. This
is a more general problem that plagues uniform stationary
We mention that by increasing the size of the masks and subdivision. A topic for future research could be to come up
allowing negative weights it is possible to construct a C 2 with new rules which can handle any type of base mesh and
scheme [14]. still produce aesthetically pleasing looking shapes.
4. Implementation References
We have implemented our scheme as a MAYA shape plugin 1. E. Catmull and J. Clark. Recursively generated B-spline
node. Our plugin takes as an input any MAYA-modeled surfaces on arbitrary topological meshes. Computer
polygonal mesh comprised of triangles and quads and Aided Design, 10(6):350–355, 1978.
displays a shaded polygonal mesh using the limit positions
and normals of the vertices at a given level of subdivision. 2. D. Doo and M. A. Sabin. Behaviour of recursive sub-
To compute limit positions and limit normals we use the division surfaces near extraordinary points. Computer
left eigenvectors of the corresponding subdivision matrix Aided Design, 10(6):356–360, 1978.
(see Section 2.2). In the interior of the faces these limit
3. C. T. Loop. Smooth subdivision surfaces based on
masks are regular and well known. At irregular quad and
triangles, M.S. Thesis, Department of Mathematics,
triangle vertices we use the masks given in [12] and [3].
University of Utah, August 1987.
At the vertices that share triangles and quads we compute
these eigenvectors numerically only once when reading in 4. U. Reif. A unified approach to subdivision algorithms
the base mesh. Figure 8 provides the limit masks for the near extraordinary vertices. Computer Aided Geometric
regular quad/triangle boundary vertices. Design, 12:153–174, 1995.
Figure 9 demonstrates that our new scheme performs bet- 5. D. N. Zorin. Subdivision and multiresolution surface
ter than Loop and Catmull–Clark on a cylinder-like polyg- representations, PhD thesis, Caltech, Pasadena, Califor-
onal model. Figure 10 depicts different surfaces created us- nia, 1997.
ing our new subdivision scheme. Note that the right-most
pictures show a reflection-line plot of the surface, which 6. J. Stam. Exact evaluation of Catmull–Clark subdivi-
provides an excellent visualization of the curvature. sion surfaces at arbitrary parameter values. In Com-
puter Graphics Proceedings, Annual Conference Series,
pp. 395–404. July 1998.
5. Conclusions and Future Work
7. J. Maillot and J. Stam. A unified subdivision scheme
In this paper we have proposed a novel hybrid quad/triangle for polygonal modeling. Computer Graphics Forum
scheme which unifies Catmull–Clark and Loop surfaces in a (Proceedings of Eurographics 2001), 20(3):471–479,
single framework. We obtained our subdivision rules by de- 2001.
composing the subdivision process into separate steps: linear
subdivision followed by vertex-averaging followed by a ver- 8. J. Stam. On subdivision schemes generalizing uniform
tex correction. We have shown that our surfaces are tangent b-spline surfaces of arbitrary degree. Computer Aided
plane continuous but not curvature continuous. However, we Geometric Design. Special Edition on Subdivision Sur-
have introduced masks which optimize the behavior of the faces, 18:383–396, 2001.
c The Eurographics Association and Blackwell Publishing Ltd 2003
14678659, 2003, 1, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/1467-8659.t01-2-00647 by ${individualUser.givenNames} ${individualUser.surname} - <Shibboleth>[email protected] , Wiley Online Library on [09/01/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
J. Stam and C. Loop / Quad/Triangle Subdivision 85
9. D. Zorin and P. Schröder. A unified framework for 12. M. Halstead, M. Kass and T. DeRose. Efficient, fair
primal/dual quadrilateral subdivision schememes. Com- interpolation using Catmull–Clark surfaces. In Proceed-
puter Aided Geometric Design. Special issue on Subdi- ings of SIGGRAPH ’93, Addison-Wesley Publishing
vision Surfaces, 18:429–454, 2001. Company, pp. 35–44. August 1993.
10. J. Warren and H. Weimer. Subdivision Methods For
13. H. Prautzsch and U. Reif. Necessary conditions for sub-
Geometric Design: A Constructive Approach. Morgan
division surfaces. In Tech. report, Sonderforschungs-
Kaufmann, 2001.
bereich 404. Universitĺat Stuttgart, Report 97/04, 1997.
11. H. Biermann, A. Levin and D. Zorin. piecewise smooth
subdivision with normal control. In SIGGRAPH 2000 14. A. Levin and D. Levin. Smoothness analysis of bivari-
Conference Proceedings, Annual Conference Series, ate quasi-uniform subdivision schemes. Unpublished
pp. 113–120. July 2000. manuscript, 2001.
c The Eurographics Association and Blackwell Publishing Ltd 2003