Computer Graphics · Unit 6
Curves and Parametric Representations
Exam-focused notes for Curves and Parametric Representations (Computer Graphics, BIT304): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.
Curves and Parametric Representations in short
Curves in graphics are drawn from a few control values instead of thousands of points. Parametric curves such as Hermite and Bezier curves are used in fonts, design tools and animation paths.
What this unit covers
- Parametric curves and properties
- Hermite interpolation and curves
- Bezier curves and properties
- Bezier curve equations and derivations
- Parametric cubic curves
- Curve modeling and animation
Bezier curves and properties
2082 · 10 marks
Describe the concept of Bezier curves in 3D modeling. Derive the equation for a Bezier curve and discuss how it is used in curve modeling and animation.[10]
Show solved answerHide answer
Bezier Curves in 3D Modeling
Concept of Bezier Curves
A Bezier curve is a parametric curve defined by a set of control points that influence the shape of the curve without necessarily lying on it. The curve is smooth and continuous, making it ideal for modeling complex shapes in 3D graphics, CAD systems, and animation.
Key characteristics:
- The curve always passes through the first and last control points (endpoints)
- Intermediate control points act as "attractors" that pull the curve toward them
- The curve lies within the convex hull of its control points
- Smooth and infinitely differentiable
- Affine invariant (transformation properties are preserved)
Derivation of Bezier Curve Equation
For n+1 Control Points (P₀, P₁, ..., Pₙ)
The parametric equation of a Bezier curve is:
$$B(t) = \sum_{i=0}^{n} P_i \cdot B_{i,n}(t), \quad t \in [0,1]$$
where B_{i,n}(t) are the Bernstein basis functions:
$$B_{i,n}(t) = \binom{n}{i} t^i (1-t)^{n-i}$$
Cubic Bezier Curve (Most Common - 4 Control Points)
For control points P₀, P₁, P₂, P₃:
$$B(t) = (1-t)^3 P_0 + 3(1-t)^2 t P_1 + 3(1-t)t^2 P_2 + t^3 P_3$$
Expanding the Bernstein basis functions:
- $B_{0,3}(t) = (1-t)^3$
- $B_{1,3}(t) = 3t(1-t)^2$
- $B_{2,3}(t) = 3t^2(1-t)$
- $B_{3,3}(t) = t^3$
Verification: At t=0: B(0) = P₀ (curve starts at first control point) At t=1: B(1) = P₃ (curve ends at last control point)
Applications in Curve Modeling and Animation
1. Curve Modeling
- Shape Design: Designers adjust control points to create desired curves without manually specifying every point on the curve
- Smooth Interpolation: Provides smooth, continuous curves for modeling surfaces, paths, and contours
- Intuitive Control: Control points provide direct, visual feedback for shape manipulation
2. Animation
- Path Definition: Bezier curves define smooth motion paths for objects and cameras
- Keyframe Interpolation: Smooth transitions between keyframes in animation sequences
- Ease-in/Ease-out: Control point positioning creates natural acceleration and deceleration effects
- Spline Animation: Multiple Bezier curves connected smoothly (C¹ or C² continuity) create complex animation trajectories
3. Practical Examples
- Font design (TrueType, PostScript fonts use Bezier curves)
- Vector graphics (Adobe Illustrator, Inkscape)
- 3D modeling software (Blender, Maya)
- Motion graphics and visual effects
- Robot path planning
Advantages
- Computationally efficient (De Casteljau's algorithm)
- Stable numerical properties
- Easy to subdivide and join
- Intuitive control through control points
- Scalable to any degree
Summary
Bezier curves provide a powerful mathematical framework for creating smooth, controllable curves in 3D space. Their parametric nature and basis function formulation make them ideal for both static modeling and dynamic animation applications, forming the foundation of modern computer graphics and design tools.
2080 · 5 marks
Explain about parametric curve. Describe the properties of Bezier curve. [5]
2079 · 5 marks
What is Bezier curve? Describe its properties. [5]
Show solved answerHide answer
Bezier Curve: Definition and Properties
Definition
A Bezier curve is a parametric curve used in computer graphics and design to represent smooth curves. It is defined by a set of control points and is generated using the Bernstein polynomial basis functions. The curve passes through the first and last control points but is influenced by the intermediate control points, which act as "handles" to shape the curve.
A Bezier curve of degree n is mathematically defined as:
B(t) = Σ(i=0 to n) P_i * B_i,n(t), where 0 ≤ t ≤ 1
where:
- P_i are the control points
- B_i,n(t) are Bernstein basis functions: B_i,n(t) = C(n,i) * t^i * (1-t)^(n-i)
- C(n,i) is the binomial coefficient
Properties of Bezier Curves
1. Passes Through End Points
The curve always passes through the first control point P_0 and the last control point P_n. Intermediate control points influence but do not necessarily lie on the curve.
2. Convex Hull Property
The entire curve lies within the convex hull formed by its control points. This ensures the curve remains bounded and predictable.
3. Continuity
Bezier curves are infinitely differentiable (smooth) everywhere along their length, providing C-infinity continuity.
4. Affine Invariance
The curve is invariant under affine transformations. Transforming the control points and then generating the curve produces the same result as generating the curve first and then transforming it.
5. Symmetry
Reversing the order of control points produces the same curve traversed in the opposite direction.
6. Variation Diminishing Property
The curve does not oscillate about any line more than the control polygon does, making it stable and predictable.
7. Scalability
Bezier curves can represent curves of any degree by adjusting the number of control points.
These properties make Bezier curves ideal for interactive design applications, font rendering, and animation in computer graphics.
Parametric cubic curves
2081 · 5 marks
Explain about parametric cubic curve with its properties. [5]
Hermite interpolation and curves
0 · 10 marks
Define Hermite interpolation in defining a curve. Draw a line with end points (2, 3) and (12, 8) using DDA.[10]
Make Unit 6 stick
Practice BIT304 with flashcards & quizzes