SlideShare ist ein Scribd-Unternehmen logo
1 von 61
Downloaden Sie, um offline zu lesen
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
CREATING A VIRTUAL
REALITY IN UNITY
Kelvin Lo, Product Evangelist at Unity Technologies
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
UNITY 5.1+ VR
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
UNITY
Oculus Rift
MS Hololens
Gear VR
Playstation VR
Unity
SDK, Runtime Dirver
SDK
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
WINDOWS MAC
OCULUS VR
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
GEAR VR
• Android SDK
• (osig)
• https://developer.oculus.com/osig/
• Project/Assets/Plugins/Android/assets/
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
UNITY
Mobile VR
PC
Mobile VR Google Cardboard
SDK Oculus Mobile SDK Mobile VR
VR
SDK Unity (
HTC Vive )
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
BUILD SETTINGS

BUILD
• Texture compression
•
• ETC2 (GLES 3.0)
• Orientation
•
• Landscape left (mobile)
• V-Sync
• Do Not Sync
• Enable Multi-threading
• 4.5+
• Fixed Time step
• 0.01666 ( 60 fps)
• 0.01333 (PC 75 or 90 fps)
• Anti-Aliasing
•
• 2x max
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
• Runtime不能降FPS
• 使⽤LOD,遮擋剔除,批次運算
• 減少物體數量,減少物體曲⾯
• 多⽤靜態物體,採⽤烘焙光照
• 使Draw Call保持100左右
• ⼩於100k的三⾓⾯
• 可以採⽤⾼解析的紋理來彌補
• 使⽤物理引擎來避免CPU消耗過⼤
MOBILE PERFORMANCE

COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
VR JAM
1.
2.
3.
4. ASSET STORE
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
HOW HUMANS WORK
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
FOVEATED RENDERING
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
FOVEATED RENDERING
•
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
HUMAN HEARING

•
•
•
•
•
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
HUMANS GET SICK

•
•
•
•
•
•
•
•
•
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
VR
1.FPS > 75
2. < 20MS
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
HUMAN VISION

Field Of View (FOV) of 210º horizontally by 160º vertically
(with neck movement), * 135 pixels per angle = 5.76E
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
DESIGNING FOR HUMANS
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
HUMANS LIKE REALITY

…才怪
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
HUMANS LIKE REALITY

COPYRIGHT 2014 @ UNITY TECHNOLOGIES
HUMANS GET SCARED

• VR
•
•
•
•
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
HUMANS GET TIRED

•
•
•
•
• 2 5
• VR 5 30
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
HUMANS CAN EMPATHIZE

• VR
•
•
•
•
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
DESIGNING FOR VIRTUAL
INTERACTIONS
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
• UI
•
•
•
•
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
•
•
•
•
•
•
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
•
•
•
•
•
• You really want
•
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
UNITY VR ROADMAP
UNITY VR
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
Camera Camera
Camera
API
Culling x 2, Shadow Draw x 2, Drawcall x 2, Render State x 2
GRAPHICS PIPELINE
Set Textures
Set Transforms
Set Geometry State
Draw
Set Textures
Set Transforms
Set Geometry State
Draw
Set Textures
Set Transforms
Set Geometry State
Draw
Set Textures
Set Transforms
Set Geometry State
Draw
Update View
to Other Eye
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
Camera Camera
Object
Camera Viewport Transform
Drawcall x 2
GRAPHICS PIPELINE
Set Textures
Set Transforms
Set Geometry State
Draw
Set View State
Draw
Set Textures
Set Transforms
Set Geometry State
Draw
Set View State
Draw
Set Textures
Set Transforms
Set Geometry State
Draw
Set View State
Draw
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
之後的圖形流⽔線-其他⽅案
渲染場景時,只檢查⼀次場景,每個Object送出⼀次,建⽴兩個Command
List來分別渲染(需要硬體⽀援,Ex: DX11)
渲染場景時,只檢查⼀次場景,使⽤Instancing技術來double所渲染的物體
(不⽀援OpenGL ES 2.0)
⽀持多GPU
GRAPHICS PIPELINE
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
VR
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
VR AR
2015
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
VR
Virtual Boy 1995 Oculus Rift 2012
Google Cardboard 2014
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
截⽌2017年,累計的VR 設備總數
會達到1320萬台
預計到2020會有2600萬台相關設
備
在2020年VR 設備累計總數會達到
6600萬
99%的復合增⻑率
2020年HMD市場價值為30億美元
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
VR - 720 VR
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
A VR DEMO MADE BY MAKOTO ITO
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
+
COMBINE 6 GO-PRO CAMERAS
WITH A QUADROTOR
Or… buy a Panorama Camera
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
HOW IT WORKS?
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
CREATING A AUGMENTED
REALITY IN UNITY
Kelvin Lo, Unity Technologies
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
AR DEMO
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
PROJECT DEMO
1.Vuforia 5 SDK for Unity
2.Target Dataset Unity
3.
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
COPYRIGHT 2014 @ UNITY TECHNOLOGIES
• https://bitbucket.org/Unity-Technologies/2ddemos
kelvinlo@unity3d.com

