

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Cs 318 homework assignment #2 from march 2, 2004. The assignment includes problems on defining a new spline type, transforming shapes using translations, scaling, and rotations, testing if a point is within a polygon, and interpolating particle system motion. Intended to help students prepare for the midterm exam.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


This homework is intended to help you prepare for the midterm exam. The majority of the questions on here are from past exams. You should hand in this assignment at the end of class on Tuesday, March 9. Please be organized when writing your answers to these questions. Make sure that all solutions are clearly indicated and labelled with the question they are answering. Remember to write clearly and legibly. Unreadable answers will receive 0 credit.
p(u) =
1 u u^2 u^3
p 0 p 3 r 1 r 2
derive the 4×4 basis matrix M for this class of splines.
(−1, −1)
(1, 1)
For each of the following figures, describe how to transform the initial shape above into the given result. You may only use combinations of the following three transformations:
T : translate by [1 1] S : scale by [2 1] R : rotate (counter-clockwise) by 45◦
NOTE: Your answers should consist of products of these 3 fundamental matrices. Make sure to put them in the correct order.
(a) (b) (c) (d)
Give an equation for a function p(u) that linearly interpolates between these two key frames for values of u in the range [0, 1].
Page 2