Elsevier

Computers & Graphics

Volume 36, Issue 5, August 2012, Pages 455-465
Computers & Graphics

SMI 2012: Full Paper
Pattern mapping with quad-pattern-coverable quad-meshes

https://doi.org/10.1016/j.cag.2012.03.025Get rights and content

Abstract

We show that for every surface of positive genus, there exist many quadrilateral manifold meshes that can be texture-mapped with locally translated copies of a single square-texture pattern. This implies, for instance, that every positive-genus surface can be covered seamlessly with any of the 17 plane symmetric wallpaper patterns. We identify sufficient conditions for meshes to be classified as “quad-pattern-coverable”, and we present several methods to construct such meshes. Moreover, we identify some mesh operations that preserve the quad-pattern-coverability property. For instance, since vertex insertion remeshing, which is the remeshing operation behind Catmull–Clark subdivision, preserves quad-pattern-coverability, it is possible to cover any surface of positive genus with iteratively finer versions of the same texture.

Highlights

► QPC meshes exist on any surface with positive genus. ► A QPC mesh can be covered seamlessly with all 17 wallpaper groups. ► We identify sufficient and necessary conditions for QPC meshes. ► We present two methods to construct such meshes. ► We present some mesh operations that preserve the QPC property.

Introduction

Texture mapping [1] is very popular in computer graphics applications, since it allows the creation of complicated-looking images without increasing the complexity of the surface geometry. Texturing arbitrary surfaces with repetitive patterns (i.e, pattern mapping [2]) is particularly useful, since repeating a pattern reduces the memory cost, by mapping the same texture image to all faces. Moreover, pattern mapping does not require painting a texture image for each surface or generating a global texture map on each surface. Pattern mapping can potentially provide natural-looking materials, such as stone, wood, or marble, as well as human-made materials, such as wallpapers or repeating tiles.

One of the main challenges arising when mapping patterns to arbitrary polyhedral meshes is to avoid texture discontinuities caused by singularities in the mesh structure. Texture discontinuities differ from shape discontinuities, although the source of both kinds of discontinuities is the same. In quad-meshes, non-4-valent vertices correspond to mesh singularities. For instance, in Catmull–Clark subdivision, non-4-valent vertices cause C2 discontinuities, but only at points that correspond to non-4-valent vertices [3]. However, discontinuities can also appear at seams along the edges, which can be visually distracting. Unfortunately, it is not always possible to avoid non-4-valent vertices, since 4-regular quad-meshes exist only for genus-1 surfaces.

In this paper, we show that for any surface of positive genus, there exist quad-meshes that do not cause texture discontinuities. Using such quad-meshes, which we call quad-pattern-coverable meshes (abbr. QPC), it is possible to seamlessly cover a surface of positive genus periodically with any plane symmetric wallpaper pattern. Fig. 1(a) and (b) is examples of a QPC mesh covered periodically by one of the two wallpaper patterns shown in Fig. 2.

QPC meshes can also be covered aperiodically, by using more than one quad pattern. Periodic and aperiodic patterns are contrasted in Section 2. After introducing some definitions, we establish sufficient conditions in Section 3 for a mesh to be classified as QPC.

Our results imply that a quad-mesh is not QPC if the valence of at least one vertex is not divisible by 4. This observation implies, in turn, that there exists no genus-0 QPC mesh, since a genus-0 quad-mesh always has some vertices with valences smaller than 4. For positive genus surfaces, by way of contrast, there exist a wide variety of mesh structures that can satisfy the sufficiency conditions. Theoretical and practical algorithms for construction of QPC meshes are provided in 6 Construction of QPC meshes from regular meshes, 5 Constructing QPC meshes with permutation voltage graphs.

One obvious problem with vertex valences that are large multiples of 4 is that it is hard to avoid texture distortions near such a vertex. It is preferable, therefore, to reduce the large multiples to valence 8, the smallest non-trivial multiple of 4. We introduce an operation in Section 6 that can transform the 4k-valent vertices in a mesh into 8-valent vertices, while preserving the QPC property, regardless of surface genus. Note that 8 valence vertices in saddle regions do not produce significant texture distortions as it can be seen in our examples such is the ones shown in Fig. 1, Fig. 4.

Vertex insertion remeshing that replaces each quad by four smaller ones, as the Catmull–Clark subdivision algorithm being the prime example, preserve quad-pattern-coverability (see Section 3). It is possible, therefore, to cover any surface of positive genus with iteratively finer versions of a given texture. Catmull–Clark subdivision is also useful in creating smooth models. In our examples such as Fig. 1, starting with very coarse QPC meshes, we obtain smooth versions by Catmull–Clark subdivision. Instead of re-texturing the mesh, we bi-linearly interpolate texture coordinates. The result is equivalent to using curved quads, as shown in Fig. 3.

We also show in Section 2 that any wallpaper pattern can be created by translations of one rectangular image, and that such a rectangular pattern can be directly mapped to a toroidal surface, using a (4, 4) mesh. Thus, wallpaper patterns can seamlessly cover any toroidal surface. However, other surfaces do not have such a toroidal parameterization and cannot be unfolded onto the Euclidean plane. QPC meshes provide an alternative parameterization that allow mapping of such patterns to any positive-genus surface.

A significant advantage of using wallpaper patterns is that the seamless texturing does not require any unique solution. Cyclic translations of wallpaper patterns are also wallpaper patterns. Therefore, one can control the results, by cyclic translations of the wallpaper pattern in each quadrilateral. Using this property, it is also possible to create seamless texture animations.

