Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
既にリリースしているアプリにARKitの機能を入れて苦労した事/ARKitforFamm_20...
Search
fromkk
February 07, 2018
Programming
0
1.6k
既にリリースしているアプリにARKitの機能を入れて苦労した事/ARKitforFamm_20180207
Timers社で2018/02/07に開催された #mobileARMeetup という勉強会で発表した内容です。
fromkk
February 07, 2018
Tweet
Share
More Decks by fromkk
See All by fromkk
note社の全員野球で品質向上活動について / note_qa_challenge #iOS_test_teatime
fromkk
3
1.8k
1年分のデータが見たいと言われてやったこと/yearly_data_with_note
fromkk
0
890
note iOSチームの自動化 ver.2021/automation_with_iOS_team_on_note_ver2021
fromkk
0
1.9k
Bitrise体験会説明資料/bitrise_explore
fromkk
1
1k
noteのiOSアプリで実装したアクセシビリティの全て #iosdc #a /a11y_with_iOS_App_on_note
fromkk
2
3.4k
dSYMのアップロードで SPMを活用する/use_spm_with_upload_dsyms
fromkk
1
2.6k
Bitriseのリモートアクセス機能 #bitrise_meetup/remote_access_of_bitrise
fromkk
1
520
note社でのMagic Pod活用事例 #af_iosdc/magicpod_with_note
fromkk
2
10k
iOSには無いmacOS独自機能をCatalystで実装する #iosdc #d/make_macos_apps_with_catalyst
fromkk
9
2k
Other Decks in Programming
See All in Programming
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
Outline View in SwiftUI
1024jp
1
330
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
1.9k
Ethereum_.pdf
nekomatu
0
460
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
120
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
現場で役立つモデリング 超入門
masuda220
PRO
15
3.2k
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
580
Better Code Design in PHP
afilina
PRO
0
120
Jakarta EE meets AI
ivargrimstad
0
140
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
200
Featured
See All Featured
Embracing the Ebb and Flow
colly
84
4.5k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Statistics for Hackers
jakevdp
796
220k
Side Projects
sachag
452
42k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Site-Speed That Sticks
csswizardry
0
23
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Music & Morning Musume
bryan
46
6.2k
Into the Great Unknown - MozCon
thekraken
32
1.5k
The Cult of Friendly URLs
andyhume
78
6k
Designing for humans not robots
tammielis
250
25k
Transcript
طʹϦϦʔε͍ͯ͠ΔΞϓϦʹ ARKitͷػೳΛೖΕͯۤ࿑ͨ͠ࣄ Mobile AR Meetup #1 @Timers 1
Profile Kazuya Ueoka Timers inc.ͷiOSΤϯδχΞ Twitter: @fromkk Github: fromkk Qiita:
fromkk Sarahah: fromkk 2
AR(Augmented Reality) • ֦ுݱ࣮ • Χϝϥ ! ͰࡱӨͨ͠ө૾ʹ3DͷମΛஔ͢ΔࣄͰݱ࣮ʹ Ծతͳମ͕͍Δ༷ʹݟ͑Δٕज़ •
AppleͰARKitɺGoogleͰARCore 3
WWDC 2017Ͱൃද͞ΕͨARKit 602 Introducing ARKit: Augmented Reality for iOS 4
ͲΜͳࣄ͕ग़དྷΔ͔ • Made with ARKit • Awesome ARKit • Best
of 2017 AR 5
ARKit • ϋΠϨϕϧͳAPI • iOSରԠ(A9Ҏ্) • SceneKit(3D), SpriteKit(2D), Metal(ΧελϜϨϯμϦϯά)ର Ԡ
• ԿԯͷσόΠε͕ARKitʹରԠࡁΈ • NEW ARKit 1.5(iOS 11.3ʙ) 6
ओཁͳػೳ • ϫʔϧυτϥοΩϯάʢಛΛτϥοΩϯάʣ • γʔϯͷཧղʢচɺนͷஅɾͨΓఆɾ໌Δ͞ਪଌʣ • ϨϯμϦϯά UnityɾUnrealରԠ 7
FammʹARKitΛೖΕͯΈͨ 8
ͦͷ̍ 9
ଌఆػೳ 10
Ͳ͏ͬͯ࡞͔ͬͨ 11
GitHub - shu223/ARKit-Sampler: Code examples for ARKit. 12
(ଌఆػೳ͚ͩʹͳΒ) ΄΅ίϐϖͰOK 13
ଌఆػೳͳΒͰͷͨ͠ • ͓ࢠ͞Μ͕৸ͯΔ࠷தʹଌఆ͢ΔࣄΛఆͯ͠4(಄ɾࠊɾ කɾ͔͔ͱ)ͷ߹ܭͷ͞Ͱܭଌ • ࣮ੇΑΓগ͠খ͘͞ଌఆ͞Εͯ͠·͏ࣄ͕ଟ͍ͷͰফඅ੫ ͙Β͍Λׂ૿͍ͯ͠Δ 14
ۤ࿑ͨ͠ • σβΠφʔΤϯδχΞ2Dͷ಄ͳͷͰ3DͷUIΛͲ͏ى͜͠ ͯྑ͍ͷ͔͔Βͳ͍ • ࣮ࡍʹ͏ͱ͍ʹ͍͘ʢԿࣾͷओ්ͷํୡʹͬͯ ΒͬͯϑΟʔυόοΫʣ 15
Demo 16
ͦͷ̎ 17
લલલੈஅػೳ 18
ۤ࿑ͨ͠ • ී௨ʹΦϒδΣΫτΛஔ͢ΔͱΧϝϥΛىಈͨ࣌͠ͷ͖ ʹґଘ͢Δ • Ͳ͔͜ΒࡱӨͯ͠ΦϒδΣΫτ͕ΧϝϥΛ͍͍ͯͯཉ͠ ͔ͬͨ 19
ΦΠϥʔ֯ 20
y࣠ΛΧϝϥͱ࿈ಈͤ͞Δ let eularAngles = sceneView.session.currentFrame?.camera.eulerAngles else { return } sceneNode.eulerAngles
= SCNVector3(0.0, eularAngles.y, 0.0) 21
Demo 22
Sample https://github.com/fromkk/mobileARMeetupSample https://github.com/fromkk/PolyKit Poly APIΛARKitͰͬͯΈΔ: Qiita 23
ARKitʹײ͡Δ՝ • ARKitΧϝϥͷεςʔλεͷཧಠಛͷ੍͕͋Δ • UIͰ͍͢͞Λදݱ͢Δͷ͔͕ඇৗʹ͍͠ 24
·ͱΊ • ࡉ͔͍ௐײ֮ʹΑΔॴ͕େ͖͍ • ීஈUIKitͰ2Dͷੈքʹ͍ΔͷͰͨ·ʹ3DΔͷָ͍͠ • ΞΠσΞ࣍ୈ͚ͩͲͲΜͳΞϓϦʹARద༻ग़དྷΔ(ͣ) 25
PR 26
27
28
29
ΤϯδχΞืूத 30
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ 31