HelloPhotogrammetry RealityKit with 3D Fractals ?

Hi,

I’m having trouble creating a model from a digitally rendered image, in this case a 3D fractal from Mandelbulber. For a start is this API and example CLI app the most up to date way of doing this ? I also followed these instructions.. Here’s an example of the image I’m using:

Overlap is high with only a few degrees between each image, yet I get errors (see below).

Any ideas ? Do I need a background behind the object ? Does the util require depth info that the iPhone camera produces ? AFAIK the Apple docs say depth is optional. Cheers.

2023-01-30 10:18:39.924655+0000 HelloPhotogrammetry[4778:261707] ERROR cv3dapi.pg: Internal error codes (1): 4011

2023-01-30 10:18:39.924716+0000 HelloPhotogrammetry[4778:261711] [HelloPhotogrammetry] Progress(request = modelFile(url: file:///Users/michaelzfreeman/Temp/output.usdz, detail: RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil) = 1.000000

2023-01-30 10:18:39.926344+0000 HelloPhotogrammetry[4778:261707] [Photogrammetry] No SfM map found in native output!

2023-01-30 10:18:39.926389+0000 HelloPhotogrammetry[4778:261707] [Photogrammetry] Reconstruction failure for modelFile(url: file:///Users/michaelzfreeman/Temp/output.usdz, detail: RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil)

2023-01-30 10:18:39.927370+0000 HelloPhotogrammetry[4778:261707] [Photogrammetry] Got error in completion: reconstructionFailed(RealityFoundation.PhotogrammetrySession.Request.modelFile(url: file:///Users/michaelzfreeman/Temp/output.usdz, detail: RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil), "Camera alignment failed -- ensure that there is sufficient overlap between the images.")

2023-01-30 10:18:39.928303+0000 HelloPhotogrammetry[4778:261711] [HelloPhotogrammetry] Request modelFile(url: file:///Users/michaelzfreeman/Temp/output.usdz, detail: RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil) had an error: reconstructionFailed("Camera alignment failed -- ensure that there is sufficient overlap between the images.")

2023-01-30 10:18:39.928961+0000 HelloPhotogrammetry[4778:261711] [HelloPhotogrammetry] Processing is complete!

Program ended with exit code: 0

Fixed. It was something to do with that fractal that Apple Object Capture did not like.

HelloPhotogrammetry RealityKit with 3D Fractals ?
 
 
Q