Added a method to support converting a randomly generated terrain into an image-based heightmap, and show that heightmap in the demo viewer