generates point cloud from N images