Computer Science 112
The Art & Science of Computer Graphics

Spring 2013, The College of Saint Rose

Studio/Lab 8: Programmed Replication
Due: 11:59 PM, Thursday, April 11, 2013


For the next assignment, you are to develop your most complex scene so far. Using the programming techniques we have discussed and will discuss in class, you can develop a scene with replicated components.

Replicated Objects

You may model any scene you wish, but it should have at least one component replicated, with its instances added using one of the programming techniques from our class discussion.

Start by defining the objects that you will use in your scene, whether replicated or single instances. You can work on these even before we have seen all of the replication techniques in class.

As the models become more complex, good code organization and documentation becomes essential. Use constants to define sizes and locations. Continue to develop objects hierarchically. Use plenty of comments. When you use a shared model from a classmate or borrow some code from a class example, be sure to give proper credit in comments in your model.

Caution: another issue that arises as your models become more complex is that rendering times will increase. Please plan ahead! You might consider using a lower image quality when developing your models, increasing it only when you wish to generate final images.

Submission

  1. Email a copy of the source code for your model (the scheme file, which should always be saved with a .scm extension) and your best image (which should always be saved in PNG format and using a .png extension) as attachments to terescoj AT strose.edu. Please include a meaningful subject line (something like "CSC 112 Studio/Lab 8 Submission"). Make sure your name is included in a comment in your model code, and that you have comments throughout the source code to make it easier to understand.
  2. Rename your best image to include your name, then upload it to the wiki. For example, if you generate an image of a clone army and your name is Obi-Wan Kenobi, you might call your image "OWKenobiClones.png".
  3. Add a section to your wiki page named "Programmed Replication" that includes a link to your image and a description of your model that generated the image.

Grading

Your submitted model and image will be graded out of 30 points. Your grade will be based on how well the model meets the requirements, documentation, and presentation on your Wiki page. Documentation (comments) in your submitted Mead model should include your name, the assignment (Studio/Lab 8: Programmed Replication) and a brief description of the model at the top, and descriptions of sections of the model that might not be clear to someone trying to understand it. Your model code should always be nicely formatted. 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.

Grading Breakdown

Programmed replication 18 points
Code organization and style 4 points
Model documentation 4 points
Image and model description on wiki page 4 points