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
Marihuana
March 28, 2019
Technology
0
810
Firebase + UniVRM + OculusGo で VRM をランタイムロード
VRM集会 in cluster #01 で発表した資料です。
https://vdg.connpass.com/event/122216/
Marihuana
March 28, 2019
Tweet
Share
More Decks by Marihuana
See All by Marihuana
VR空間で画像をS3から取得して表示する
kawashi
0
77
VR空間で写真を取ってS3に保存する
kawashi
0
730
cluster. をハックした話
kawashi
0
630
バイトで学んだアドテク業界について
kawashi
0
110
Other Decks in Technology
See All in Technology
LangSmith×Webhook連携で実現するプロンプトドリブンCI/CD
sergicalsix
1
230
ネットワーク保護はどう変わるのか?re:Inforce 2025最新アップデート解説
tokushun
0
200
スタートアップに選択肢を 〜生成AIを活用したセカンダリー事業への挑戦〜
nstock
0
170
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
27k
CDKTFについてざっくり理解する!!~CloudFormationからCDKTFへ変換するツールも作ってみた~
masakiokuda
1
130
敢えて生成AIを使わないマネジメント業務
kzkmaeda
2
440
いつの間にか入れ替わってる!?新しいAWS Security Hubとは?
cmusudakeisuke
0
120
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
960
Getting to Know Your Legacy (System) with AI-Driven Software Archeology (WeAreDevelopers World Congress 2025)
feststelltaste
1
130
赤煉瓦倉庫勉強会「Databricksを選んだ理由と、絶賛真っ只中のデータ基盤移行体験記」
ivry_presentationmaterials
2
360
FOSS4G 2025 KANSAI QGISで点群データをいろいろしてみた
kou_kita
0
400
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
10
130k
Featured
See All Featured
Optimizing for Happiness
mojombo
379
70k
Building an army of robots
kneath
306
45k
Typedesign – Prime Four
hannesfritz
42
2.7k
Designing for Performance
lara
610
69k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
The World Runs on Bad Software
bkeepers
PRO
69
11k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
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!