Pages

Thursday, January 13, 2011

Book Review: Focus on 3D Terrain Programming

Short and to the point, Focus on 3D Terrain Programming by Trent Polack is a good introduction to some of the algorithms used for 3D terrains. The book works well in introducing the simplest forms and growing more and more complex. Starting with a simple brute force algorithm, it covers terrain generation of fractal terrain, geo-mipmapping and culling, creating a quadtree terrain engine, ROAM (Realtime Optimally Adapting Meshes) with some optimizations as well.

Along with the terrain it also covers loading and creating texture files associated with terrain including texture map generation, using detail maps, and light maps.

There are also a few lighting techniques: height based lighting, slope lighting and some simple graphics fx for water, skyboxes and skydomes, particles etc.

This is more of a focused primer, but really the source code is what makes this book really standout. The code is very well commented, and easy to understand, which works handily with the descriptions in the book.

All in all, if you haven't worked with terrains before this is a good starting point, with lots of C++ examples to learn from.

Best of luck building,
Michael Hubbard
http://michaelhubbard.ca

1 comment:

  1. Be sure to check out: http://vterrain.org/ Virtual Terrain Project

    Also the link in the book http://trent.codershq.com/ does not appear to work but I found a newer site at http://www.polycat.net/

    ReplyDelete