Please read the standard instructions for all assignments.
The goal of this assignment is to gain experience in working with materials and lighting. It’s not primarily about geometry, though there are some new things here, such as using the inside of a cube. It’s also not about cameras, so feel free to use
Here’s the goal, a room with a light fixture in it that I’m calling a “sconce”:
See the standalone version here, which is what your solution should look like.
I give you the model solution to clarify what I’m looking for. I expect that you will not try to reverse-engineer the solution. I have made it difficult (so you won’t accidentally see the solution), but it would not be impossible. Please don’t try.
Write your own program that mimics this scene:
specularcolors are all shades of gray.
Lightclass is a subclass of the
Object3Dclass, which has a property named
visiblethat is a boolean that controls whether or not an object is rendered.)
Submit the URL to your pen via the dropbox on blackboard. Do not change your code after the deadline.
Grading will be broken down into two parts, basic functionality and style and documentation
|Basic functionality (80%)|
|a good start||50|
|Style and documentation (20%)|
Grading of the basic functionality will be in terms of the following requirements:
This page is based on https://cs.wellesley.edu/~cs307/assignments/hwk4-sconce.html. Copyright © Scott D. Anderson. This work is licensed under a Creative Commons License.