Skip to content

canbal/arkit-by-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the Swift version of https://github.com/markdaws/arkit-by-example/. Unfortunately this repo does not have all the part[1,2,3,4] branches nicely separated as the Obj-C version.

Apple ARKit Example App

A set of tutorials using the new ARKit from Apple. Follow along at: https://blog.markdaws.net/apple-arkit-by-example-ef1c8578fb59

Demo

ARKit Example

Controls

  • Move around the space to allow the app to first find horizontal planes in the environment
  • Single tap inserts a cube, must tap on a plane.
  • Press and hold on a plane or cube changes the material
  • Two finger press and hold causes a mini explosion

NOTE: Once you have detected the planes you want, disable the plane detection so that the planes don't continue to resize and move around.

NOTE: The thre dots "..." in the bottom right open a settings menu with some debug options.

Textures

All Physically Based Rendering textures come from: http://freepbr.com/ If you use any of their textures, please link back to their site.