Landscape.js
This is a landscape engine, specifically a height field renderer, similar to the one in the old PC game Comanche Maximum Overkill. It lets you see an area around the town Cudgewa in Australia using height data I got from the University of Melbourne (here). The colour information comes from Google Maps.
Because this is a fixed area of land and the edges wrap around, you might see some odd features along the boundaries.
There's a really good description of a voxel landscape renderer here:
[www.codermind.com] "Voxel terrain engine"
I'm not traversing the height map the same way as the renderer in the article, I'm doing a form of ray-casting. I've got some notes and I'll write up an explanation if there is any interest. Launch
Published on: 15/02/2011