Quad-pattern-coverability does not require using a single pattern. We also show that if the boundaries of the patterns match [4], then it is possible to obtain aperiodic covering. For example, the aperiodic covering in Fig. 4(a) and (b) use the four quad patterns in Fig. 5(a) and (b) respectively.

Section snippets

Pattern mapping

Pattern mapping has been used by artists in cultures all around the world to cover planar surfaces. The most popular patterns are wallpaper patterns that provide periodic covering of the plane.

Quad-pattern-coverability of a mesh

Graphs in our discussion can have multiple edges and self-loops. For an oriented edge e=v,w, (where v and w are the head and tail, respectively, of e), we denote by e¯ the reversed oriented edge w,v (oriented edges correspond half-edges in Computer Graphics [13]). A graph is n-regular if every vertex in the graph has valence n. A surface is a closed orientable 2-manifold. A mesh is a graph embedded on a surface, and a quad-mesh is a mesh in which all faces are 4-sided. In an n-regular mesh,

QPC-preserving valence reduction

Unlike the general quadrilateral mesh editing operations [14], [15], we use dual meshes to reduce vertex valences in a QPC mesh, while keeping the QPC property. Let F be a 4k-sided face in a 4-regular mesh M on a surface S, where k2 is a positive integer. Let βF={v1,v2,,v4h1,v4h,v4h+1,v4h+2,,v4k1,v4k}be the boundary walk of face F, in counterclockwise order, where 1hk1. The (F, k, h)-operation on the mesh M, illustrated in Fig. 13, is defined as follows:

  • insert two non-crossing edges [v1,

Constructing QPC meshes with permutation voltage graphs

In this section, we show that all QPC meshes can be constructed from a simple permutation voltage graph. QPC meshes enjoy the symmetric structure, such that each face can be covered by locally translated copies of periodic rectangle. This inspires us to present QPC meshes with embedded permutation voltage graph [16], [6], which holds the similar property.

We present the definition of the permutation voltage graph first.

Let G=(V,E) be a digraph, which is a graph with directed edges, and X be a

Construction of QPC meshes from regular meshes

This section provides an practical alternative for constructing QPC Meshes. Motivated by the result of Lemma 3.6—valences of all vertices of a QPC-mesh must be divisible by 4—we endeavor to construct QPC-meshes by first constructing quad-meshes with all valences divisible by 4, which we call 4k-valent quad-meshes. In this section, we show how to construct 4k-valent quad-meshes. After we construct them, we can easily test them for the QPC property with the efficient labeling algorithm used in

Implementation and results

We have shown that for every surface of positive genus, there exist quadrilateral meshes that permit seamless texture-mapping. With such meshes, it is very easy to seamlessly cover a surface with quad textures. All images herein were created with an extremely simple rendering program that does not provide complicated shading, and they are all direct screen captures. For any graduate student who is knowledgable in computer graphics, the development of such software should not take more than a

Conclusion and discussion

In this paper we show that for every surface of positive genus, there exist quadrilateral meshes that can seamlessly be texture-mapped over the surface. Using this set of quad-meshes, called QPC meshes, surfaces can also be covered aperiodically by using more than one quad pattern. Quad-pattern coverability is an addition to the repertoire of tools for texture mapping. It does not conflict with any existing tools, and it provides new power.

We have provided a theoretical construction algorithm

Acknowledgments

This work partially supported by the National Science Foundation under Grant no. NSF-CCF-0917288.

References (22)

  • E. Catmull et al.

    Recursively generated b-spline surfaces on arbitrary topological meshes

    Comput Aided Des

    (1978)
  • Catmull E. A subdivision algorithm for computer display of curved surfaces. PhD thesis. Department of Computer Science,...
  • Soler C, Cani MP, Angelidis A. Hierarchical pattern mapping. In: Proceedings of ACM SIGGRAPH 2001, vol. 21, no. 4;...
  • Neyret F, Cani M. Pattern based texturing revisited. In: Proceedings of ACM SIGGRAPH 1999, vol. 18, no. 4; 1999. p....
  • B. Grunbaum et al.

    Tilings and patterns

    (1987)
  • J.L. Gross et al.

    Topological graph theory

    (1987)
  • Akleman E, Chen J, Meric B. Intuitive and effective design of periodic symmetric tiles. In: Proceedings of ACM...
  • H. Wang

    Games, logic, and computers

    Sci Am

    (1965)
  • Berger R. The undecidability of the domino problem, vol. 72. Memoirs American Mathematical Society; 1966. p....
  • Stam J. Hierarchical pattern mapping, aperiodic texture mapping. Technical report R046. European research consortium...
  • Cohen MF, Shade J, Hiller S, Deussen O. Wang tiles for image and texture generation. In: Proceedings of ACM SIGGRAPH...
  • Cited by (5)

    • Block meshes: Topologically robust shape modeling with graphs embedded on 3-manifolds

      2014, Computers and Graphics (Pergamon)
      Citation Excerpt :

      A CMM-Pattern Coverable (CMM-PC) mesh is a quad-mesh that can be seamlessly covered by a CMM pattern, which is one of the 17 wallpaper patterns [91]. A quad-pattern coverable mesh is a mesh that can be covered seamlessly by any one of the 17 wallpaper patterns [60]. CMM patterns are mirror-symmetric, as in Fig. 6(a).

    • Mad weave

      2017, Journal of Mathematics and the Arts

    If applicable, supplementary material from the author(s) will be available online after the conference. Please see doi:10.1016/j.cag.2012.03.025.

    View full text