Terrain Library

Example Terrain 1

This library was developed during my final year at the University of Teesside for my Practical Project module as part of my Computer Games Programming degree.

The Project

The result of this project was a terrain library that used C++, DirectX9 and HLSL (High Level Shading Language) to allow the creation and texturing of terrain through the use of a series of procedural algorithms.

The main features of the library are:

  • Create and render terrain.
  • Alter a terrain through the use of algorithms.
  • Texture a terrain through the use of a colourmap or algorithms.
  • Real time lighting.
  • Simple flat water.
  • Query the height of the terrain at any given x,z coordinate.

The Algorithms

Five terrain generation algorithms were created for use in this project, descriptions and examples of each can be found on the terrain algorithms page.

Screenshots

Example Terrain 1
Example Terrain 2
Example Terrain 3

Videos

Real Time Lighting

If for any reason the video fails to play please use this direct link to see the video on youtube.

Real Time Terrain Alteration Using Algorithms

If for any reason the video fails to play please use this direct link to see the video on youtube.

Terrain Following

If for any reason the video fails to play please use this direct link to see the video on youtube.

Jul29

Leave a Reply