CURVES (W1) Flashcards
What are the 3 main stages of the Graphics Pipeline?
Modelling
Animation
Rendering
What are the two types of geometry
Explicit
Implicit
What are the 3 types of explicit geometry we learn about
Direct points
Polygon mesh
Bezier Curve
What are 2 types of implicit geometry we learn about
Level Sets
Algebraic surfaces
(Neither of these describes explicit points)
What are polylines
Sequence of vertices connected by straight line segments
Lack smoothness
Important because they are essentially what a GPU draws at the end
What is a Spline
The general term for a curve that gracefully connects 2 or more points
What is interpolation
A way of constructing a curve so it passes through every points
Ideal when we want to preserve given data points
2 ways of defining a curve
A continuous 1d set of points
-easy to edit
Treat a curve as a mapping from an interval S onto a plane
P: S ∈ R -> R^2
P(t) = (x(t), y(t))
What is approximation
Smoothly approximates the overall shape
More flexible
Better for curves with fewer control points
What are the 3 main types of Spline
Cubic Bezier Curve
Cubic B-Spline Curve
NURBS: Non-uniform Rational Basis Spline
What degree is a cubic bezier curve
Degree 3
What is a cubic bezier curve
A curve which connects p1 and p4 and interpolates between p2 and p3
How does curve degree relate to control points
Degree = control point -1
What are the 2 geometrical properties of the cubic bezier curve
Forms a convex hull defined by the control points, the curve is always inside this bounded box
At the 2 end points, both points are tangent to curve
What are the 4 coefficients of each point in P(t) called
Bernstein Polynomials
P(t) =
(1-t)^3 P1
+ 3t(1-t)^2 P2
+ 3t^2(1-t) P3
+ t^3 P4
What are the two key properties of the cubic bezier curve Bernstein polynomials
non-negativity: 0 < all values < 1
Unity sum: the sum of all the Bernstein polynomials is always equal to 1
- this is why the curve always remains inside the convex hull