Construct 3d meshes from a series of images using 3d constraints