Computer Science 112
The Art & Science of Computer Graphics
Fall 2015, The College of Saint Rose
Lecture 9: Custom Objects
Date: Wednesday, September 30, 2015
Utah Teapot at the St. Louis Science Center, July 2012.
Agenda
- Announcements
- Friday's class is open lab time. I will be at a conference
with limited availability. You are encouraged to come make
progress on your work for the class, but this is not required.
- Ambrosia and Python are now available on (almost) all of the
Lima Lab Macs, and the Macs in the Commuter Lounge. Further
rollouts will continue this week.
- Lecture 8 assignment recap
- In-class Exercise 9 - (10 lecture assignment
points) due before the end of class.
We will work together on a new model that makes use of many of custom
objects we have been learning. Work along to create your own model
(can be a variation on the class version, but could be exactly the
same).
Please demonstrate your program or
submit only your model file by email before you leave class. Email submissions should use a meaningful
subject line, clearly indicating the course number and assignment
name.
Lecture 9 Assignment
Due at the start of class, Wednesday, October 7.
Please submit answers to these questions
either as a hard copy (typeset or handwritten are OK) or by email to
terescoj AT strose.edu by the start of class. Please use a clear subject line
when submitting by email (e.g., CSC 112 Lecture
9 Assignment , Joe Student). We will discuss these
questions at the start of class, so no late submissions are
accepted.
- Create an Ambrosia definition for a lamp shade similar to the
one on the lamp below by using a sweep. You need not run this in
Python/Ambrosia or generate an image, but you may do so if you
wish.
You need only create the lamp shade, but you are welcome to develop
the entire scene. (6 points)
- Modify the "cups" example from class to use a Spindle to
represent the cup object instead of a Difference.
You need not run this in
Python/Ambrosia or generate an image, but you may do so if you
wish. (6 points)
Examples
The example we develop in class will be linked from this space.
Links