Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
3DoFなXREAL Airで 6DoFしてみた
Search
HATSUNE, Akira
October 23, 2023
Technology
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
3DoFなXREAL Airで 6DoFしてみた
HATSUNE, Akira
October 23, 2023
More Decks by HATSUNE, Akira
See All by HATSUNE, Akira
「ICT学習・支援サポーター」をやってみよう
hatsunea
0
49
Microからnanoへ、進む.NET組込みアプリ開発環境の今
hatsunea
0
770
Build 2022で発表されたWindowsアプリ開発のあれこれ振り返ろう
hatsunea
1
860
M5Stackで始めるIoT 入門
hatsunea
0
660
Other Decks in Technology
See All in Technology
AI時代の「技術的負債」の変質ー概念の終焉と再解釈、エージェントと共に向かう先
nwiizo
0
1k
クロスボーダーM&AのValue Upを支えるプロダクト開発。日米チームのハブになったプロダクトエンジニアの実践 / Product Engineering Conference 2026
genda
0
120
AIに丸投げしないトイル削減 / Eliminating Toil Without Leaving It All to AI
kohbis
4
1.1k
幾何アルゴリズムで なめらかなピン操作を / iOSDC Japan 2026 / smoothpin
kazumanagano
0
310
omasushiというライブラリを作った
polidog
PRO
0
220
なぜJMBC(Japan MCP Business Community)? MCPってどう活用できるの?
cdataj
0
110
あるけみー式LTスライド作成術
alchemy1115
1
200
AI時代のAPI品質を支えるガードレール / API Guardrails for API quality in the AI era
yokawasa
1
240
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
150
Sigmaで作る業務アプリ
kazushiro_honma
0
130
新機種発売前に見直そう!端末移行で再ログインが要るアプリ・要らないアプリは何が違うのか 〜シームレスに再開できる設計と実装〜
zozotech
PRO
0
140
Reactの設計論
uhyo
17
8.9k
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
370
Tell your own story through comics
letsgokoyo
1
1.1k
Become a Pro
speakerdeck
PRO
31
6.2k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
430
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
280
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
500
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
690
How to Think Like a Performance Engineer
csswizardry
28
2.8k
4 Signs Your Business is Dying
shpigford
187
23k
Transcript
3DoFなXREAL Airで 6DoFしてみた 2023/10/23 初音玲
XREALアプリを作るには •Unity •Visual Studio •NRSDK
Unityで新規プロジェクト作成 • 新規作成 • Unity Hubを起動して[プロジェクト]→[新規作成]をクリックして、プロジェク トの新規作成を行います。 • テンプレートの指定 •
テンプレートとして[3D]を選択して、プロジェクト名を指定したら[作成]をク リックします。 • プラットフォームの変更 • Unityを起動してUnityの新規プロジェクトが作成されたら、[File]-[Build Settings]メニューから設定画面を開きます。 • プラットフォームを「Android」に変更して[Switch Platform]をクリックしま す。
ARCoreの導入 • ARFoundationパッケージの導入
Player Settingsの設定 • Graphics APIs から Vulkan を削除 • Minimum
API Levelを7.0以上に変更 • [XR Plug-in Management]で[ARCore]にチェック
MainCameraの削除 • 「MainCamera」は不要なので「Hierarchy」から削除します。 • 「Hierarchy」を右クリックして、[XR]-[AR Session]メニューをク リックしてAR Sessionを追加します。 • 同様に[XR]-[AR
Session Origin]メニューをクリックしてAR Session Originを追加します。
• 最終構成
• 最終構成 スマホカメラ(の視線) XREAL(自分の目の視線)
スマホカメラの移動をXREALへ var arCameraYaw = GetYawRotation(this.ARCameraTransform.forward); var nrCameraYaw = GetYawRotation(this.NrCameraRigTransform.forward); var
parentYaw = GetYawRotation(transform.forward); parentYaw = parentYaw + arCameraYaw - nrCameraYaw; var rotation = Quaternion.AngleAxis(parentYaw, Vector3.up); transform.rotation = rotation;
None