Tried the changed content I posted above? I changed the vertex order to be counterclockwise for both triangles. In the original .obj-file it the first was counterclockwise and the second clockwise. If opengl automatically generates normals, they would point in opposite directions if the vertex order is not the same for both triangles.
Yes, thanks, this was the trick.
Now, my converter creates the obj files like that:
MNTbis.obj (DEM)
v 0.0 0.0 10.0
v 5.0 0.0 20.0
v 40.0 5.0 20.0
f 1 2 3
v 0.0 0.0 10.0
v 30.0 10.0 20.0
v 40.0 5.0 20.0
f 6 5 4
v 0.0 0.0 10.0
v 30.0 10.0 20.0
v 25.0 15.0 20.0
f 7 8 9
...
It's better but still not perfect as you can see on the screenshots.
I've still few black triangles, I don't know why.

It's probably the obj i create that is not good.
