Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ARKit tips + tricks

glenna
September 06, 2017

ARKit tips + tricks

try! Swift NYC 2017 + #pragma mark 2017

glenna

September 06, 2017
Tweet

More Decks by glenna

Other Decks in Programming

Transcript

  1. GETTING STARTED WITH ARKIT + TIPS AND TRICKS GLENNA BUFORD

    @GLENNERSBOOFY 1 — ARKit tips and tricks by @glennersboofy
  2. AGENDA ▸ Why ARKit? ▸ How does it work? ▸

    Using ARKit ▸ Demo ▸ Lessons learned 2 — ARKit tips and tricks by @glennersboofy
  3. DELEGATE METHODS func renderer(_ renderer:, nodeFor anchor:) -> SCNNode? func

    renderer(_ renderer:, didUpdate node:, for anchor:) 17 — ARKit tips and tricks by @glennersboofy
  4. DELEGATE METHODS func renderer(_ renderer:, nodeFor anchor:) -> SCNNode? func

    renderer(_ renderer:, didUpdate node:, for anchor:) 18 — ARKit tips and tricks by @glennersboofy
  5. DELEGATE METHODS func renderer(_ renderer:, nodeFor anchor:) -> SCNNode? func

    renderer(_ renderer:, didUpdate node:, for anchor:) 19 — ARKit tips and tricks by @glennersboofy
  6. ADDING OTHER OBJECTS ▸ … is as simple as adding

    them to the SceneKit view ▸ … and giving them an ARAnchor so you can track them in the real world space 20 — ARKit tips and tricks by @glennersboofy
  7. SOME LESSONS LEARNED ▸ lighting ▸ converting from ARKit space

    to SceneKit space is … ▸ only horizontal planes are detected :( ▸ it’s maybe still not the best 22 — ARKit tips and tricks by @glennersboofy
  8. World tracking is an inexact science. This process can often

    produce impressive accuracy, leading to realistic AR experiences.1 1 Apple Docs 23 — ARKit tips and tricks by @glennersboofy