Legacy OpenGL

An introduction to rendering apis



Description

The goal of this project was to learn about OpenGL Legacy (before 3.3).
This includes 4 sub projects:

  • getting used to basics with 2D shapes, with interpolations
  • upgrading to 3D, with lighting and transforms, and textures
  • making Minecraft (because… why not)
  • making a Tower Game

Tools

Programming:

  • OpenGL 3.1

My work

Programming:

  • Generating 2D polygons and circles
  • Generating 3D cones and spheres
  • Making object and camera transformations
  • Putting textures on objects
  • Generating chunks
  • Camera movements
  • Phong lighting model (by vertex)
  • Directional light, Point light, Spot light