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
Web+スマホ+VRで一人ブレストアプリを作ってみた
Search
masarufuruya
June 21, 2017
Technology
0
270
Web+スマホ+VRで一人ブレストアプリを作ってみた
masarufuruya
June 21, 2017
Tweet
Share
More Decks by masarufuruya
See All by masarufuruya
DevOpsに投資するリソースの無いスタートアップがふりかえりを改革して自己組織化されたチームへ近づいてる話
masarufuruya
1
1.7k
SQL利用者を3倍に増やしデータの民主化を推進した話.pdf
masarufuruya
0
850
BigQuery Scriptingを利用してCloudSQLのテーブルを転送する仕組みを作った話
masarufuruya
0
56
未経験からデータエンジニアに チャレンジして学んだ大切なこと
masarufuruya
0
750
ドラッカー風エクササイズを導入して エンジニアチームの相互理解を促進した話
masarufuruya
1
1.4k
ReactNativeで勉強会のビューワーアプリを作ってみて学んだ知見
masarufuruya
0
390
Watsonを使って音声入力できるVRブレストアプリを作っている話
masarufuruya
0
500
非SPAで小さく始めるReactアーキテクチャ
masarufuruya
1
1.4k
ReactNativeでIOSアプリのプッシュ通知を実装する
masarufuruya
0
1.3k
Other Decks in Technology
See All in Technology
JSConf JPのwebsiteをGatsbyからNext.jsに移行した話 - Next.jsの多言語静的サイトと課題
leko
2
190
コンパウンド組織のCRE #cre_meetup
layerx
PRO
1
290
組織全員で向き合うAI Readyなデータ利活用
gappy50
5
1.6k
AI駆動で進める依存ライブラリ更新 ─ Vue プロジェクトの品質向上と開発スピード改善の実践録
sayn0
1
340
OpenCensusと歩んだ7年間
bgpat
0
180
From Natural Language to K8s Operations: The MCP Architecture and Practice of kubectl-ai
appleboy
0
350
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
2
140
GPUをつかってベクトル検索を扱う手法のお話し~NVIDIA cuVSとCAGRA~
fshuhe
0
220
Retrospectiveを振り返ろう
nakasho
0
130
abema-trace-sampling-observability-cost-optimization
tetsuya28
0
360
DSPy入門
tomehirata
4
500
アノテーション作業書作成のGood Practice
cierpa0905
PRO
0
260
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
BBQ
matthewcrist
89
9.9k
Designing Experiences People Love
moore
142
24k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.5k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
2
140
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Transcript
Web+εϚϗ+VRͰ ҰਓϒϨετΞϓϦΛ࡞ͬͯΈͨ
Hello! I AM MASARU FURUYA Ruby/React ϑϦʔϥϯε @enzerubank
εϚϗ͔Βొͨ͠ΩʔϫʔυΛᝦԽ Oculus TouchͰಈ͔ͤΔϒϨετΞϓϦ
ΞδΣϯμ ◦ΞΠσΞग़͠ ◦ཁ݅ఆٛ ◦ቕΓϙΠϯτᶃ: JSONύʔε ◦ቕΓϙΠϯτᶄ: VR্ͷςΩετදࣔ ◦ቕΓϙΠϯτᶅ: PositionͱlocalPosition ◦·ͱΊ
1. ΞΠσΞग़͠
ΞΠσΞ͠ΓͱΓ A (ςʔϚ) × B (͠ΓͱΓ) = C (ΞΠσΞ)Ͱ 50ݸग़ͨ͠ΞΠσΞΛ5ݸʹߜΔ
2. ཁ݅ఆٛ
ϑΥʔΧεେࣄ εϚϗΞϓϦͱOculusطଘίʔυΛྲྀ༻ ৽ͨʹ࡞ΔͷJSON͔ΒᝦΛੜ͢ΔػೳͷΈ
͜ΕͳΒ ָউͰʁ
ͦΜͳ͜ͱແ͔ͬͨ
3. ቕ·ΓϙΠϯτᶃ: JSONύʔε
JsonUtility͍͠ ◦ ߏମͱSerializableͷཧղ͕ඞཁ
LitJsonॳ৺ऀ͖ ◦ ߏମෆཁͰɺJson -> ObjectʹύʔεՄ
4. ቕ·ΓϙΠϯτᶄ: VR্ͷςΩετදࣔ
ςΩετ͕ϘέΔ ࡍͷରԠࡦ 1. ϑΥϯταΠζΛେ͖Ί ʹ͢Δ(҆: 50ʙ200) 2. GameViewΛ͘͢Δ ※ ϑΥϯτΛେ͖ͯ͘͠දࣔ͞Εͳ͍߹width/heightΛௐ͢Δ
ςΩετ͕େ͖͗͢Δ ࡍͷରԠࡦ Canvasʹൺྫ͢ΔͷͰςΩετͷ scaleΛۃগʹ͢Δ(҆: 0.xʙ)
5. ቕ·ΓϙΠϯτᶅ: PositionͱlocalPosition
localPosition ͷscaleʹൺྫ͢Δ ͷscale͕0.1ͷ߹ɺ local: global = 200px : 20px
·ͱΊ ◦ ωλग़͠ΞΠσΞ͠ΓͱΓΛ͏ ◦ ৽͘͠࡞Δػೳ1ݸʹϑΥʔΧε͢Δ ◦ ·ͣLitJsonɺ׳ΕͨΒJsonUtility ◦ uGUIϑΥϯτɾදࣔൣғɾscaleΛௐ͢Δ ◦
localPostionͷscaleͱൺྫ͢Δ