Ricardo Valério
Computer Science student at Faculty of Science
University of Oporto
Valid XHTML 1.0 Transitional Valid CSS!

SDL OpenGL Tutorial in C

I have been preparing for some time a small tutorial on 3d programming, using SDL and OpenGL in C. It´s a work in progress, but the first three chapters have the source code complete, but need rearregement for better understand of the user, and documentation. If you would like to suggest a chapter, please e-mail me, ricardo.valerio [at] gmail [dot] com.

Planned chapters

  • 1. Initializing SDL
    SDL tutorial chapter 1 image Covers the setting up and initialization of SDL, creating a basic window.
  • 2. Preparing SDL for OpenGL, and initializing OpenGL
    SDL tutorial chapter 2 image Covers OpenGL initialization, extra initialization issues on SDL, first touch on drawing.
  • 3. Creating 3d objects in OpenGL: the principles
    SDL tutorial chapter 3 image Covers some aspects on coordinate system, left handed vs right handed, depth test, backface culling, translation and rotation.
  • 4. Creating display lists
    SDL tutorial chapter in progress Creating display lists; creating a railway and a train.
  • 5. Textures and objects
    SDL tutorial chapter in progress Introduction to textures, creating a simple environment, with textured furniture.
  • 6. Introduction to cameras
    SDL tutorial chapter in progress Creating a simple camera, so we can observe the world in all directions.
  • 7. Creating a simple world: recap on chapter 5, with a skybox
    SDL tutorial chapter in progress Falling back to chapter 5, we now can look everywhere in our room; Introduction to skybox.


® Copyright 2007 Ricardo Valério