Challenge: Create your first 3D model with Object Capture
June 6, 2021
Object capture provides a quick and easy way to create lifelike 3D models of real-world objects with only a few images. You can capture just about any object to incorporate directly into your apps and games. For this challenge, we’re inviting you to use the new Object Capture Swift API and build your very own 3D model from scratch.
What object you scan is entirely up to you, though we’ve supplied a few themes to get you started:
- Toys and figurines
- Items you only find in nature, like pine cones or leaves
- Items you might only find in a kitchen
Begin the challenge
To help you get started, download our sample iOS app to capture the images of your object.
- You’ll get the best experience when you capture your object on a turntable with your iPhone mounted to a tripod
- If you don’t have a turntable, find a table in your space for your object, then slowly move around it to take photos while maintaining overlap between adjacent images
- No matter how you capture your object, make sure you’re in a well-lit space
Discover more best practices for capturing images of your object in “Create 3D models with Object Capture” from WWDC21.
Once you’ve taken photographs of the item, collect them into a folder on your Mac. Then open the HelloPhotogrammetry macOS app from "Creating a Photogrammetry Command-Line App", add your folder of images, and the app will transform them into a fully-functioning 3D model.
After your 3D model is complete, export your creation to a .usdz file and preview it with AR Quick Look. Want to share what you’ve made with the community? Post a link to your model in the Developer Forums.