Curves: Instructor - Dustinwhite Course 390 & 395
Curves: Instructor - Dustinwhite Course 390 & 395
Curves
Course 390 & 395
http://genscapes.blogspot.com/
Questions ?
This lecture will be asking questions about curves, their
Relationship to surfaces, and how they are used and controlled.
x
They have: control points
Curves may be used as profiles to generate surfaces. In most cases, the shape of the profile curve heav-
ily influences the final shape of the emerging surface.
CURVES
We can think of a curve as a connected one-dimensional series of points. That contain many options for
editing and control.
These curves are called planar curves, in contrast to spatial curves such as helixes.
If we use any 3rd degree NURBS curve and modify any set of points, the first curve segment to coincide
again will be the one between the 2nd to last and the 3rd to last modified point. After that, all will coin-
cide again.
BEZIER CURVES
Before explaining NURBS, we will examine Bézier curve, because NURBS is a generalization of Bézier
curve.
Bezier curves are parametric curves which are pretty much customizable and smooth.
Bezier curves are widely used in computer graphics to model smooth curves. As the curve is completely
contained in the convex hull of its control points, the points can be graphically displayed and used to
manipulate the curve intuitively.
The following figure shows a simple Bézier curve sequence (C), its control points (1), (2), (3), (4), and its
control polygon (P). The control points are also called control handles.
Each point on a Bézier curve (and on many other kinds of curves) is computed as a weighted sum of all
control points. This means that each point is
Influenced by every control point. The first
control point has maximum impact on the
beginning of the curve, the second one
reaches its maximum in the first half
of the curve, etc.
BEZIER CURVES
Limitations
A Bezier curve with a large number of control points becomes impractical for design. The degree of the
curve increases and the curve shape resembles less and less the shape of the control polygon.
Beziers are also used as the principle drawing elements in softwares like
Illustrator, Photoshop, Flash, and Macromedia.
When we speak of local control of points, we mean that the control point within that zone will alter that
part of the curve but not the whole thing. Remember that in a Bezier curve, movement of the curve all
depends on the control points. In a B-spline curve, it all depends on the CURVE SEGMENTS and their
respective zones.
B-SPLINE CURVES
B-Spline Open and Closed Curve
Open:
Has 2 endpoints
Interpolates the first and last control points
Always has a sharp corner where the two
Endpoints meet.
Note, it is still open.
Closed:
Non-Uniform Rational B-Splines, are mathematical representations of 3-D geometry that can accurately
describe any shape from a simple 2-D line, circle, arc, or curve to the most complex 3-D organic free-
form surface or solid.
A NURBS curve is defined by four things: degree, control points, knots, and an evaluation rule.
Degree
NURBS lines and polylines are usually degree 1, NURBS circles are degree 2,
and most free-form curves are degree 3 or 5.
Control Points
One of easiest ways to change the shape of a NURBS curve is to move its
control points.
The control points have an associated number called a weight . With a few exceptions,
weights are positive numbers. When a curve’s control points all have the same
weight (usually 1), the curve is called non-rational, otherwise the curve is called
rational.
Evaluation Rule
The NURBS evaluation rule is a formula that involves the degree, control points, and knots.
You can think of the evaluation rule as a black box that eats a parameter and produces a point location.
The degree, knots, and control points determine how the black box works.
It can be used to infinitely refine a given curve type to output a greater level of detail.