Elsevier

Computer-Aided Design

Volume 41, Issue 11, November 2009, Pages 812-824
Computer-Aided Design

A vertex-first parametric algorithm for polyhedron blending

https://doi.org/10.1016/j.cad.2009.02.020Get rights and content

Abstract

This paper enhances the conventional parametric algorithms for polyhedron blending, by strategically inverting the edges-first approach to vertex-first, so that matching the vertex blending surface (using a triangular or tensor product Bézier surface, or an S-patch) with the edge blending surfaces (generated by Hartmann method) becomes essentially easier. Based on a study of cross boundary derivatives (those of S-patches are deduced herein), Gg-continuity between all the above surfaces and the primary planar faces is achieved by a novel trick as a first step: assigning the vertex, some edge points and some face points to be the proper control points. This still leaves enough free parameters usable for changing the blending configuration. The new algorithm is illustrated with two practical examples involving miscellaneous vertices up to 6-edge convex–concave.

Introduction

Blending is widely used in geometric modeling for manufacturing, strength, aesthetic and usage purposes. A lot of blending is applied to smooth the vertices and edges of a polyhedral model.

Early in the late 1970s, Doo and Sabin [1] (also Catmull and Clark at the same time [2]) tackled this problem. Being the classical papers on surface subdivision [3], [4], both focused on the polyhedron blending. Their solutions were expressed in recursive formulas for subdivision, rather than blending surface equations. Another numerical method is described by a rolling ball: Choi and Ju [5] put forth the constant-radius rolling ball method, whereas Chuang and Hwang [6] presented an approach of varying the radius of rolling ball (VRRB). Farouki and Sverrisson [7] blended the free-form parametric surfaces with prescribed-precision approximation of constant-radius. Later, researchers aimed to find the exact analytical solutions. According to the blending surface equation forms, the relevant publications can be classified into implicit and parametric. In implicit forms, Braid described various blending for the boundaries of models [8]. Hartmann carried out Gn-blending for vertices by functional splines [9]. Mou et al. presented G2-blending for convex polyhedra by algebraic splines and provided a free parameter to control the shape of the blending surface [10]. Kosters made use of the quadratic surfaces to blend complex corners [11].

In general, parametric forms of surfaces are more convenient to use. For example, it is trivial to determine points, curves and trimmed patches on a parametric surface. In parametric forms, Szilvasi–Nagy presented a flexible local blending operation for polyhedra [12]. Varady and Rockwood produced vertex blending with elegant setbacks [13]. However, both algorithms blended the edges before the vertex. As a result, smoothly connecting the vertex blending surface with the edge blending surfaces as well as the primary planar faces was quite complicated, since a vertex collects several edges. Great efforts have been made to attain G1-continuity. At last, they often turned to splitting the vertex blending surface.

Obviously, adopting an inversed, vertex-first strategy will greatly facilitate the matching. In particular, Hartmann already provided an efficient way [14] to blend the edges if the vertices have been blended. When m, number of edges meeting at a vertex, equals 3, 4 or more, TB (triangular Bézier) surfaces, TPB (tensor product Bézier) surfaces and regular S-patches would be the most promising candidates for the respective vertex blending surfaces. Nevertheless, there still exist large gaps between the candidates and the goal surfaces.

To bridge the gaps, after investigating the schematic control points related to the cross boundary derivatives, by designating the vertex, some edge points and some face points to be the proper control points, we were pleased to turn out a required vertex blending surface, keeping Gg-continuity with the primary planar faces. The correspondence of the control points in schema to the positional control points (not always one to one but sometimes several to one) is the crux of our approach (look ahead at Fig. 6, Fig. 8, Fig. 10, Fig. 11).

In what follows, Section 2 reviews some useful properties of Bézier surfaces and regular S-patches. The latter cross boundary derivatives are derived in Section 3 as a preparation for later sections. In Section 4, we construct the vertex blending surface and discuss the influence of their control points on the blending. In Section 5, the edge blending surfaces are generated as the convex combination of two reparameterized local base patches on the constructed vertex blending surfaces. The influence of the trimmed patches on the edge blending surface is also explained. Section 6 gives two practical examples–a die and a monument–to demonstrate the application. Finally, Section 7 concludes the paper.

Section snippets

