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
Firebase + UniVRM + OculusGo で VRM をランタイムロード
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Marihuana
March 28, 2019
Technology
880
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Firebase + UniVRM + OculusGo で VRM をランタイムロード
VRM集会 in cluster #01 で発表した資料です。
https://vdg.connpass.com/event/122216/
Marihuana
March 28, 2019
More Decks by Marihuana
See All by Marihuana
VR空間で画像をS3から取得して表示する
kawashi
0
83
VR空間で写真を取ってS3に保存する
kawashi
0
810
cluster. をハックした話
kawashi
0
660
バイトで学んだアドテク業界について
kawashi
0
120
Other Decks in Technology
See All in Technology
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
SmartHR Engineering Team Deck
smarthr
1
3.1k
Bits Agent Builder の⼊⾨と活⽤事例
nulabinc
PRO
0
260
なぜ Temporal の大小比較には compare しかないのか / Why Does Temporal Only Have compare() for Comparisons
kazukihayase
1
190
会社紹介資料 / Sansan Company Profile
sansan33
PRO
24
430k
トークンマネジメントでAIにとって働きやすい環境を実現する
hikaruegashira
0
130
Genie Codeハンズオン応用編
taka_aki
0
130
長期運営で肥大化したExcelマスターデータの解消に向けた移行事例
gree_tech
PRO
0
100
AI for Science時代を切り開く、政府の次世代HPC戦略の展望
gpuunite_official
0
130
What's new in Go 1.27?
ciarana
0
290
MulticaとPi Coding Agentで、小規模OSSを30本同時運用した流れ
eiei114
0
130
案件に一番詳しいAIを Amazon Bedrock AgentCore で作る ― 知見が知見を生むチームへ / Compounding Knowledge with AgentCore
yusukeshimizu
1
160
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Into the Great Unknown - MozCon
thekraken
41
2.7k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
The Curse of the Amulet
leimatthew05
2
14k
A designer walks into a library…
pauljervisheath
211
24k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
370
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
660
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
210
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Amusing Abliteration
ianozsvald
1
260
Transcript
Firebase を使って OculusGo で VRM をランタイムロード 焼きそばメロンパン
自己紹介
自己紹介 • 焼きそばメロンパンです • くらすたーちゃん大好きです • clusterでGo書いてました • VR系の会社立ち上げました
趣味でデスクトップマスコット作った
今日話すこと
今日話すこと • 目的 • Firebaseについて • webの実装 • OculusGoの実装 •
まとめ
目的
ローカルにVRM配置じゃ駄目なの?
ローカルにVRM配置じゃ駄目なの? PCに繋げないといけない!
webで登録して読み込もう!
でもバックエンド実装したくない...
じゃあ、Firebaseを使おう!
Firebaseについて
Firebase • バックエンドの実装が必要無くなる Google の BaaS
Firebase • バックエンドの実装が必要無くなる Google の BaaS • Authentication: 自分のVRMだけ読み込める (認証)
Firebase • バックエンドの実装が必要無くなる Google の BaaS • Authentication: 自分のVRMだけ読み込める (認証)
• Storage: VRMファイルを格納出来る
Firebase • バックエンドの実装が必要無くなる Google の BaaS • Authentication: 自分のVRMだけ読み込める (認証)
• Storage: VRMファイルを格納出来る • Database: 自分のVRMファイルのURLを格納出来る
これだけあればOK
ユーザ利用フロー
全体アーキテクチャ
webの実装
webの実装 • サインアップ/サインイン画面 • アバター登録画面
webアーキテクチャ
webの実装 (サインアップ画面)
webの実装 (アバターアップロード)
雑なコードですが...
webの実装 (サインアップ)
webの実装 (Storageに保存)
webの実装 (DatabaseにURL保存)
OculusGoの実装
OculusGoの実装 • サインインシーン • アバター読み込みシーン
VRアーキテクチャ
OculusGo は FirebaseUnitySDK が使えない!
REST API と Simple Firebase Unity を使おう
REST API を使おう (認証)
Simple Firebase Unity を使おう (DB)
Qiitaに書きました!
サインインシーン (MRTKのキーボード使用)
結構負荷が掛かる (15FPSとかになった)
60FPS 下回る箇所は OVRFade で暗転させればOK
後は VRIK とかをごにょごにょして...
完成! (手持ちカメラで見てる様子)
まとめ
OculusGo + VRM なアプリをみんなで作ろう!
Thank you for listening!