Computer Science 112
The Art & Science of Computer Graphics

Spring 2016, The College of Saint Rose

Lecture 11: Color Models and Materials
Date: Wednesday, February 24, 2016


Agenda

Lecture 11 Assignment

Due at the start of class, Monday, February 29.

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 11 Assignment, Mary Smith). We will discuss these questions at the start of class, so no late submissions are accepted.

  1. (6 points) As part of ongoing review for the first exam (still about a month away), draw the view from the standard camera position of the objects below on these axes. Each "graph paper" square represents a 25 ×25 region of space.
    scene.add(cylinder, scale(.5)*xRot(90)*translate(0,100,0), greenPlaster)
    scene.add(cylinder, translate(0,100,0)*xRot(90)*scale(.5), blackPlaster)
    

    Note: a printable PDF copy of the blank axes is here.

  2. Recall our recent example:

    On the Wiki: MaterialsPlayroom, Downloadable file: MaterialsPlayroom.py

    Add some mirrors to the walls of this example. In particular, you should have an 800 ×800 mirror on the back wall and on each side wall. You can make a mirror by creating a cube, scale it to be 800 ×800 in two of the dimensions and very thin in the other, then applying the built-in mirrorMat material to it. (6 points)

  3. Create custom materials for a pink plaster, a dark blue plastic, and a brown shiny material, and use each as the materials for objects in a simple scene. Set the objects on a large, white plaster surface. (8 points)

Terminology

Examples

Links