Why a seam needs more than matching corners
A curved object can be built from small surface patches, each controlled by a manageable net of points. Adjacent patches must meet without a crack. If they are to receive smooth lighting, their tangent planes should also agree along the join. These are different requirements: two sheets can meet along the same curve yet form a visible crease. Even if they have the same tangent plane, their parameter speeds may differ. We will prove conditions for all three comparisons, using the cubic patch introduced in the preceding note.
All vectors are in and arithmetic is exact. We use the same edge parameter on both sides; a reversed or nonlinear edge parameter must first be reconciled. A statement about a patch's parameter derivatives is not automatically a statement about pixel shading or the behavior of a particular graphics API.
Definition 12.1.1
(Two bicubic patches with a common edge parameter)
Let for . Two control nets and define
We intend to join the edge of to the edge of . Both parameters increase in the same transverse direction: imagine a global coordinate with on the left and on the right. The two edges have positional continuity when for every .
The edge has four control points, not just two. Agreement of its end points cannot force agreement of the curve in between. The transverse rows next to the edge govern how each patch leaves it. The following theorem makes that statement exact.
Theorem 12.1.2
(Control-row conditions for an entire seam)
With the parameter convention above, the two edge curves agree for all if and only if
Assuming this equality, the piecewise map for and for has matching first partial derivatives along the seam if and only if
On the two closed unit parameter squares, this means that the polynomial pieces and their first derivatives have matching one-sided traces at ; away from the outer domain boundary the joined map is .
Proof
(Bernstein independence and differentiation in )
At all cubic Bernstein functions vanish except , while at only survives. Thus the two edge curves are and . The four cubic Bernstein functions are linearly independent: if their weighted sum is zero, divide the polynomial identity by for and put . The resulting polynomial vanishes on an interval, so every coefficient vanishes. Apply this argument to each vector coordinate. This proves both directions of the first condition.
Differentiating in and reindexing gives
Consequently and . Bernstein independence proves the second equivalence. Under positional agreement, differentiating the common edge curve gives , including one-sided derivatives at the endpoints. Hence matching the transverse derivative is exactly what remains for all first partials to agree. Polynomial derivatives are continuous on each side, so the matching traces give the claimed piecewise regularity.
Proof X-ray
Why the adjacent rows control the join
The endpoint derivative of a cubic Bézier curve is three times its final control edge. Fixing forms a weighted combination of such transverse curves, so the same difference-of-rows rule holds along the whole surface edge. The factor three cancels only because both patches have the same cubic degree and the same transverse parameter scale. If the left and right local parameters span different global widths , the relevant derivatives are and ; equality of unscaled rows is then generally the wrong test.
Tangent planes, normal directions, and speed
Definition 12.1.3
(Regular seam point and tangent-plane agreement)
At a seam point write , and . The seam point is regular if and . The tangent planes are then and , and the oriented normals are the directions of the ordered cross products and . The patches have tangent-plane agreement there if the two planes coincide, and oriented-normal agreement if in addition the two normals point in the same direction. The parameter derivatives match when .
Proposition 12.1.4
(Tangent-plane criterion at a regular seam point)
At a regular seam point the tangent planes agree if and only if for some real and . In that case , so the oriented normals agree if and only if . The parameter derivatives match if and only if and .
Proof
(Both planes contain the common tangent)
Both planes contain , and each is two-dimensional because of regularity. They coincide exactly when , that is, ; since , is not a multiple of , so . Conversely and give and . Here was used. The vector is a positive multiple of exactly when . Finally means , , because and are linearly independent.
A negative reverses the orientation. All of these are pointwise statements; regularity and the coefficients must be checked along the whole edge when a whole-edge conclusion is wanted.
A common geometric continuity condition permits with . It preserves the oriented tangent plane but does not demand equal parameter derivatives. By contrast, the theorem's condition has . Neither condition alone prevents global self-intersection or proves that a normal interpolation scheme is valid at singular points.
Worked example 12.1.5
(An exactly joined curved surface)
Choose and . Since , the patches evaluate to
At the join both yield . Moreover and . Their common cross product is never zero, giving unit normal . Thus these are regular pieces of with matching parameter derivatives, not merely matching corners.
Counterexample mode
Smooth-looking geometry need not have matching parameter speed
The claim: if the oriented tangent planes agree along the whole seam, the joined map is . Keep above but replace the right patch with . It is also bicubic-representable: take . At the edge , while and . Both regular tangent planes and the oriented normal agree, but the displayed global piecewise parameterization has a jump in its derivative. A change of transverse scale can repair that parameter mismatch; merely observing a smooth picture does not prove that the original map is .
Worked example 12.1.6
(Different parameter widths on the two sides)
Let and . Since , the patches are with global width , and with . The edges agree: . The raw control-row differences are and , which are not equal, so the unscaled test of the theorem fails. The global derivatives nevertheless agree: and . Indeed both patches lie on the plane , traversed at different parameter speeds, which is smooth across the seam in the global coordinate .
Concept lensGeometric
The seam point divides a segment
The row condition says, for each , that , the seam point and lie on a line. With equal widths the seam point is the midpoint of and . With widths it divides that segment in the ratio . In the example above, the three points have ratio in every row.
Worked example 12.1.7
(A collapsed seam (boundary case))
Let and . Using and we get and . Then for all , so the whole seam is the single point , and , so both conditions of the theorem hold: the joined map is on both sides. But , hence and along the whole seam. No seam point is regular and the tangent-plane criterion does not apply: matching control rows make the pieces fit with equal derivatives, but do not by themselves supply a normal. A constant patch, with everywhere, shows the same effect.
Common mistakes
Common mistake
(Matching only the corners)
Two cubic edges with control points and have the same end points. At their heights are and , so the patches leave a gap. A seam needs all four edge control points to agree.
Common mistake
(Comparing raw control rows when the parameter widths differ)
If the left patch spans global width and the right patch spans width , equal unscaled differences give global derivatives and , which form a kink. In the second worked example the unscaled rows differ, yet the surface is smooth. Convert to global derivatives and before comparing.
Practice
Quick check
(Let a seam satisfy and for every . What can be concluded about the first derivatives?)
Rearrange the second relation.
Solution · Answer
The given relation rearranges to , so the theorem gives matching transverse derivatives. Matching edge curves also give matching tangential derivatives. With the stated global convention, the joined map is across interior seam points.
Quick check
(Suppose matching edge and neighboring rows give along the seam, but at one point. Is a unit normal guaranteed there?)
Look at the denominator of the normal formula.
Solution · Answer
No. The zero cross product means the displayed normal formula has zero denominator. Matching derivatives does not restore regularity; a limiting normal might exist in a special example, but requires a separate argument and need not be unique.
Quick check
(A cubic left patch uses global interval width and the right patch uses . At the edge, for all . What must be for matching global transverse derivatives, assuming matching edge rows?)
Compare with .
Solution · Answer
Equality of global derivatives requires , so . This conclusion uses equal degree and the same edge parameter.
Quick check
(At a regular seam, , and . Compare the tangent planes, oriented normals and parameter derivatives.)
Write in terms of and .
Solution · Answer
, so both tangent planes are the -plane. and point in the same direction. But ; this comparison alone is not parameter continuity.