Home

Awesome

ARKit-Sampler

Platform Language License Twitter

ARKit-Sampler is a collection of ARKit samples.

How to build

Open ARKit-Sampler.xcworkspace with Xcode and build it.

It can NOT run on Simulator.

Contents

3 lines AR

A simple AR with 3 lines code.

<img src="README_resources/firstar.png" width="200">

Plane Detection

A sample to show how simply ARKit can detect planes.

<img src="README_resources/plane.png" width="200">

Virtual Object

A sample to show how to add a virtual object to a detected plane.

<img src="README_resources/virtual.png" width="200">

AR Interaction

Interactions with virtual objects or detected plane anchors.

AR Measure

Measuring lengths in the real space.

<img src="README_resources/measure.png" width="200">

AR Drawing

Drawing in the real space.

<img src="README_resources/ardrawing.png" width="200">

Core ML + ARKit",

AR Tagging to detected objects using Core ML.

<img src="README_resources/coreml.png" width="200">

Metal + ARKit

Rendering with Metal.

Metal + ARKit (SCNProgram)

Rendering the virtual node's material with Metal shader using SCNProgram.

<img src="README_resources/arscnprogram.png" width="200">

Simple Face Tracking

Simplest Face-Based AR implementation.

Irregularly-Shaped Plane Detection

ARKit 1.5

A sample to show how to detect irregularly shaped surfaces using ARSCNPlaneGeometry and ARPlaneGeometry.

usdz

A sample to show how to use .usdz files with ARKit.

Author

Shuichi Tsutsumi

Freelance iOS programmer from Japan.

<a href="https://paypal.me/shu223"> <img alt="Support via PayPal" src="https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg"/> </a>

Special Thanks

The icon is designed by Okazu