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.6k
SQL利用者を3倍に増やしデータの民主化を推進した話.pdf
masarufuruya
0
830
BigQuery Scriptingを利用してCloudSQLのテーブルを転送する仕組みを作った話
masarufuruya
0
55
未経験からデータエンジニアに チャレンジして学んだ大切なこと
masarufuruya
0
740
ドラッカー風エクササイズを導入して エンジニアチームの相互理解を促進した話
masarufuruya
0
1.4k
ReactNativeで勉強会のビューワーアプリを作ってみて学んだ知見
masarufuruya
0
390
Watsonを使って音声入力できるVRブレストアプリを作っている話
masarufuruya
0
490
非SPAで小さく始めるReactアーキテクチャ
masarufuruya
1
1.4k
ReactNativeでIOSアプリのプッシュ通知を実装する
masarufuruya
0
1.3k
Other Decks in Technology
See All in Technology
Information Architecture Recommoning: How Standardization Enables Differentiation
angioia
0
170
Autonomous Database サービス・アップデート (FY25)
oracle4engineer
PRO
1
730
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.6k
エンジニア採用から始まる技術広報と組織づくり/202506lt
nishiuma
1
150
やさしい認証認可
minorun365
PRO
27
11k
Spring for GraphQLって実際どうなの?〜小規模スタートアップの事例紹介〜
kogayushi
0
160
バクラクのモノレポにおける AI Coding のための環境整備と {Roo,Claude} Code活用事例 / AI Coding in Bakuraku's Monorepo: Environment Setup & Case Studies with {Roo, Claude} Code
upamune
7
2.9k
Tensix Core アーキテクチャ解説
tenstorrent_japan
0
230
Monorepo Error Management: Automated Runbooks and Team-Targeted Alert Distribution
biwashi
1
110
AI Engineering Summit Pre Event LT #10
okaru
2
430
AIエージェントのフレームワークを見るときの個人的注目ポイント
os1ma
1
260
Java で学ぶ 代数的データ型
ysknsid25
2
1.2k
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Music & Morning Musume
bryan
47
6.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
A Tale of Four Properties
chriscoyier
159
23k
The Language of Interfaces
destraynor
158
25k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Stop Working from a Prison Cell
hatefulcrawdad
269
20k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Thoughts on Productivity
jonyablonski
69
4.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
A Modern Web Designer's Workflow
chriscoyier
693
190k
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ͱൺྫ͢Δ