Challenge: Create your first 3D model with Object Capture

Symbol signifying a camera focusing on an object that looks like a cube

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.

Taking Pictures for 3D Object Capture

Some tips:

  • 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.

  • WWDC21

Create 3D models with Object Capture

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.

Creating a Photogrammetry Command-Line App

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.

Resources

Visit the Apple Developer Forums

Read the WWDC21 Challenges Terms and Conditions