# tutorial, Page 2

## 3. Maths Lines

Lines, who doesn't love lines. They start at one point and end at another. In fact, lines are essential. What makes up a triangle? 3 lines. How do we draw a circle? A lot of lines. Knowing about them would be a good idea :)

## 2. Maths Pythagoras Theorem

Pythagoras theorem is essential if you are doing anything that involves triangles. One of the building blocks of mathematics.

## 1. Maths Distance Formula

The distance formula is one of the first things you learn once you get into maths. It is fundamental, especially when it comes to collision in computer games.

## 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.

## 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!

## 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?

## 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.

## 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 :)