Giter Site home page Giter Site logo

arkit-by-example's Introduction

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.

arkit-by-example's People

Contributors

djui avatar markdaws avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arkit-by-example's Issues

Made a Swift version

I found your project and tutorial incredibly helpful and made a Swift version

renderer:didAddNode:forAnchor: not called

I run the part 2 of your arkit examples,but there was no grid. I set breakpoint in renderer:didAddNode:forAnchor:,just found it was not called.
image
now i dont know where goes wrong.

Outdated, crashes on XCode 9, iPhone 8

2017-09-26 14:10:48.431168+0200 arkit-by-example[2442:1007811] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SCNNode changeMaterial]: unrecognized selector sent to instance 0x1cc1fc900'
*** First throw call stack:
(0x184fc3d38 0x1844d8528 0x184fd11f8 0x184fc96e4 0x184eaf0dc 0x10225bc14 0x18ea5ff78 0x18ea644dc 0x18e54edc8 0x18e403748 0x18ea4e3fc 0x184f6b8b8 0x184f69270 0x184f6982c 0x184e8a2d8 0x186d1bf84 0x18e436880 0x10225e8c0 0x1849ae56c)
libc++abi.dylib: terminating with uncaught exception of type NSException

Swift version

Hi @markdaws ,

I have done every parts on swift, if you want you can create branches for all parts to push the code to them.

White screen?

Hi there,
I've installed on my iOS11, however I can't see the camera. Although the app loads correctly, it show only a white screen with all the controls (menu, toggle etc..).
Any idea?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.