CS 455 Lecture 3 – Color, Uniforms, and Geometry
Color and Uniforms
- 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.
The good ones keyframe.
So-so ones tween. And the rest?
They slip ‘tween the cracks.