Multi-resolution representation of terrains