Weitere ähnliche Inhalte

Was ist angesagt?

The Publisher's Response, Digiday WTF VR, May 11th, 2016
The Publisher's Response, Digiday WTF VR, May 11th, 2016The Publisher's Response, Digiday WTF VR, May 11th, 2016
The Publisher's Response, Digiday WTF VR, May 11th, 2016Digiday
 
Wally Young (DAQRI) The Path to ARToolKit 6
Wally Young (DAQRI) The Path to ARToolKit 6Wally Young (DAQRI) The Path to ARToolKit 6
Wally Young (DAQRI) The Path to ARToolKit 6AugmentedWorldExpo
 
A Closer Look At The Technology and The Devices, Digiday WTF VR, May 11th, 2016
A Closer Look At The Technology and The Devices, Digiday WTF VR, May 11th, 2016A Closer Look At The Technology and The Devices, Digiday WTF VR, May 11th, 2016
A Closer Look At The Technology and The Devices, Digiday WTF VR, May 11th, 2016Digiday
 
AWE Tel Aviv Startup Pitch: Dor Zepeniuk with Inuitive
AWE Tel Aviv Startup Pitch: Dor Zepeniuk with InuitiveAWE Tel Aviv Startup Pitch: Dor Zepeniuk with Inuitive
AWE Tel Aviv Startup Pitch: Dor Zepeniuk with InuitiveAugmentedWorldExpo
 
ARCore Shared 3d Worlds
ARCore Shared 3d WorldsARCore Shared 3d Worlds
ARCore Shared 3d WorldsSergii Kozyrev
 
AWE Tel Aviv Startup Pitch: Matan Libis with WakingApp Ltd
AWE Tel Aviv Startup Pitch: Matan Libis with WakingApp LtdAWE Tel Aviv Startup Pitch: Matan Libis with WakingApp Ltd
AWE Tel Aviv Startup Pitch: Matan Libis with WakingApp LtdAugmentedWorldExpo
 
Augment your reality with ARCore !
Augment your reality with ARCore !Augment your reality with ARCore !
Augment your reality with ARCore !Wajdi Ben Rabah
 
Matt Kammerait (DAQRI) Augmented Reality Everywhere
Matt Kammerait (DAQRI) Augmented Reality EverywhereMatt Kammerait (DAQRI) Augmented Reality Everywhere
Matt Kammerait (DAQRI) Augmented Reality EverywhereAugmentedWorldExpo
 
ITD 150: Intro to Augmented Reality
ITD 150: Intro to Augmented RealityITD 150: Intro to Augmented Reality
ITD 150: Intro to Augmented RealityJackson Barnes
 

Was ist angesagt? (10)

The Publisher's Response, Digiday WTF VR, May 11th, 2016
The Publisher's Response, Digiday WTF VR, May 11th, 2016The Publisher's Response, Digiday WTF VR, May 11th, 2016
The Publisher's Response, Digiday WTF VR, May 11th, 2016
 
Wally Young (DAQRI) The Path to ARToolKit 6
Wally Young (DAQRI) The Path to ARToolKit 6Wally Young (DAQRI) The Path to ARToolKit 6
Wally Young (DAQRI) The Path to ARToolKit 6
 
A Closer Look At The Technology and The Devices, Digiday WTF VR, May 11th, 2016
A Closer Look At The Technology and The Devices, Digiday WTF VR, May 11th, 2016A Closer Look At The Technology and The Devices, Digiday WTF VR, May 11th, 2016
A Closer Look At The Technology and The Devices, Digiday WTF VR, May 11th, 2016
 
