Fix heightmap to work with patches.  Tiling heightmap.  Visualize patches.