In this assignment you will learn how to use and control subdivision surfaces.
The pawn consists of six parts as shown in the image -- design each separately
by manually designing the base shapes (you should write a program to generate the base shapes).
Then join them together to make the final model.
You should write from scratch the code to generate k levels of Loop subdivision,
where k (an integer) is a command line argument.
Store the base mesh in your favourite format.
Also store markers for the boundaries and edges in an input file.
Also implement an OpenGL viewer for your subdivided model and make sure that on zooming the model up on screen, it continues to look smooth (with appropriate k). |