Computer Science 110 |
Lab 3: Working with Custom Objects
Due: 11:00 AM, Monday, February 25, 2008
Before you start work on this week's lab, get your computer account better organized.
First, I recommend creating a shortcut to have easier access to the class examples. To do this, log into your Linux lab account in Clapp 202 and open a terminal window. Issue the following command:
ln -s ~jteresco/shared/cs110/examples ~
Now, you will be able to navigate more quickly to the examples, both in DrScheme and in the file manager window.
Next, I would like you to keep your files for this course organized in folders. I expect most of you do this on your own computers anyway. Create a folder in your home folder for each lab, and store all relevant files in that folder.
For your lab assignment this week, you are to construct a new model that makes use of several of the new techniques we have learned to create custom objects: Mesh objects, Prisms, "swept" polygons, Lathe objects, Intersections, and Differences.
You may model any scene you wish, but be sure to continue to construct your model in a hierarchical fashion, grouping primitive objects into components that are, in turn, grouped into complete objects that you place into your scene. Your scene need not be overly complex, but should make an effective demonstration of your ability to create custom objects.
Submit your nicely-formatted and appropriately commented model file as an e-mail attachment to jteresco@mtholyoke.edu. Upload your image to the wiki, and add a new section to your wiki page that includes the image and a brief description of your model.
Note: if your indentation gets messy, you can always select "Reindent All" from the "Scheme" menu in DrScheme to have the system format your code nicely. This will help with readability. Since it's so easy to do, there's no excuse for turning in poorly-formatted models.