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

Basic 3D Math for ARKit

KBOY
September 15, 2018

Basic 3D Math for ARKit

KBOY

September 15, 2018
Tweet

More Decks by KBOY

Other Decks in Technology

Transcript

  1.          

    Spajam 2nd Prized Best Body Japan Held ے೑.swift Showing in Article Smooth-sailing?
  2. AR!

  3.          

    Spajam 2nd Prized Best Body Japan Held ے೑.swift Showing in Article
  4. So,

  5. So,

  6. So,

  7. 30cm Get x,y from tap gesture Place the object In

    the world. Place at 30cm In front of camera Convert to world ᶃ ᶄ ᶅ Convert to Screen ᶆ ᶄ’ Convert to screen
  8. 30cm Get x,y from tap gesture Place the object In

    the world. Place at 30cm In front of camera Convert to world ᶃ ᶄ ᶅ Convert to Screen ᶆ ᶄ’ Convert to screen Removable
  9. Yes

  10. But

  11. screenZ = f(n + cameraZ)/((f − n)cameraZ) screenZ = 1000(0.001

    + (−0.3))/((1000 − 0.002)(−0.3)) f = 1000 n = 0.001 cameraZ = − 0.3 screenZ = 0.9966...
  12. So,

  13. End