Get started with ARKit - a little exercise for beginners

Overview

Get started with ARKit

Welcome to the absolute guide to ARKit! No matter what prior knowledge about 3D programming, Swift coding or iOS platform wisdom you have - this collection of lections will get you started!

What's inside?

The whole guide is structured in a couple of sections from which you can choose to dive into the topic of augmented reality coding. You can either start from the beginning and go till the end of just jump in where you feed comfortable with your knowledge. The following list shall show you the principle path through the guide if you want to do it all :)

  1. SwiftStarter.playground

    This playground consists of a four sections which guide you through the very basics of the language. It will teach you what variables are, how you calculate, how you structure your code, how you can bundle values in collections and give you a rough idea what inheritance is and why you need to know about it - at least need to have heard about it. Do all the exercises in the "My Level..." pages and if you get stuck take a sneak peek into the "Level ..." pages where all the solutions are placed for you.

  2. iOS Starters

    This section will give you a first overview of the iOS platform and how it works internally. It teaches you the most important things you need to know in the context of using iOS for coding with ARKit. So don't expect a full blown iOS tutorial here. It's really a crash course on what an UIViewController is, what UINavigationControllers are for, how you manage the navigation stack and how to deal with the basic UI controls like buttons, labels and textviews. You will even get a basic introduction into handling constraints - yey :D

  3. SceneKit Starters

    Before getting into augmented reality coding we will first have a look at 3D coding itself. ARKit can be used with 2D and 3D content, but we will focus on dealing with 3D stuff through this whole guide. The three lessons in this section will show you how to deal with the SceneEditor, locate elements, use particle systems and deal with element hierarchies. Additionally you will have the chance to do everything you created in the SceneEditor in code also. This is important to see how you can create 3D elements and behaviour in code which is quite convenient for a lot of use cases.

  4. AR Starters

    Now it's time to get augmented :D This section covers four lessons from initialising an ARSession, placing 3D models on touch interaction, getting and using light information and dealing with errors the session might throw. As a nice round up we will create our own little AR measuring feature where we place two points (aka spheres) in the room and measure the distance between the two of them.

  5. AR Advanced

    As we are fit for more AR we will dive deeper and use specific features from ARKit like horizontal and vertical plane detection. And as everything looks nicer and more realistic with cast shadows we will play around with them also. To get an idea of what occlusion means in terms of ARKit we will build our own hole in the floor and additionally reconstruct the Game of Thrones "Moon Door" - yes, we will! And after we managed holes we will do a portal - in form of the Tardis. In the very end of this section we will have a look at 3D text and how to place it properly in our augmented world.

  6. AR Physics

    The last missing bit is - Physics! In this section we will deal with gravity and a lot of things which are related to it like cleaning up forever falling boxes. We will implement a way to interact with already placed 3D elements in the scene, play sounds and let stuff roll around in our worlds.

  7. ARKit 2

    Sure the new and hot stuff needs to be in here also :) Since the WWDC18 there are a couple of new features available in ARKit (currently just with Xcode10 and iOS 12 Beta). We will detect and track images and pin our own 3D models to it. It's even possible to save an augmented scene and load it again at a later point in time - just wow! And we will have a look at how we can combine tracking images and using videos as textures in the environment. A lot of real fun is waiting for you here - final boss style!

Disclaimer

When you reached the end of this guide you should be able to do a lof of awesome things with ARKit on iOS. But be aware - this is just the start of a long journey :) Have a lot of fun with it!

You might also like...
Trying TDD with ARKit
Trying TDD with ARKit

ARPlacer BDD Spec As a user I want to place a random object in real world. I also want to see the distance between AR object and my phone. Use Cases

Draw VR content over live camera feed with ARKit

funny-ar Exercise with ARKit: draw VR content over live camera feed: work is in

ARKit: Projecting 3D mesh to 2D coordinate
ARKit: Projecting 3D mesh to 2D coordinate

ARKitDemo ARKit: Projecting 3D mesh to 2D coordinate A simple utility to project 3D face mesh in 2D coordinate on device screen. Sources: https://deve

Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit
Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit

