i have test this
dev.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, verts.Length, 0, indices.Length/3);
indices.length = 726 / 3 = 242 (is not the correct number of faces)
so i have try this :
dev.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, verts.Length, 0, divs * divs * 2);
verts.length = 144
where div = 10 (number of face) in horizontale, the same for the vertical and there are 2 triangles in each face.
both work on my pc in SoftwareVertexProcessing
but on one other pc : portable (S3 Graphics PROSavage DDR) it's not working good
it drawing the alf of the faces and all last point (of the alf of point) return to the origine. it's difficult to explain
the final goal is to render a terrain, we decide the number of divisions (divs) and i create the vb and ib, but DrawIndexedPrimitives give me errors or not the good result in SoftwareVertexProcessing.