CS 455 Lecture 3 – Color, Uniforms, and Geometry
January 29, 2013 by Chris Johnson. Filed under cs455, lectures, spring 2013.
Before class
Color and Uniforms
Geometry
In class
- Make sure your renderer from last time is working.
- Generate a flat ring (a circle with a smaller concentric circle punched out)without repeating any position attributes. Add a color attribute at each vertex, giving some variation. [It’d be good to do all this in a new renderer, a subclass of BaseRenderer, but this may not be the best use of your time. (See Adding Executables under Visual Studio, CMake, and OpenGL.)]
If you finish early, try some other geometry: a cube, a cylinder, a cone, etc.
Haiku
The good ones keyframe.
So-so ones tween. And the rest?
They slip ‘tween the cracks.
Comments