Add the possibility to generate surfaces from triangles.