SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
Oculus Riftを楽しもう!
UnityとUnrealEngine4で始めるVRコンテンツ
中地 功貴
@splas_boomerang
2013.04.01
名古屋工業大学 情報工学科 入学
2014.11.14
新感覚のiOS/Android向けアプリ
「妖怪コンパス」をリリース
2015.02.28
バーチャル体験祭@大須商店街に
「VR通勤電車」を出展
社会現象を引き起こす
OculusRiftって
すごい!
環境を整えよう Unityで動かそう UE4で動かそう その他の話
3
紹介すること
Oculus Rift?
VR(VirtualReality)に特化した
HMD(ヘッドマウントディスプレイ)
広い視野角と、6軸自由度のトラッキングが特徴
[内蔵センサー] + [外部カメラ] で実現
圧倒的没入感
4
写真:Developer Kit 2 [通称 DK2]
デモ
5
UnityCoaster2
Urban Coaster
東京の町並みを疾走する
ジェットコースター
制作者:iWorks @x68user
参考:VRのジェットコースターには何が必要なのか?DK2対応の本命『UnityCoaster2』公開– もぐらゲームス [http://www.moguragames.com/entry/unitycoaster2/]
6
環境を整えよう
導入の流れ
1. 開発者登録
2. インストールとか
3. パソコンに接続
7
開発者登録
Oculus Developer
Runtime, SDKのダウンロードに必須
以下のページから登録
https://id.oculus.com/US/en-US/login/register/?cid=0ead4d88-a8a4-496f-810e-7fe82bf71083
8
Runtime,SDKのインストール
Downloads
以下のページからRuntimeとSDKをダウンロードする。
https://developer.oculus.com/downloads/
ダウンロードが完了したら、インストールする
9
パソコンにDK2を接続
DK2 本体
パソコン 本体
カメラ
コントロール
BOX
ACアダプタ
HDMI USB
USB
どちらか一方で可
ディスプレイの上
または
三脚の上に固定
パソコン本体に必要な端子
・USB x1~2
・HDMI x1
Unity 5?
10
ゲームエンジン
複数プラットフォームに対応
物理エンジン搭載
豊富なアセット(素材)が多数存在![有料/無料]
GUIベースで学習コスト小
VR向けの公式サポート有り
ウチの姫さまがいちばんカワイイ
開発: CyberAgent, Inc.
白猫プロジェクト
開発: COLOPL, Inc.
DK2をUnityで動かそう!(1/5)
前提条件
Unity 5がインストール済み
開発者登録が完了している
以下のページから「Unity 4 Integration」をダウンロードす
る。
※Unity 4 とあるが、Unity 5でも対応している。
https://developer.oculus.com/downloads/
DK2をUnityで動かそう!(2/5)
パッケージのインポート
DK2を対応させたいUnityプロジェクトを開いた状態
「OculusUnityIntegration.unitypackage」をクリック
正常にインポートされていることを確認する。
DK2をUnityで動かそう!(3/5)
Assets/OVR/Scripts/Util/OVRMainMenu.cs 内に2つエラー
#if ~ #endifのブロックを、
「c.renderMode = RenderMode.WorldSpace;」
の行を除いて削除
エラーの修正
250行目 と 969行目 に
「’UnityEngine.RenderM
ode’ does not contain a
definition for ‘World’」
というエラーが発生。
DK2をUnityで動かそう!(4/5)
カメラの変更
Assets/OVR/Prefabs 内
・OVRCameraRig.prefab [メニュー無]
・OVRPlayerController.prefab [メニュー有]
1. どちらかをHierarchyに配置
2. Main Cameraを無効化/削除
参考:OculusRift DK2(0.4.1)をUnity(windows)でデバッ
グする時に楽できるエディタ拡張を作った - izm_11’s blog
DK2をUnityで動かそう!(5/5)
「Build」と「実行」 VR用の実行ファイルを実行
ゲームエンジン
複数プラットフォームに対応
物理エンジン搭載
超リアルな3D空間を簡単に制作可能!
スクリプトを書かずにゲームが作れる!
VR対応が最も進んでいる
Unreal Engine 4.7?
16
SILENT HILL: DOWNPOUR
開発: Vatra
ミラーズエッジ
開発: EA Digital Illusions CE
DK2をUE4で動かそう!(1/2)
超簡単!2STEP 2.プルダウンから「VR Preview」を選択
1.FirstPersonで選んでプロジェクト作成
DK2をUE4で動かそう!(2/2)
「パッケージ化」と「実行」
実行ファイルを起動後
「Alt」+「Enter」でVRモードに切り替わる
最適化の話
75 FPS
画面のかくつきや反応の遅れによって、
「VR酔い」が発生する。
それらを防ぐのに必要なfpsが 75
DK2の解像度はフルHD相当(1920*1080)
両眼用に2画面描画する必要がある
高スペックPCを買おう!
…もしくは画面のクオリティを落とそう
・解像度を下げる
・マテリアルの質感を落とす
・ライトを静的にする 等
ゲームの性質・操作感によっても
「VR酔い」対策は必要
パーソナル版は無償
プロフェッショナル版・モバイルアドオン等は有料
完全無料
一定利益を超えるとロイヤリティが発生
一部機能に制限
プロフェッショナル版やアドオンの購入で制限解放
全機能が使用可能
あらゆる機能が標準装備
C#,Javascript,Booが使用可能
使い慣れた言語でゴリゴリ書ける
ブループリントが使用可能
スクリプトを1行も書かずにゲームが作れる
学習コストは小さめ
GUIに癖はあるが、ユーザー数と関連書籍は多数
学習コストは大きい
その分出来ることは多い
パッケージの導入でVR対応が可能
エディタ上での確認は一工夫必要
VR対応済み
エディタ上からDK2で起動できる!
結局どっちがいいの?
ガチでやるなら断然こっち!
プロ仕様が全部使える
20
UE4ユーザーの多さは随一!
扱いやすさで選ぶなら Unity5
注意事項
長時間連続で使用しない
特に初めての人は要注意
Oculusは座ってプレイ
平衡感覚を失います
13歳未満は使用出来ない
→医学的観点から禁止されている
公式ガイド:Best Practices Guide
Mikulus DK2
製作者:@GOROman
最後に

Más contenido relacionado

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Oculus Riftを楽しもう! UnityとUnrealEngine4で始めるVRコンテンツ