Generating triangles from a square grid

Posted by vivi on Game Development See other posts from Game Development or by vivi
Published on 2012-12-06T06:27:34Z Indexed on 2012/12/06 17:23 UTC
Read the original article Hit count: 252

Filed under:
|
|
|

I have a 2D square grid of values representing terrain elevations, and I want to generate triangles from that grid to make a 3D view of the terrain. My first thought was to split each square diagonally into 2 triangles, however the split diagonal can clearly be seen, especially from the top :

[Sorry, as a new user I can't post images, please see here : imgur]

Is there a recommended way to generate triangles to remove/reduce this effect ?

© Game Development or respective owner

Related posts about opengl

Related posts about terrain