Friday, September 14, 2007

Brute Force

Basically,if you have a heightmap of 64 × 64 pixels, then the terrain, when rendered using brute force, consists of 64 × 64 vertices, in a regular repeating pattern

A 5 × 5 patch of brute force terrain vertices.

we will be rendering each row of vertices as a triangle strip. The color for the vertex will be based on its height, so all vertices will be shades of gray.

No comments: