Casus Belli is a 3D fight flight simulation written for the CS248 course at Stanford University. The goal of the game is to shoot down all of your enemies before they shoot you.
The interesting thing about this game is not so much its compelling game play, but rather the following (in no special order):
- It is the proof that a 3D realtime multiplayer action game can be written without C/C++. In fact, the game is entirely written in FreePascal!
- It is a testcase for a number of advanced computer graphics algorithms:
- object space bump mapping
- sphere mapping
- realtime shadows using the stencil buffer (called "Carmack's reverse")
- automatic mesh simplification with edge collapsing
- automatic normal generation for modells with sharp edges
- level of detail for the terrain rendering (admittedly, it's a brute force approach to LOD)
- animated water by solving a pde numerically
- It puts all of that together while delivering high performance (that is, around 60 frames per second).
Here are some screenshots from the game:
If you want to download it, here (around 7 MB) you are! If you want to compile it or even port it to some other environment, this is going to be tough if you don't have FreePascal experience!
The zip-file includes:
- complete source-code (FreePascal)
- a README
- binary files for linux
- some of necessary libraries (OpenAL, OpenNL)
- at least a GeForce3-equivalent graphics card
If you need help or want information about any of the algorithms, feel free to contact me.
My contact information: