tiff to 3d mesh generation.

Use the x and y values to float the 2d image,

Here we want to form a mesh using GL_LINES by taking the z value corresponding to each x, y value separately.

I have finished printing 2d images using (x, y) GL_POINTS.

if not, Can you mix GL_POINTS and GL_LINES to print one image?