Computer Science 112
The Art & Science of Computer Graphics
Fall 2015, The College of Saint Rose
Studio/Lab 3: Names and Groups
Due: 11:59 PM, Thursday, September 24, 2015
Your task this week to develop and render another simple Ambrosia
model. It still does not need to be overly complex, but should be
more substantial than your first.
Procedure and Model Requirements
You may model any scene you wish, but be sure that it meets these requirements:
- Your model should include at least one repeated component (like
the eyes of our snowman).
- Your model should be constructed of several named parts (e.g.,
eye). As in the "snowmen" example, your components should be
oriented to make their use easier in models. In the SnowMan model,
each snowman is initially defined to be sitting with with its base
centered at the origin and is oriented along the positive y-axis.
- Your model should include at least two light sources.
Experiment with this - try different numbers of light sources,
intensities, and positions.
When you are happy with your scene and lighting, experiment with image
quality. It is normally 8, but setting it to 10 will generate a
higher quality image, at the cost of some extra rendering time. You
can set it with
image.quality(10)
before your camera generates its image.
Submitting
- Email a copy of the source code
for your Ambrosia model (the Python file, which should always be saved
with a .py 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.
- Rename your best image to include your name, then upload it
to the wiki. For example, if you generate an image of three barstools
and your name is Draco Malfoy, you might call your image
"MalfoyStools.png".
- Add a section to your wiki page named "Names and Groups"
that includes a link to your image and a description of your
model that generated the image.
Grading
This assignment is worth 20 points, which are distributed as follows:
>
Feature | Value | Score |
at least one repeated component | 4 | |
using several named parts | 8 | |
light sources | 2 | |
In-code documentation (comments) | 2 | |
Image uploaded to Wiki | 1 | |
New section on Wiki page with brief description | 2 | |
Emailed source code (Python/Ambrosia model) | 1 | |
Total | 20 | |
|