Ricardo Valerio
> SDL OpenGL Tutorial in C
|
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
 |
Covers the setting up and initialization of SDL, creating a basic window.
|
-
2. Preparing SDL for OpenGL, and initializing OpenGL
 |
Covers OpenGL initialization, extra initialization issues on SDL, first touch on drawing.
|
-
3. Creating 3d objects in OpenGL: the principles
 |
Covers some aspects on coordinate system, left handed vs right handed, depth test, backface culling, translation and rotation.
|
-
4. Creating display lists
 |
Creating display lists; creating a railway and a train.
|
-
5. Textures and objects
 |
Introduction to textures, creating a simple environment, with textured furniture.
|
-
6. Introduction to cameras
 |
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
 |
Falling back to chapter 5, we now can look everywhere in our room; Introduction to skybox.
|
|