Singapore Grand Prix

The scene does not feature any sky texture, though the sky sphere technique has been applied. The ground terrain was created by generating an array of height values, then picking a random point, perturbing it by a random height value, and adjusting some range of surrounding points to about the same value. The result is a terrain filled with plateaux and flat bottomed pools. A one dimensional texture is applied vertically to give some appearance of pools, greenery, etc. The texture applied to it can be modified by editing colours.txt. The first two values are integers representing the number of values, and the number of components in each value. The number of values should be a power of 2, but if it is not, it will be rounded down to the nearest power of 2. Number of components should be in the range [1,4] and will be clipped of it falls outside of this. All subsequent values are floating point and should be in the range [0.0,1.0]. This idea actually came by way of a NeHe tutorial on Cel-shading by Sami "MENTAL" Hamlaoui.

Keys used in the program are:

For the movement keys, holding down <SHIFT> allows for faster movement/acceleration. In addition, the mouse may be used to pan/tilt the camera by clicking and dragging.

Download the program and source code(358KB, 7-Zipped into a self-extracting executable)Please rename the file to .exe as stupid Geocities policy dictates that only certain file extensions are allowed.

Back to Games Page

Hosted by www.Geocities.ws

1