AWE Tel Aviv Startup Pitch: Dor Zepeniuk with Inuitive
AWE Tel Aviv Startup Pitch: Dor Zepeniuk with InuitiveAWE Tel Aviv Startup Pitch: Dor Zepeniuk with Inuitive
AWE Tel Aviv Startup Pitch: Dor Zepeniuk with Inuitive
 
ARCore Shared 3d Worlds
ARCore Shared 3d WorldsARCore Shared 3d Worlds
ARCore Shared 3d Worlds
 
AWE Tel Aviv Startup Pitch: Matan Libis with WakingApp Ltd
AWE Tel Aviv Startup Pitch: Matan Libis with WakingApp LtdAWE Tel Aviv Startup Pitch: Matan Libis with WakingApp Ltd
AWE Tel Aviv Startup Pitch: Matan Libis with WakingApp Ltd
 
Augment your reality with ARCore !
Augment your reality with ARCore !Augment your reality with ARCore !
Augment your reality with ARCore !
 
Matt Kammerait (DAQRI) Augmented Reality Everywhere
Matt Kammerait (DAQRI) Augmented Reality EverywhereMatt Kammerait (DAQRI) Augmented Reality Everywhere
Matt Kammerait (DAQRI) Augmented Reality Everywhere
 
Techniques of Technology
Techniques of TechnologyTechniques of Technology
Techniques of Technology
 
ITD 150: Intro to Augmented Reality
ITD 150: Intro to Augmented RealityITD 150: Intro to Augmented Reality
ITD 150: Intro to Augmented Reality
 

Ähnlich wie Creating a Virtual Reality in Unity - by Unity Evangelist Kelvin Lo

So You Want to Build a Snowman…But it is Summer
So You Want to Build a Snowman…But it is SummerSo You Want to Build a Snowman…But it is Summer
So You Want to Build a Snowman…But it is SummerIntel® Software
 
VR digest. July 2017
VR digest. July 2017VR digest. July 2017
VR digest. July 2017ElifTech
 
Broadway Entertainment Group Interactive Introduction
Broadway Entertainment Group Interactive IntroductionBroadway Entertainment Group Interactive Introduction
Broadway Entertainment Group Interactive IntroductionKiwon Seo
 
Virtual and Augmented Reality Analytics Digility
Virtual and Augmented Reality Analytics DigilityVirtual and Augmented Reality Analytics Digility
Virtual and Augmented Reality Analytics DigilityJoerg Osarek
 
Oculus rift final
Oculus rift finalOculus rift final
Oculus rift finaltahria123
 
Virtual Reality Analytics
Virtual Reality AnalyticsVirtual Reality Analytics
Virtual Reality AnalyticsJoerg Osarek
 
David Beard (PTC/Vuforia) Using Vuforia to Build Breakthrough Mixed Reality E...
David Beard (PTC/Vuforia) Using Vuforia to Build Breakthrough Mixed Reality E...David Beard (PTC/Vuforia) Using Vuforia to Build Breakthrough Mixed Reality E...
David Beard (PTC/Vuforia) Using Vuforia to Build Breakthrough Mixed Reality E...AugmentedWorldExpo
 
AR / VR -- Rise of Technology
AR / VR -- Rise of Technology AR / VR -- Rise of Technology
AR / VR -- Rise of Technology ShaheenTaj10
 
Eyes Wide Open - Amir Ebrahimi
Eyes Wide Open - Amir EbrahimiEyes Wide Open - Amir Ebrahimi
Eyes Wide Open - Amir EbrahimiWithTheBest
 
VR digest. September-October 2017
VR digest. September-October 2017 VR digest. September-October 2017
VR digest. September-October 2017 ElifTech
 
VR digest. May 2018
VR digest. May 2018VR digest. May 2018
VR digest. May 2018ElifTech
 
The rise of VR AR - Lessons from the Pokemon`go
The rise of VR AR - Lessons from the Pokemon`goThe rise of VR AR - Lessons from the Pokemon`go
The rise of VR AR - Lessons from the Pokemon`goFAUST CHOU
 
33vuforiahandsonbeard091714-140926174454-phpapp01
33vuforiahandsonbeard091714-140926174454-phpapp0133vuforiahandsonbeard091714-140926174454-phpapp01
33vuforiahandsonbeard091714-140926174454-phpapp01David Beard
 
Hands-On with the Qualcomm Vuforia Mobile Vision Platform (Beginning tutorial)
Hands-On with the Qualcomm Vuforia Mobile Vision Platform (Beginning tutorial)Hands-On with the Qualcomm Vuforia Mobile Vision Platform (Beginning tutorial)
Hands-On with the Qualcomm Vuforia Mobile Vision Platform (Beginning tutorial)Qualcomm Developer Network
 
UplinQ - hands-on with the qualcomm vuforia mobile vision platform
UplinQ - hands-on with the qualcomm vuforia mobile vision platformUplinQ - hands-on with the qualcomm vuforia mobile vision platform
UplinQ - hands-on with the qualcomm vuforia mobile vision platformSatya Harish
 
33vuforiahandsonbeard091714 140926174454-phpapp01
33vuforiahandsonbeard091714 140926174454-phpapp0133vuforiahandsonbeard091714 140926174454-phpapp01
33vuforiahandsonbeard091714 140926174454-phpapp01David Beard
 
VR digest. January 2018
VR digest. January 2018VR digest. January 2018
VR digest. January 2018ElifTech
 
Location Based VR: VR Internet Cafe & VR Arcade | Jikhan Jung
Location Based VR: VR Internet Cafe & VR Arcade | Jikhan JungLocation Based VR: VR Internet Cafe & VR Arcade | Jikhan Jung
Location Based VR: VR Internet Cafe & VR Arcade | Jikhan JungJessica Tams
 

Ähnlich wie Creating a Virtual Reality in Unity - by Unity Evangelist Kelvin Lo (20)

So You Want to Build a Snowman…But it is Summer
So You Want to Build a Snowman…But it is SummerSo You Want to Build a Snowman…But it is Summer
So You Want to Build a Snowman…But it is Summer
 
VR digest. July 2017
VR digest. July 2017VR digest. July 2017
VR digest. July 2017
 
Broadway Entertainment Group Interactive Introduction
Broadway Entertainment Group Interactive IntroductionBroadway Entertainment Group Interactive Introduction
Broadway Entertainment Group Interactive Introduction
 
Virtual and Augmented Reality Analytics Digility
Virtual and Augmented Reality Analytics DigilityVirtual and Augmented Reality Analytics Digility
Virtual and Augmented Reality Analytics Digility
 
Oculus rift final
Oculus rift finalOculus rift final
Oculus rift final
 
Virtual Reality Analytics
Virtual Reality AnalyticsVirtual Reality Analytics
Virtual Reality Analytics
 
David Beard (PTC/Vuforia) Using Vuforia to Build Breakthrough Mixed Reality E...
David Beard (PTC/Vuforia) Using Vuforia to Build Breakthrough Mixed Reality E...David Beard (PTC/Vuforia) Using Vuforia to Build Breakthrough Mixed Reality E...
David Beard (PTC/Vuforia) Using Vuforia to Build Breakthrough Mixed Reality E...
 
AR / VR -- Rise of Technology
AR / VR -- Rise of Technology AR / VR -- Rise of Technology
AR / VR -- Rise of Technology
 
Eyes Wide Open - Amir Ebrahimi
Eyes Wide Open - Amir EbrahimiEyes Wide Open - Amir Ebrahimi
Eyes Wide Open - Amir Ebrahimi
 
VR digest. September-October 2017
VR digest. September-October 2017 VR digest. September-October 2017
VR digest. September-October 2017
 
VR digest. May 2018
VR digest. May 2018VR digest. May 2018
VR digest. May 2018
 
The rise of VR AR - Lessons from the Pokemon`go
The rise of VR AR - Lessons from the Pokemon`goThe rise of VR AR - Lessons from the Pokemon`go
The rise of VR AR - Lessons from the Pokemon`go
 
33vuforiahandsonbeard091714-140926174454-phpapp01
33vuforiahandsonbeard091714-140926174454-phpapp0133vuforiahandsonbeard091714-140926174454-phpapp01
33vuforiahandsonbeard091714-140926174454-phpapp01
 
Hands-On with the Qualcomm Vuforia Mobile Vision Platform (Beginning tutorial)
Hands-On with the Qualcomm Vuforia Mobile Vision Platform (Beginning tutorial)Hands-On with the Qualcomm Vuforia Mobile Vision Platform (Beginning tutorial)
Hands-On with the Qualcomm Vuforia Mobile Vision Platform (Beginning tutorial)
 
UplinQ - hands-on with the qualcomm vuforia mobile vision platform
UplinQ - hands-on with the qualcomm vuforia mobile vision platformUplinQ - hands-on with the qualcomm vuforia mobile vision platform
UplinQ - hands-on with the qualcomm vuforia mobile vision platform
 
