View Full Version : Function to render a flat 2D mesh

01-14-2011, 06:45 PM
I am in need of one.

I have a heightmap texture loaded in from a text file and now i need to render a 2D mesh.

Can anyone help. Im not very good with OpenGL, so if you could, could you go over loading a heightmap as well so i can see if i'm on the right track?

Thanks a lot.

01-15-2011, 04:08 AM
Perhaps this is what u r looking for http://www.lighthouse3d.com/opengl/terrain/