HomeMax-iOS Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit and SceneKit. Inspired by IKEA place app. Description Experience on

ARID - Augmented Reality app using Apple’s ARKit framework which can recognise faces of famous scientists
ARID - Augmented Reality app using Apple’s ARKit framework which can recognise faces of famous scientists

ARID Augmented Reality app using Apple’s ARKit framework which can recognise fac

ARDicee - Simple augmented reality app using SceneKit and ARKit
ARDicee - Simple augmented reality app using SceneKit and ARKit

ARDicee Simple augmented reality app using SceneKit and ARKit Requirements Xcode

Reality-iOS - NFT Augmented Reality(AR) app that demonstrate application of ARImageTracking in iOS powered by ARKit 2

Reality-iOS NFT Augmented Reality(AR) app that demonstrate application of ARImag

AR Ruler - A simple iOS app made using ARKit and SceneKit
AR Ruler - A simple iOS app made using ARKit and SceneKit

A simple iOS app made using ARKit and SceneKit.Which can try to simplify little things in your life such as measuring stuff.

 ARKit Car Rims
ARKit Car Rims

ARKit Car Rims Are you tired of thinking about what will look better while selecting or purchasing anything like where to put a flowerpot, lamp, a pho

Owner
manu rink
manu rink
An iOS Framework Capture & record ARKit videos 📹, photos 🌄, Live Photos 🎇, and GIFs 🎆.

An iOS Framework that enables developers to capture videos ?? , photos ?? , Live Photos ?? , and GIFs ?? with ARKit content.

Ahmed Bekhit 1.5k Dec 24, 2022
IOS example app to generate point clouds in ARKit using scenedepth

Visualizing a Point Cloud Using Scene Depth Place points in the real-world using the scene's depth data to visualize the shape of the physical environ

Isak Diaz 20 Oct 31, 2022
ARKit Base Project. Place virtual objects based on WWDC example project

ARKit - Placing Virtual Objects in Augmented Reality Learn best practices for visual feedback, gesture interactions, and realistic rendering in AR exp

Ignacio Chiazzo Cardarello 338 Jan 5, 2023
A library that allows you to generate and update environment maps in real-time using the camera feed and ARKit's tracking capabilities.

ARKitEnvironmentMapper Example To run the example project, clone the repo, and run pod install from the Example directory first. Installation ARKitEnv

SV Hawks 91 Dec 4, 2022
This library uses ARKit Face Tracking in order to catch user's smile.

SmileToUnlock Make your users smile before opening the app :) Gif with the demonstration Installation Cocoapods The most preferable way to use this li

Ruslan Serebriakov 628 Oct 22, 2022
PlacenoteSDK Sample app in native iOS using ARKit, written primarily in Swift

Placenote SDK for iOS Placenote SDK lets you easily build cloud-based Augmented Reality (AR) apps that pin digital content to locations in the real wo

Placenote 93 Nov 15, 2022
Power! Unlimited power for ARKit 2.0!

A long time ago in a galaxy, far, far away... It is a period when iPhone SE and iPhone X were destroyed from the apple store, the AR market was under

KBOY (Kei Fujikawa) 516 Dec 1, 2022
A library that allows you to generate and update environment maps in real-time using the camera feed and ARKit's tracking capabilities.

ARKitEnvironmentMapper Example To run the example project, clone the repo, and run pod install from the Example directory first. Installation ARKitEnv

SV Hawks 91 Dec 4, 2022
Augmented Reality image tracking with SwiftUI, RealityKit and ARKit 4.

ARImageTracking This is an Augmented Reality Xcode project that uses Apple's newest RealityKit framework and ARKit 4 features, to dynamically track a

Richard Qi 198 Dec 7, 2022
A simple application created for educational purposes for mastering ARKit

ARDrawing AR Drawing is a simple application created for educational purposes for mastering ARKit. The basis of the project is copied from the project

NIKOLAY NIKITIN 0 Oct 20, 2022