Computer Science 112
The Art & Science of Computer Graphics

Fall 2015, The College of Saint Rose

Lecture 7: More Constructive Solid Geometry
Date: Wednesday, September 23, 2015


Lecture 7 Assignment

Due at the start of class, Friday, September 25.

Please submit answers to these questions either as a hard copy (typeset or handwritten are OK) or by email to terescoj AT by the start of class. Please use a clear subject line when submitting by email (e.g., CSC 112 Lecture 7 Assignment , Joe Student). We will discuss these questions at the start of class, so no late submissions are accepted.

Fill in the following definition. You need not run this in Python/Ambrosia or generate an image, but you may do so if you wish. The result is to be a standard (100x100x100) cylinder with a square 10x10 hole aligned along the z-axis, penetrating all the way through the cylinder. (6 points)

# construct the object
puncturedCylinder = 
# add items to the object

# after this, we could use a puncturedCylinder, for example:
scene.add(puncturedCylinder, bluePlaster)