Preliminaries

To construct the vertex blending surfaces of m=3 or 4, we make use of the TB or TPB surfaces. Let us recall some important results of them:

Cross boundary derivatives of S-patches

Let us compute the first-order cross boundary derivatives of an m-sided regular S-patch of depth n.

As shown in Fig. 3, p(t)=(1t)pa+tpb is a straight line not parallel to the boundary line p1p2¯ in the domain polygon P, where pap1p2¯ and pbP. Substituting p(t) into Eq. (9) results in S(t)=S(p(t))=|i|=nbiBin(l1(p(t)),,lm(p(t))),t[0,1].

Actually, it expresses a curve on the S-patch. Let uk(t)=lk(p(t)), k=1,,m. Note that um(t)=1Σk=1m1uk(t). Evaluated at t=0, the first-order derivative of S(t

Vertex blending

From now on, if an index ranges from 1 to m, then m+1 should be replaced by 1 and 0 by m.

Problem statement. Let va1am be an m-edge vertex with edges va1¯,,vam¯. Construct a vertex blending surface of degree n in Ggcontact with Δakvak+1, k=1,,m simultaneously, where Δakvak+1 denotes a planar face passing through v, ak, ak+1.

Remark 1

Control points are the root of TB, TPB and S-patches. As a matter of fact, their illustration may have two versions: one is irrelevant to their coordinates and the other

Hartmann method

Hartmann put forward a method for generating a Gh parametric blending surface [14]: the blending surface is simply a convex combination of two reparameterized patches on the base surfaces. Song and Wang extended this method to generate a Gh parametric blending surface based on arbitrary reparameterized partial patches [17]. A brief description of the above method follows:

  • (1)

    Define a blending function f(t) satisfying Hartmann condition, i.e., f(0)=1,f(1)=0, its rth-order derivatives f(r)(0)=f(r)(1)

Practical examples

Example 5

Common dice for gambling are mainly cubes. A casino needs regular dodecahedron dice for new games. To avoid burr and wear, the vertices and edges should be rounded off. Since each vertex collects 3 edges, quartic TB surfaces are employed to blend the vertices G2-continuously (Fig. 18(a)). For the edge blending, we take h=2 and d=0 in Eq. (29). Then it becomes f(t)=i=02Bi5(t), t[0,1]. The reparameterized local base patches are indicated in Fig. 18(a) as well. The resulting edge blending for a

Conclusion

This paper proposes a new algorithm for polyhedron blending, characterized by:

  • It yields exact parametric equations of the blending surfaces.

  • To get rid of matching complication, the blending order is rationalized; edges follow the vertex.

  • After properly placing the control points on the vertex, the edges and the primary planar faces, the blending process is simply generating an ordinary TB, TPB, or S-patch, followed by Hartmann “blending by blending”. Hence it is easy to grasp and use.

  • It can

Acknowledgments

The authors thank the editor and reviewers sincerely for their pertinent comments. This paper belongs to a project, for which we are applying for funding from National Natural Science Foundation of China.

Pei Zhou received his BS degree in Mechanical and Electrical Engineering in 2006 from the Central South University, Changsha, China. He is now a Ph.D. student at Shanghai Jiao Tong University. As an excellent graduate recommended by the former, he was admitted to the latter without examination. Being engaged in computer aided geometric design, he is focusing on blending at present.

References (18)

There are more references available in the full text version of this article.

Cited by (4)

Pei Zhou received his BS degree in Mechanical and Electrical Engineering in 2006 from the Central South University, Changsha, China. He is now a Ph.D. student at Shanghai Jiao Tong University. As an excellent graduate recommended by the former, he was admitted to the latter without examination. Being engaged in computer aided geometric design, he is focusing on blending at present.

Wen-Han Qian is currently a Ph.D. advisor with the Robotics Institute, Shanghai Jiao Tong University. In the joint entrance examination of Peking, Tsinghua, and Nankai universities in 1949, he ranked first in China by total marks. After graduation from Jiao Tong University in 1952, he taught various courses in mechanical engineering, mathematics, and computer science at his Alma Mater, becoming a professor in 1985. Since 1992 he has enjoyed a special monthly subsidy from the State Council of the PRC for his “outstanding contributions to the development of China’s high education”.

View full text