ehmdjii
01-08-2004, 09:23 PM
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:
http://www.embege.com/misc/bad_hf.jpg
the problem is that there is a certain orientation of the polygons which shouldnt be there.
thanks!
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:
http://www.embege.com/misc/bad_hf.jpg
the problem is that there is a certain orientation of the polygons which shouldnt be there.
thanks!
