CPSC 645/VIZA 675

Assignment 4                                                                                      due 11/21/02

 

This assignment is a programming assignment only.  You are to create a program that creates a model based on the winged-edge data structure.  Then, you are to repeatedly apply a subdivision scheme (either Catmull-Clark or Doo-Sabin) to it.  The number of subdivision steps should be incremented by the user (e.g. by pressing a key or a button).

Initially, you should read in the file and construct the winged-edge representation of the model.  Then you should display this model.  After each user increment, you should generate a new model, and show the results of this new model instead.

 

Again, skeleton code and sample input will be provided.  You can assume that the input will be for a valid solid – i.e. you won’t have a nonmanifold case or anything like that.