Computer Science 112
The Art & Science of Computer Graphics

Spring 2013, The College of Saint Rose

Studio/Lab 3: Working with Custom Objects
Due: 11:59 PM, Tuesday, February 12, 2013


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, polygons constructed by a sweep, Lathe objects, Intersections, Differences, and extruded objects.

Getting Organized

Before you start work on this week's lab, get your computer account better organized. 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 network storage folder (the "SAN2" or "SAN4" volume) for your course work, and a folder there for each lab in which you can store all relevant files for each lab.

Lab Assignment

You may model any scene you wish, but you must use at least three different custom object techniques to create objects in your scene. We have learned these techniques: Mesh, Prism, sweep, Lathe, Intersection, Difference, and extrude.

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. Define named constants that represent the sizes and positions of your objects as we saw in the ski race gate and other examples.

Your scene need not be overly complex, but should make an effective demonstration of your ability to create custom objects that would have been difficult if not impossible to model using only the primitive object types.

Include which three (or more) of the custom object types you are using as part of the comment at the top of your model. For each of these 3, provide a more detailed comment describing it and how you generated it in the model code where you create it.

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 3 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 rocket and your name is Buzz Lightyear, you might call your image "BuzzLightyearRocket.png".
  3. Add a section to your wiki page named "Working with Custom Objects" 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 20 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 3: Working with Custom Objects) 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

Using at least 3 custom object types 6 points
Appropriate grouping and hierarchy 6 points
Using defined constants and named components 2 points
Model documentation and formatting 2 points
Image on wiki page 2 points
Model description on wiki page 2 points