teaching machines

CS 455 Lecture 3 – Color, Uniforms, and Geometry

January 29, 2013 by . Filed under cs455, lectures, spring 2013.

Before class

Color and Uniforms


In class

  1. Make sure your renderer from last time is working.
  2. 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.