Terrain

  • 1. Terrain Class
    Terrain is one of those things that so far, hasn't been perfectly recreated in computer graphics. But it is almost there! Looking over a beautiful landscape can be one of the most amazing feelings in the world. And is probably my inspiration for these tutorials.
  • 2. Terrain Loading
    We have a basic class setup to hold our terrain, so now lets load in some data for us to display.
  • 3. Terrain Rendering
    The moment we have been waiting for. Lets finally get something drawing out to our window. Even if it doesn't look like we would expect 🙂
  • 4. Terrain Triangle Strips
    We have a basic class setup to hold our terrain, so now lets load in some data for us to display.
  • 5. Terrain Textures
    Textures are going to be what make and break this terrain. A nice looking tutorial, and you will be seeing grass, mud, rocks and sand, but a bad texture and you will see just a bunch of colors. Lets add a nice texture to our terrain shall we?
  • 6. Terrain Vertex Buffer Objects
    Vertex Buffer Objects are used to store vertices, their indices and other information on the graphics card, for OpenGL to access directly. They are extremely fast and effecient, and are meant to supersede Display Lists. So lets use them for our terrain!
  • 7. Terrain Level Of Detail
    Level of Detail is a means of decreasing the polygon count of an object to gain a speed boost in your application. This is an extremely simple take on this, which simply draws every fourth vertex. The best part is, that on such a large terrain, you don't even notice this.