Skip to main content

CG Class 7, Thu 2019-09-12

1   Iclicker questions

  1. If you want your javascript program to send a color for each

    vertex to the vertex shader, what type of variable would the color be?

    1. uniform
    2. varying
    3. attribute
    4. dynamic
    5. static
  2. When one neuron in your retina receives a lot of light, that causes the neighboring neuron to

    1. be more likely to fire
    2. be less likely to fire
    3. be unaffected by this neuron.
  3. In the graphics pipeline, the step after rasterizing is the

    1. vertex shader
    2. primitive assembler
    3. fragment shader
    4. tesselation shader
    5. javascript callback
  4. The spectral wavelength of pure purple is about

    1. 400 nm
    2. 500 nm
    3. 600 nm
    4. 700 nm
    5. There is no wavelength for pure purple.
  5. What is your favorite platform/OS?

    1. Windows
    2. Linux
    3. Mac
    4. Android
    5. Other
  6. The carpet is an example of

  1. diffuse reflection
  2. specular reflection
  3. environment mapping
  4. bump mapping
  5. how to save money

2   Text chapter 3 programs

http://homepages.rpi.edu/~frankwr/ECSE-4750/CODE/03/ (corrected)

triangle, cad1 and cad2 are simple interactive drawing programs.