Load mesh from file (after i save it)


Is there an option to load mesh from file ?

After reconstruction, im saving the mesh for example(from the sample):
Mesh m;
ok = reconstruction->getMesh(&m);
if (ok) {

  • bool a = m.save(“c:/mesh.ply”, Mesh::PLY);*

Can i after that in a different session, to get Mesh object from file ?
for example:

Mesh m;
m->load(“c:/mesh.ply”, Mesh::PLY);



no, current SDK supports only saving. You can use some other third-party library to load the mesh data and build a mesh itself using Mesh::create

Best regards,

1 Like