I am trying to make this to work but after building the command line app, I kept getting error when running https://developer.apple.com/documentation/realitykit/creating_a_photogrammetry_command-line_app
Example error:
jimmygunawan@192-168-1-112 Debug % ./HelloPhotogrammetry -d full /Users/jimmygunawan/Downloads/_APPLESCAN/test ~/Desktop/output.usdz
Using configuration: Configuration(isObjectMaskingEnabled: true, sampleOverlap: RealityFoundation.PhotogrammetrySession.Configuration.SampleOverlap.normal, sampleOrdering: RealityFoundation.PhotogrammetrySession.Configuration.SampleOrdering.unordered, featureSensitivity: RealityFoundation.PhotogrammetrySession.Configuration.FeatureSensitivity.normal)
Error creating session: cantCreateSession("Native session create failed: CPGReturn(rawValue: -11)")
jimmygunawan@192-168-1-112 Debug %
RealityKit is cool, but I wonder why this RealityCapture can't just be an app (on Mac and iPad and iPhone) like RealityComposer.