CG Class 7, Thu 2019-09-12
Table of contents
1 Iclicker questions
-
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?
- uniform
- varying
- attribute
- dynamic
- static
-
When one neuron in your retina receives a lot of light, that causes the neighboring neuron to
- be more likely to fire
- be less likely to fire
- be unaffected by this neuron.
-
In the graphics pipeline, the step after rasterizing is the
- vertex shader
- primitive assembler
- fragment shader
- tesselation shader
- javascript callback
-
The spectral wavelength of pure purple is about
- 400 nm
- 500 nm
- 600 nm
- 700 nm
- There is no wavelength for pure purple.
-
What is your favorite platform/OS?
- Windows
- Linux
- Mac
- Android
- Other
-
The carpet is an example of
- diffuse reflection
- specular reflection
- environment mapping
- bump mapping
- 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.