Construct triangle mesh with nv vertices, and optional normals, colors, and texture coordinates, and surface material.