Bézier Curves and Splines
- 23Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What are Bézier curves and splines primarily used for in games and computer graphics?
Defining paths for animations and creating 3D models along a path.
Or swipe the card
23 cards
What are Bézier curves and splines primarily used for in games and computer graphics?
Defining paths for animations and creating 3D models along a path.
List some properties of Bézier curves that make them useful for procedural geometry and object orientation.
Tangent and normal directions, radius of curvature, and analytically evaluable bounding boxes.
What is the linear interpolation function, or lerp, and how is it mathematically represented?
Lerp describes a point P between two points P0 and P1 using a t-value (0 to 1). Mathematically: (1−t)P0+tP1.
Describe the process of creating a quadratic Bézier curve using linear interpolation.
Start with three points (P0, P1, P2). Lerp between P0 and P1 to get P_A, and between P1 and P2 to get P_B. Then, lerp between P_A and P_B. The path traced by this final lerp is a quadratic Bézier curve.
How is a cubic Bézier curve constructed using the same principle of nested linear interpolations?
Starting with four points (P0, P1, P2, P3), perform three linear interpolations to get three intermediate points. Then, perform two lerps on these new points. Finally, perform one last lerp on the resulting two points. The path traced by this final point forms the cubic Bézier curve.
What is De Casteljau's Algorithm and why is it favored for Bézier curve calculation?
It's a method for getting a point on a Bézier curve using nested linear interpolations. It's loved for its numerical stability and ease of memory.
Explain the Bernstein Polynomial Form of Bézier curves.
It interprets a Bézier curve point as a weighted sum of its control points, where each control point is multiplied by a polynomial (Bernstein polynomial) based on the t-value.
What does the first derivative of a Bézier curve represent?
It represents the velocity vector or rate of change at a given t-value, and it is tangent to the curve.
What is a fascinating relationship between a Bézier curve and its first derivative?
The derivative of a Bézier curve is always another Bézier curve of one degree lower.
How can the tangent and normal directions derived from the first derivative be used?
They allow for orienting objects, constructing local coordinate spaces, and generating offset points for things like roads in 3D.
What do the second and third derivatives of a Bézier curve represent, respectively?
The second derivative represents acceleration (rate of change of velocity), and the third derivative represents jerk or jolt (rate of change of acceleration).
What is the formula for curvature (κ) of any parametric curve, including Bézier curves?
κ=∥v∥3det(v,a) Where v is velocity (first derivative) and a is acceleration (second derivative).
How can curvature be interpreted, besides radians per meter?
As reciprocal radius, meaning the reciprocal of the radius of an osculating circle with the same curvature.
What is an inflection point on a Bézier curve?
A point where the curvature changes sign (passes through zero), indicating the curve switches its direction of turning.
Why are bounding boxes important in game development?
They are used to optimize culling and intersection testing, as a less expensive preliminary check.
What is the difference between a naïve bounding box and a tight bounding box for a Bézier curve?
A naïve bounding box simply uses the control points. A tight bounding box is the smallest possible axis-aligned box that encloses the curve, often touching the curve at its local minima and maxima.
How are the local minima and maxima of a Bézier curve's x and y components related to its tight bounding box?
They coincide with the points where the bounding box touches the curve, existing where the first derivatives of the x and y components change sign (i.e., their roots).
How can the roots of the derivatives of a cubic Bézier curve's x and y components be found to determine the bounding box?
Rearrange the derivative formula in terms of 't' and then use the quadratic formula to find the roots (t-values).
Why is it difficult to calculate the arc length of a cubic Bézier curve?
There is no closed-form solution; the integral involved is an elliptic integral, requiring approximation.
How is the arc length of a Bézier curve typically approximated?
By subdividing the curve into many small line segments and summing the length of each segment. More segments lead to higher accuracy but are more computationally expensive.
Why do equally spaced t-values not result in equally spaced distances along a Bézier curve?
Because the magnitude of the derivative (speed) is generally not constant across the curve; points move at different speeds.
What is Arc Length Parameterization and why is it desirable for animations?
It's the process of finding the t-value corresponding to a specific distance along the curve, ensuring uniform speed and equally spaced points for animations.
How is Arc Length Parameterization typically achieved for Bézier curves, given the lack of a closed-form solution?
By generating a lookup table that stores arc lengths corresponding to various t-values, and then using this table to approximate the t-value for a given distance.

Ask anything
We've read this whole study set, so questions about it get the best answers.