generate terrain from heightmap