CPSC 424 Assignment 5 - Ugrad.cs.ubc.ca
CPSC 424 Assignment 5 - Ugrad.cs.ubc.ca
CPSC 424 Assignment 5 - Ugrad.cs.ubc.ca
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>CPSC</strong> <strong>424</strong> <strong>Assignment</strong> 5<br />
Term: January 2013, Instructor: Alla Sheffer, sheffa@<strong>cs</strong>.<strong>ubc</strong>.<strong>ca</strong>, http://www.ugrad.<strong>cs</strong>.<strong>ubc</strong>.<strong>ca</strong>/˜<strong>cs</strong><strong>424</strong><br />
Due: March 11th, 2013 in class<br />
<strong>Assignment</strong> 5.1: B-Splines (10 Points)<br />
Draw a cubic B-spline curve defined by the points on the picture,<br />
a) assuming the first and the last points are repli<strong>ca</strong>ted 4 times, and all the others are<br />
not repli<strong>ca</strong>ted.<br />
P 4<br />
P 5<br />
P 6<br />
P 7<br />
=P 8<br />
=P 9<br />
=P 10<br />
P 0<br />
=P 1<br />
=P 2<br />
=P 3<br />
b) assuming no points are repli<strong>ca</strong>ted.<br />
P 0<br />
P 1<br />
P 2<br />
P 3<br />
P 4<br />
1
<strong>Assignment</strong> 5.2: Curve equivalence (10 Points)<br />
Given the following 3 curves F i (t), sketch each curve, and for each F i (t) write<br />
down the equations for (some) equivalent curves G 1 i (t), G2 i (t). For each one of the<br />
equivalent curves (check course notes for the definition of equivalence), include the<br />
corresponding parameter domain.<br />
( t<br />
a) (2D) F 0 (t) =<br />
t<br />
)<br />
, t ∈ [0, 1]<br />
b) (2D) F 1 (t) =<br />
( sin(t)<br />
cos(t)<br />
)<br />
, t ∈ [0, π]<br />
⎛<br />
c) (3D) F 2 (t) = ⎝<br />
t<br />
t 2 1<br />
t<br />
⎞<br />
⎠ , t ∈ [0, 1]<br />
<strong>Assignment</strong> 5.3: Differential geometry (10 Points)<br />
Find an equation of the 2D curve with the following unit tangent vector:<br />
a) τ =<br />
( 1/<br />
√<br />
5<br />
2/ √ 5<br />
)<br />
, t ∈ [0; 1]<br />
b) [BONUS] τ =<br />
( −sinα<br />
cosα<br />
)<br />
, α ∈ [0; ∞)<br />
2
<strong>Assignment</strong> 5.4: Surface types (10 Points)<br />
For each of the following, describe/sketch an everyday object defined by this type of<br />
surface. Explain.<br />
a) Extrusion surface<br />
b) Surface of revolution<br />
c) Ruled surface<br />
d) Bilinear patch<br />
e) Bezier patch<br />
3