
A lot of newer games are improving their realism by adding real-time dynamic lighting. This demo shows some of the results of my experimentation with shadow volumes. (It also uses my newest skin and bone animation formats.) The scene contains a rotating torus and an animating character, which can be modified by editing the 'game.cfg' file. The frame rate is locked at a third of your computer's refresh rate.
The upper right corner shows your display's refresh rate, the frames per second, and the number of times your computer has failed to achieve the ideal frame rate (misses).
You need DirectX 9 for this demo. Your card must also support vertex shaders. (Both the shadow volumes and skin are manipulated using vertex shaders.) Unfortunately, I can't guarantee that the demo will run properly on your computer because the demo uses a lot of advanced features of Direct 3D. Of course, it runs fine on my own card, which is an ATI Radeon 9700, so it will probably also run fine on other advanced cards.
1) Use the arrow keys to rotate the camera view. (The up direction is locked, so you will notice jumping if you move the view directly above or below the scene.)
2) Press the 'L' key to toggle the light map view mode on and off. This mode removes the textures, which makes it easier to enjoy the subtleties of the dynamic lighting.
3) Edit the 'game.cfg' file to change the skin or animation. The available options are in the file's comments.
The software has minimal error checking, so it will fail if any of the files are missing, or the hardware or drivers are unsupported.