Docsity

CS 4620 Homework 7: Spline Comparison and Control Point Adjustment, Assignments of Computer Graphics

Toggle sidebar
bg1
CS 4620 Homework 7
due: Friday 5 December 2006 (late OK to 8 December)
Problem 1: Spline evaluation
1. The four control points p0= (−1,0),p1= (0,−1),p2= (1,0), and p3= (0,1)
can be used to define one segment of (a) B´
ezier spline, (b) Catmull-Rom spline, or
(c) B-spline. For each type of spline, plot the spline curve and the xand ycoordinate
functions for the spline segment defined by these control points.
2. Find the minimal axis-aligned bounding boxes of the three curves.
3.* Find the control points that would be required to make the Catmull-Rom spline and
the B-spline produce the same curve that the B´
ezier spline produces for the points
p0,...,p3
1

Partial preview of the text

Download CS 4620 Homework 7: Spline Comparison and Control Point Adjustment and more Assignments Computer Graphics in PDF only on Docsity!

CS 4620 Homework 7

due: Friday 5 December 2006 (late OK to 8 December)

Problem 1: Spline evaluation

  1. The four control points p 0 = (− 1 , 0), p 1 = (0, −1), p 2 = (1, 0), and p 3 = (0, 1) can be used to define one segment of (a) B´ezier spline, (b) Catmull-Rom spline, or (c) B-spline. For each type of spline, plot the spline curve and the x and y coordinate functions for the spline segment defined by these control points.
  2. Find the minimal axis-aligned bounding boxes of the three curves.

3.* Find the control points that would be required to make the Catmull-Rom spline and the B-spline produce the same curve that the B´ezier spline produces for the points p 0 ,... , p 3