© Wallace Wang 2018
Wallace WangBeginning ARKit for iPhone and iPadhttps://doi.org/10.1007/978-1-4842-4102-8_4

4. Working with Shapes

Wallace Wang1 
San Diego, CA, USA

In the previous chapter, we used a debugging option that allowed our augmented reality app to display the world origin, which showed the x-, y-, and z-axes based on the iOS device’s current location. Based on this world origin, we can place virtual objects in the augmented reality view by defining its x, y, and z coordinates.

ARKit offers another debugging option, called feature points. Like the world origin, you’ll only use feature points to debug your app. When it’s time to ship your app, you’ll remove both the world origin and feature points from appearing.

To make feature points ...

Get Beginning ARKit for iPhone and iPad: Augmented Reality App Development for iOS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.