Professional Documents
Culture Documents
Representing Curves and Surfaces
Representing Curves and Surfaces
Surfaces
Introduction
We need smooth curves and surfaces in
many applications:
Introduction
Most common representation for surfaces:
polygon mesh
parametric surfaces
quadric surfaces
Solid modeling
dont miss the next episode...
Introduction
Polygon mesh:
set of connected planar surfaces bounded by
polygons
good for boxes, cabinets, building exteriors
bad for curved surfaces
errors can be made arbitrarily small at the cost
of space and execution time
enlarged images show geometric aliasing
4
Introduction
Parametric polynomial curves:
point on 3D curve = (x(t), y(t), z(t))
x(t), y(t), and z(t) are polynomials
usually cubic: cubic curves
Introduction
Parametric bivariate (two-variable) polynomial
surface patches:
point on 3D surface = (x(u,v), y(u,v), z(u,v))
boundaries of the patches are parametric polynomial
curves
many fewer parametric patches than polynomial
patches are needed to approximate a curved surface
to a given accuracy
more complex algorithms though
6
Higher-order curves:
more compact (use less storage)
easier to manipulate interactively
Bezier
defined by two endpoints and two other points that
control the endpoint tangent vectors
Splines
several kinds, each defined by four points
uniform B-splines, non-uniform B-splines, -splines
13
ax
b
x
cx
ay
by
cy
az
bz
cz
T [t 3
t2
t 1]
d
d
d
x
y
z
Q(t ) [ x(t ) y (t ) z (t )] T C T M G
14
15
Q( s, t ) T C (t ) T M G (t )
For each value of s there is a family of
curves in t.
Major kinds of surfaces:
Hermit, Bezier, B-spline
16
Quadric surfaces
Implicit form:
f ( x, y, z ) ax 2 by 2 cz 2 2dxy 2eyz 2 fxz 2 gx 2hy 2 jz k 0
18
Quadric surfaces
Reasons to use them:
19
Summary
Polygon meshes
20
Summary
Piecewise cubic curves and bicubic surfaces