Computer Science 112
The Art & Science of Computer Graphics

Spring 2016, The College of Saint Rose

Lecture 10: Color Models and Materials
Date: Monday, February 22, 2016


Agenda

Lecture 10 Assignment

Due at the start of class, Wednesday, February 24.

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 10 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(cone, zRot(90)*translate(100,0,0), redPlaster)
    scene.add(cone, translate(100,0,0)*zRot(90), bluePlaster)
    

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

  2. 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)
  3. Fill in the missing entries in the following table. (8 points, 1/2 each)

             HSV         

             RGB               Common Name     
    Blue
    (33, 0, .5)
    (33, .5, 0)
    (0, 1, 0)
    Pink
    (270, 1, 1)
    (1, 1, 0)
    (0.5, 0.5, 0.5)

    Make your best effort to work through this carefully and make sure you understand it when we go over it in class (ask if you don't - you'll be doing yourself and your classmates a favor). You will see this exact kind of question twice more, just with different colors: once on the practice first exam and again on the real first exam.

Terminology

Examples

Links