title: Need help on creating triangle mesh from height map (JavaFX)
body: <p>I have a program that generates a height map (2D array of integers from 0-255) and builds a 3D view using a Shape3D "Box" object for each 'pixel' with a height proportional to its value in the height map. This creates a boxy-looking terrain that looks cool. My program also creates a corresponding "Color map" to map what color each box in the terrain should be.</p>
  
  <p>I want to be able to also turn this height map into a mesh that can be textured using the color map.</p>
  
  <p>2D Height and color map
  <img src="https://i.imgur.com/8rF9BXu.png" alt="2D Height and color map"></p>
  
  <p>Colored triangle mesh created from height map and color map
  <img src="https://i.imgur.com/jXi2aVc.png" alt="Desired mesh with colorsp"></p>
  
  <p>(These are images I grabbed off google)</p>