33vuforiahandsonbeard091714 140926174454-phpapp01
33vuforiahandsonbeard091714 140926174454-phpapp0133vuforiahandsonbeard091714 140926174454-phpapp01
33vuforiahandsonbeard091714 140926174454-phpapp01
 
Oculus rift
Oculus riftOculus rift
Oculus rift
 
VR digest. January 2018
VR digest. January 2018VR digest. January 2018
VR digest. January 2018
 
Location Based VR: VR Internet Cafe & VR Arcade | Jikhan Jung
Location Based VR: VR Internet Cafe & VR Arcade | Jikhan JungLocation Based VR: VR Internet Cafe & VR Arcade | Jikhan Jung
Location Based VR: VR Internet Cafe & VR Arcade | Jikhan Jung
 
Droidcon moscow
Droidcon moscowDroidcon moscow
Droidcon moscow
 

Kürzlich hochgeladen

Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptNarmatha D
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptxNikhil Raut
 

Kürzlich hochgeladen (20)

Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.ppt
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptx
 

Creating a Virtual Reality in Unity - by Unity Evangelist Kelvin Lo

  • 1. COPYRIGHT 2014 @ UNITY TECHNOLOGIES CREATING A VIRTUAL REALITY IN UNITY Kelvin Lo, Product Evangelist at Unity Technologies
  • 2. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES UNITY 5.1+ VR
  • 3. COPYRIGHT 2014 @ UNITY TECHNOLOGIES UNITY Oculus Rift MS Hololens Gear VR Playstation VR Unity SDK, Runtime Dirver SDK
  • 4. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES WINDOWS MAC OCULUS VR
  • 5. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
  • 6. COPYRIGHT 2014 @ UNITY TECHNOLOGIES
  • 7. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
  • 8. COPYRIGHT 2014 @ UNITY TECHNOLOGIES GEAR VR • Android SDK • (osig) • https://developer.oculus.com/osig/ • Project/Assets/Plugins/Android/assets/
  • 9. COPYRIGHT 2014 @ UNITY TECHNOLOGIES UNITY Mobile VR PC Mobile VR Google Cardboard SDK Oculus Mobile SDK Mobile VR VR SDK Unity ( HTC Vive )
  • 10.
  • 11. COPYRIGHT 2014 @ UNITY TECHNOLOGIES BUILD SETTINGS
 BUILD • Texture compression • • ETC2 (GLES 3.0) • Orientation • • Landscape left (mobile) • V-Sync • Do Not Sync • Enable Multi-threading • 4.5+ • Fixed Time step • 0.01666 ( 60 fps) • 0.01333 (PC 75 or 90 fps) • Anti-Aliasing • • 2x max
  • 12. COPYRIGHT 2014 @ UNITY TECHNOLOGIES • Runtime不能降FPS • 使⽤LOD,遮擋剔除,批次運算 • 減少物體數量,減少物體曲⾯ • 多⽤靜態物體,採⽤烘焙光照 • 使Draw Call保持100左右 • ⼩於100k的三⾓⾯ • 可以採⽤⾼解析的紋理來彌補 • 使⽤物理引擎來避免CPU消耗過⼤ MOBILE PERFORMANCE

  • 13. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES VR JAM 1. 2. 3. 4. ASSET STORE
  • 14. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES HOW HUMANS WORK
  • 15. COPYRIGHT 2014 @ UNITY TECHNOLOGIES FOVEATED RENDERING
  • 16. COPYRIGHT 2014 @ UNITY TECHNOLOGIES FOVEATED RENDERING •
  • 17.
  • 18. COPYRIGHT 2014 @ UNITY TECHNOLOGIES HUMAN HEARING
 • • • • •
  • 19. COPYRIGHT 2014 @ UNITY TECHNOLOGIES HUMANS GET SICK
 • • • • • • • • •
  • 20. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES VR 1.FPS > 75 2. < 20MS
  • 21. COPYRIGHT 2014 @ UNITY TECHNOLOGIES HUMAN VISION
 Field Of View (FOV) of 210º horizontally by 160º vertically (with neck movement), * 135 pixels per angle = 5.76E
  • 22. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES DESIGNING FOR HUMANS
  • 23. COPYRIGHT 2014 @ UNITY TECHNOLOGIES HUMANS LIKE REALITY
 …才怪
  • 24. COPYRIGHT 2014 @ UNITY TECHNOLOGIES HUMANS LIKE REALITY

  • 25. COPYRIGHT 2014 @ UNITY TECHNOLOGIES HUMANS GET SCARED
 • VR • • • •
  • 26. COPYRIGHT 2014 @ UNITY TECHNOLOGIES HUMANS GET TIRED
 • • • • • 2 5 • VR 5 30
  • 27. COPYRIGHT 2014 @ UNITY TECHNOLOGIES HUMANS CAN EMPATHIZE
 • VR • • • •
  • 28. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES DESIGNING FOR VIRTUAL INTERACTIONS
  • 29. COPYRIGHT 2014 @ UNITY TECHNOLOGIES • UI • • • •
  • 30. COPYRIGHT 2014 @ UNITY TECHNOLOGIES • • • • • •
  • 31. COPYRIGHT 2014 @ UNITY TECHNOLOGIES • • • • • • You really want •
  • 32. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES UNITY VR ROADMAP UNITY VR
  • 33. COPYRIGHT 2014 @ UNITY TECHNOLOGIES Camera Camera Camera API Culling x 2, Shadow Draw x 2, Drawcall x 2, Render State x 2 GRAPHICS PIPELINE Set Textures Set Transforms Set Geometry State Draw Set Textures Set Transforms Set Geometry State Draw Set Textures Set Transforms Set Geometry State Draw Set Textures Set Transforms Set Geometry State Draw Update View to Other Eye
  • 34. COPYRIGHT 2014 @ UNITY TECHNOLOGIES Camera Camera Object Camera Viewport Transform Drawcall x 2 GRAPHICS PIPELINE Set Textures Set Transforms Set Geometry State Draw Set View State Draw Set Textures Set Transforms Set Geometry State Draw Set View State Draw Set Textures Set Transforms Set Geometry State Draw Set View State Draw
  • 35. COPYRIGHT 2014 @ UNITY TECHNOLOGIES 之後的圖形流⽔線-其他⽅案 渲染場景時,只檢查⼀次場景,每個Object送出⼀次,建⽴兩個Command List來分別渲染(需要硬體⽀援,Ex: DX11) 渲染場景時,只檢查⼀次場景,使⽤Instancing技術來double所渲染的物體 (不⽀援OpenGL ES 2.0) ⽀持多GPU GRAPHICS PIPELINE
  • 36. COPYRIGHT 2014 @ UNITY TECHNOLOGIES
  • 37. COPYRIGHT 2014 @ UNITY TECHNOLOGIES
  • 38. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES VR
  • 39. COPYRIGHT 2014 @ UNITY TECHNOLOGIES VR AR 2015
  • 40. COPYRIGHT 2014 @ UNITY TECHNOLOGIES VR Virtual Boy 1995 Oculus Rift 2012 Google Cardboard 2014
  • 41. COPYRIGHT 2014 @ UNITY TECHNOLOGIES 截⽌2017年,累計的VR 設備總數 會達到1320萬台 預計到2020會有2600萬台相關設 備 在2020年VR 設備累計總數會達到 6600萬 99%的復合增⻑率 2020年HMD市場價值為30億美元
  • 42. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
  • 43. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES VR - 720 VR
  • 44. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES A VR DEMO MADE BY MAKOTO ITO
  • 45.
  • 46.
  • 47.
  • 48.
  • 49. COPYRIGHT 2014 @ UNITY TECHNOLOGIES + COMBINE 6 GO-PRO CAMERAS WITH A QUADROTOR
  • 50. Or… buy a Panorama Camera
  • 51. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES HOW IT WORKS?
  • 52. COPYRIGHT 2014 @ UNITY TECHNOLOGIES CREATING A AUGMENTED REALITY IN UNITY Kelvin Lo, Unity Technologies
  • 53. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES AR DEMO
  • 54. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES PROJECT DEMO 1.Vuforia 5 SDK for Unity 2.Target Dataset Unity 3.
  • 55. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
  • 56. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
  • 57. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
  • 58. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
  • 59. COPYRIGHT 2014 @ UNITY TECHNOLOGIESCOPYRIGHT 2014 @ UNITY TECHNOLOGIES
  • 60. COPYRIGHT 2014 @ UNITY TECHNOLOGIES • https://bitbucket.org/Unity-Technologies/2ddemos