hello,
what would be the best way to draw a heightfield with OpenGl?
normally you have the data in a two-dimensional array.
i tried it with GL_QUADS and GL_TRIANGLE_STRIPS but the outcome is a little strange as you can see in this screenshot:

the problem is that there is a certain orientation of the polygons which shouldnt be there.
thanks!