teaching machines

CS 455 Lecture 3 – Color, Uniforms, and Geometry

Before class

Color and Uniforms

Geometry

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.

Haiku

The good ones keyframe.
So-so ones tween. And the rest?
They slip ‘tween the cracks.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *