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

ゆるく学ぶARKit

mcz9mm
July 25, 2018

 ゆるく学ぶARKit

mcz9mm

July 25, 2018
Tweet

More Decks by mcz9mm

Other Decks in Programming

Transcript

  1. ΏΔֶ͘Ϳ ARKit
    #potatotips #53
    Kaoru Matarai
    @mcz9mm

    View full-size slide

  2. #Who
    Kaoru Matarai/ ຢདྷ܆
    LIFULL Co., Ltd.
    @mcz9mm
    Ծ૝௨՟ΞϓϦ
    MONEYGEͷ։ൃऀ

    View full-size slide

  3. #WORK
    ARKit1.0
    ARKit1.5ͷରԠΛߦ͏

    View full-size slide

  4. #iOSDCग़·͢

    View full-size slide

  5. #Ͱ͖Δ͜ͱ(௒ͬ͘͟Γ)
    • ฏ໘ɺਨ௚ɺը૾ͷݕग़
    • 3DΦϒδΣΫτͷೝࣝ
    • ARۭؒͷڞ༗
    • QuickLook

    View full-size slide

  6. #ฏ໘ɺਨ௚ɺը૾ͷݕग़
    →ARKit͕Α͠ͳʹ΍ͬͯ͘ΕΔ

    ը૾ೝࣝ͸͋Β͔͡Ίೝࣝͤ͞Δը૾Λొ࿥͢Δ
    https://developer.apple.com/documentation/arkit/
    recognizing_images_in_an_ar_experience

    View full-size slide

  7. #3DΦϒδΣΫτͷೝࣝ
    https://developer.apple.com/documentation/arkit/
    scanning_and_detecting_3d_objects
    →͋Β͔͡Ί෺ମͷεΩϟϯΛߦ͍ϞσϧΛ࡞੒
    1. ଞͷΞϓϦ͔ΒಡΈࠐΈՄೳ
    2. େ͖͞ɺҐஔɺ໊લ΋൑ผͰ͖Δ
    3. εΩϟϯࣗମ͸ΤϯδχΞଆͰೝࣝͤ͞Δ

    View full-size slide

  8. ˌARۭؒͷڞ༗
    ৄࡉ͸ͪ͜Β
    https://qiita.com/kaoryuuu/items/ea3518e2be45ad7f07c9
    →Shared experiencesΛ༻͍Δ
    ɾෳ਺ਓͰͷڞ༗
    ɾARۭؒͷอଘɾݺͼग़͠

    ɾARMappingStatusͰܭଌͷঢ়ଶΛ֬ೝͰ͖Δ

    View full-size slide

  9. #QuickLook
    →ARKitΛ࢖͏ඞཁ͸ͳ͍

    ɾ.USDZΛಡΈࠐΜͰAR্ʹදࣔ

    ɾද͚ࣔͩͰ͋Ε͹ΞϓϦଆͷ࣮૷͸͍Βͳ͍

    ɾimport QuickLookͰ͓खܰαϙʔτ

    ɾAirDropͰڞ༗͙ͯ͢͠ʹදࣔͱ͔΋Ͱ͖ͪΌ͏
    $ xcrun usdz_converter a.obj b.usdz

    View full-size slide

  10. #DEMO
    https://shop.magnolia.com/collections/arkit
    ΠέͯΔαΠτˣ

    View full-size slide

  11. #·ͱΊ
    • ༻్ʹԠͯ͡ARKitͷಛੑΛ׆͔͢
    • QuickLook͚ͩ͸ຊ౰ʹศརͳͷͰ΍ͬͯΈͯ
    • σϞ͕๛෋ͳͷͰ؆୯ʹ࢝ΊΒΕΔ

    View full-size slide