Below, you will find the code for the example programs included with the book. The code is currently provided as a single .zip file, but we'll soon provide one .zip file per chapter so that you can just download updates. If you do not download the entire archive (which is recommended), you will need to be sure to download the _common files and place them at the same directory level as the chapter directories in order to compile correctly.
Some of the demos are currently in a rough state (i.e. you may have trouble building/running them), but we have uploaded them to avoid hindering the readers in anyway. As we clean them up, they'll be posted here, and you can check the history to see what has changed.
It is our plan to make all demos available in multiple versions, including:
- Win32-based, with both VS6 and VS.NET project files
- SDL-based, with both VS6 and VS.NET project files
- SDL-based for Linux
These versions will be made available as separate downloads as soon as they are ready. At the present time, the demos contain a mix of the above.
Updates
- 11/30/05 - Cleaned up Chapter 1 demos, and added several missing demos from Chapter 5. Both are available as separate downloads.
- 11/17/05 - Uploaded initial version of most of the demos
Code
All demos take advantage of GLee for extension management, and are build on a common application framework for convenience. Some of the demos require advanced graphics features that may not be supported on older hardware.
If you are having problems with any of the demos, please post in the GameDev.net OpenGL forum (which many of the authors frequent) or contact dave@gamedev.net.
Note: Some of the demos require MSVCR71D.dll to run. If you don't already have this on your system, it can be found in several of the directories. You just need to copy it to your Windows/System32 directory.
Download the entire code archive here (57 MB).
Chapters
|