Height Map Source Code
Max McGuire released a handy height map class implementation over on the flipCode ftp server. This source code gem is aimed at those who need to load terrain data for their applications. Here's the fuzz from the readme file:
This is a simple height map class I wrote for use in applications needing
terrain data. The code isn't terribly complex, but I thought I might save
some people some trouble by releasing it.
It supports loading Terragen files (http://www.planetside.co.uk/terragen) as well as bilinear interpolation.
If you have any comments or improvements (or bug fixes) please e-mail me. "