Post

Replies

Boosts

Views

Activity

Reply to How to run Object Capture App?
I'm just gonna take it all from the beginning: Check that your computer is capable of running the app. The first I tried to run it on (a 13" MacBook Pro from 2016) wasn't strong enough. I'm not sure of the details, but remember reading somewhere that it requires 4GB vram. Update MacOS to Monterey with your Apple Developer account from here: https://developer.apple.com/download/ Download XCode 13.0 Beta from here as well: https://developer.apple.com/download/ Download the Photogrammetry example app from here and unzip it: https://developer.apple.com/documentation/realitykit/creating_a_photogrammetry_command-line_app Open the HelloPhotogrammetry.xcodeproj file using XCode 13.0 Beta (Wait for it to finish indexing the project) In the menu bar, select Product > Scheme > Edit Scheme Select Run in the left sidebar, and in the main area under "Aruments passed at launch" fill in 3 lines: /Users/YOURUSER/Desktop/FOLDERWITHPHOTOS /Users/YOURUSER/Desktop/OUTPUTNAME.usdz -d reduced Close the scheme settings and press the play button at the top of XCode You should see the console output the process. Notice that now and then it outputs this part: Progress(request = modelFile(url: file:///Users/YOURUSER/Desktop/OUTPUTNAME.usdz, detail: RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil) = 0.156666666865348816 That last decimal is actually the current processing status. When it reaches 1.0 your model is complete and will automatically be saved. For different qualities use different detail settings: -d preview -d reduced -d medium -d full -d raw
Topic: Graphics & Games SubTopic: General Tags:
Jun ’21
Reply to How to run Object Capture App?
@domainxh I ran into the same problem as you. Have only tried -full once, but it also failed. created a post for it here: https://developer.apple.com/forums/thread/682259
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to How to run Object Capture App?
cantCreateSession("Native session create failed: CPGReturn(rawValue: -11)") This error seems to mean, that your hardware isn't supported
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Unable to run the object capture command line tool
I made a detailed explanation of how to run it in XCode, if you need it How to run Object Capture App?
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to How to run Object Capture App?
I'm just gonna take it all from the beginning: Check that your computer is capable of running the app. The first I tried to run it on (a 13" MacBook Pro from 2016) wasn't strong enough. I'm not sure of the details, but remember reading somewhere that it requires 4GB vram. Update MacOS to Monterey with your Apple Developer account from here: https://developer.apple.com/download/ Download XCode 13.0 Beta from here as well: https://developer.apple.com/download/ Download the Photogrammetry example app from here and unzip it: https://developer.apple.com/documentation/realitykit/creating_a_photogrammetry_command-line_app Open the HelloPhotogrammetry.xcodeproj file using XCode 13.0 Beta (Wait for it to finish indexing the project) In the menu bar, select Product > Scheme > Edit Scheme Select Run in the left sidebar, and in the main area under "Aruments passed at launch" fill in 3 lines: /Users/YOURUSER/Desktop/FOLDERWITHPHOTOS /Users/YOURUSER/Desktop/OUTPUTNAME.usdz -d reduced Close the scheme settings and press the play button at the top of XCode You should see the console output the process. Notice that now and then it outputs this part: Progress(request = modelFile(url: file:///Users/YOURUSER/Desktop/OUTPUTNAME.usdz, detail: RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil) = 0.156666666865348816 That last decimal is actually the current processing status. When it reaches 1.0 your model is complete and will automatically be saved. For different qualities use different detail settings: -d preview -d reduced -d medium -d full -d raw
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21