SlideShare uma empresa Scribd logo
1 de 11
Introductory VR in Unity 3d
Dr James Birt
Requirements
• Unity 5.3 or higher
• Oculus runtime 0.8 installed
Create new Project
Enable VR Mode
Simple Test – View a Cube
Press Play - if everything is setup correctly you
should see a cube through your VR headset
FPS Controller
• Open Unity3d Asset Store
• Type first person controller – Press Enter
• Click FREE ONLY
• Click Standard Assets
• Download
• In the Import Window Select None - then
Select FirstPersonCharacter;
CrossPlatformInput; Utility & click Import
FPS Controller
• Drag FPSController Prefab into Hierarchy
• Remove Main Camera from Hierarchy
• Add a 3D Plane to the Scene
• Create a contrasting material color for your cube and apply
• Position Cube; Controller and Plane in the scene
• Press Play
• Using your Keyboard and Mouse you can now walk around the
game scene
Optimising for Framerates & Quality
• Select Project Settings – Quality
• Select Simple and change Anti
Aliasing to 4x Multi Sampling
• Anti Aliasing is very important in
VR and where possible should be
enabled
• Increase Default Render Scale
from 1.0 to 1.5 which increases
object sharpness – see next slide
• Avoid Dynamic Lighting where
possible – best to bake lights
How to Increase Render Scale
• Create new C# file called RenderScale
• Add the following code and attach script to FPSController
• Code is from Unity Getting Started Tutorial - http://tinyurl.com/j2elrjt
If Dynamic Sun
Required!
• Click Windows – Lighting
• Add Directional Light to the Sun
• Ambient GI – Baked
• Create C# Script – AutoIntensity
• Add the following modified code
from Glen Rhodes tutorial on
realtime day night cycles and GI
Lighting http://tinyurl.com/ju9z8b4
• Change day & night rotation speed
• Suggest changing Y rotations
Final
Scene
https://dl.dropboxusercontent.com/u/9011716/VRDEMO.unitypackage

Mais conteúdo relacionado

Destaque

Destaque (12)

Mobile AR Lecture6 - Introduction to Unity 3D
Mobile AR Lecture6 - Introduction to Unity 3DMobile AR Lecture6 - Introduction to Unity 3D
Mobile AR Lecture6 - Introduction to Unity 3D
 
Unity 3d Basics
Unity 3d BasicsUnity 3d Basics
Unity 3d Basics
 
Introduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameIntroduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First Game
 
Setup for Visualisation & Interactive Prototyping with Unity3D
Setup for Visualisation & Interactive Prototyping with Unity3DSetup for Visualisation & Interactive Prototyping with Unity3D
Setup for Visualisation & Interactive Prototyping with Unity3D
 
Pathfinding - Part 2: Examples in Unity
Pathfinding - Part 2: Examples in UnityPathfinding - Part 2: Examples in Unity
Pathfinding - Part 2: Examples in Unity
 
Unity 3d scripting tutorial
Unity 3d scripting tutorialUnity 3d scripting tutorial
Unity 3d scripting tutorial
 
Basic VR Development Tutorial Integrating Oculus Rift and Razer Hydra
Basic VR Development Tutorial Integrating Oculus Rift and Razer HydraBasic VR Development Tutorial Integrating Oculus Rift and Razer Hydra
Basic VR Development Tutorial Integrating Oculus Rift and Razer Hydra
 
Unity 5 Overview
Unity 5 OverviewUnity 5 Overview
Unity 5 Overview
 
Unity 3d
Unity 3dUnity 3d
Unity 3d
 
Unity introduction for programmers
Unity introduction for programmersUnity introduction for programmers
Unity introduction for programmers
 
Unity3D Programming
Unity3D ProgrammingUnity3D Programming
Unity3D Programming
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 

Semelhante a Introductory Virtual Reality in Unity3d

Developing Games For VR - Lessons Learned
Developing Games For VR - Lessons LearnedDeveloping Games For VR - Lessons Learned
Developing Games For VR - Lessons Learned
Martin Climatiano
 

Semelhante a Introductory Virtual Reality in Unity3d (20)

Introductory Augmented Reality in Unity with Android and Vuforia
Introductory Augmented Reality in Unity with Android and VuforiaIntroductory Augmented Reality in Unity with Android and Vuforia
Introductory Augmented Reality in Unity with Android and Vuforia
 
Cross platform game development
Cross platform game developmentCross platform game development
Cross platform game development
 
Unity Basics and Mobile VR
Unity Basics and Mobile VRUnity Basics and Mobile VR
Unity Basics and Mobile VR
 
Luis cataldi-ue4-vr-best-practices2
Luis cataldi-ue4-vr-best-practices2Luis cataldi-ue4-vr-best-practices2
Luis cataldi-ue4-vr-best-practices2
 
Developing VR Experiences with Unity
Developing VR Experiences with UnityDeveloping VR Experiences with Unity
Developing VR Experiences with Unity
 
DIY Mobile VR with Unity 3d & Cardboard SDK
DIY Mobile VR with Unity 3d & Cardboard SDKDIY Mobile VR with Unity 3d & Cardboard SDK
DIY Mobile VR with Unity 3d & Cardboard SDK
 
C PPT.pptx
C PPT.pptxC PPT.pptx
C PPT.pptx
 
STEM Camp Virtual Reality
STEM Camp Virtual RealitySTEM Camp Virtual Reality
STEM Camp Virtual Reality
 
Making VR Games and Experiences in UE4
Making VR Games and Experiences in UE4Making VR Games and Experiences in UE4
Making VR Games and Experiences in UE4
 
Making VR games and experiences in Unreal Engine
Making VR games and experiences in Unreal EngineMaking VR games and experiences in Unreal Engine
Making VR games and experiences in Unreal Engine
 
Introduction to Unity
Introduction to UnityIntroduction to Unity
Introduction to Unity
 
Unity Google VR Cardboard Deployment on iOS and Android
Unity Google VR Cardboard Deployment on iOS and AndroidUnity Google VR Cardboard Deployment on iOS and Android
Unity Google VR Cardboard Deployment on iOS and Android
 
Introduction to mixed reality (XR)
Introduction to mixed reality (XR)Introduction to mixed reality (XR)
Introduction to mixed reality (XR)
 
Emerging technology presentation
Emerging  technology  presentationEmerging  technology  presentation
Emerging technology presentation
 
Cardboard VR: Building Low Cost VR Experiences
Cardboard VR: Building Low Cost VR ExperiencesCardboard VR: Building Low Cost VR Experiences
Cardboard VR: Building Low Cost VR Experiences
 
Developing Games For VR - Lessons Learned
Developing Games For VR - Lessons LearnedDeveloping Games For VR - Lessons Learned
Developing Games For VR - Lessons Learned
 
Diablo III Troubleshooting
Diablo III TroubleshootingDiablo III Troubleshooting
Diablo III Troubleshooting
 
VR Optimization Techniques
VR Optimization Techniques VR Optimization Techniques
VR Optimization Techniques
 
Virtual reality
Virtual realityVirtual reality
Virtual reality
 
Lecture2_practice.pdf
Lecture2_practice.pdfLecture2_practice.pdf
Lecture2_practice.pdf
 

Mais de Bond University

Mais de Bond University (14)

Integrating Mixed Reality Pedagogy into Education
Integrating Mixed Reality Pedagogy into EducationIntegrating Mixed Reality Pedagogy into Education
Integrating Mixed Reality Pedagogy into Education
 
Weaving technology into the fabric of the classroom: Future jobs
Weaving technology into the fabric of the classroom: Future jobsWeaving technology into the fabric of the classroom: Future jobs
Weaving technology into the fabric of the classroom: Future jobs
 
Preparing Learners for Future Jobs
Preparing Learners for Future JobsPreparing Learners for Future Jobs
Preparing Learners for Future Jobs
 
Classrooms of the Future: How to Add Mixed Reality and Robotics to a Schools ...
Classrooms of the Future: How to Add Mixed Reality and Robotics to a Schools ...Classrooms of the Future: How to Add Mixed Reality and Robotics to a Schools ...
Classrooms of the Future: How to Add Mixed Reality and Robotics to a Schools ...
 
Using Gamification and Mixed Reality Visualization to Improve Conceptual Unde...
Using Gamification and Mixed Reality Visualization to Improve Conceptual Unde...Using Gamification and Mixed Reality Visualization to Improve Conceptual Unde...
Using Gamification and Mixed Reality Visualization to Improve Conceptual Unde...
 
Piloting Mixed Reality in ICT Networking to Visualize Complex Theoretical Mul...
Piloting Mixed Reality in ICT Networking to Visualize Complex Theoretical Mul...Piloting Mixed Reality in ICT Networking to Visualize Complex Theoretical Mul...
Piloting Mixed Reality in ICT Networking to Visualize Complex Theoretical Mul...
 
Gold Coast Mayors Technology Awards 2016: Visualisation and Interactive Proto...
Gold Coast Mayors Technology Awards 2016: Visualisation and Interactive Proto...Gold Coast Mayors Technology Awards 2016: Visualisation and Interactive Proto...
Gold Coast Mayors Technology Awards 2016: Visualisation and Interactive Proto...
 
Interactive Mixed Reality for Enhanced Learning, Skills and Engagement
Interactive Mixed Reality for Enhanced Learning, Skills and EngagementInteractive Mixed Reality for Enhanced Learning, Skills and Engagement
Interactive Mixed Reality for Enhanced Learning, Skills and Engagement
 
The future of jobs focusing on Interactive Media and Design
The future of jobs focusing on Interactive Media and DesignThe future of jobs focusing on Interactive Media and Design
The future of jobs focusing on Interactive Media and Design
 
Towards a Pedagogy of Comparative Visualization in 3D Design Disciplines
Towards a Pedagogy of Comparative Visualization in 3D Design DisciplinesTowards a Pedagogy of Comparative Visualization in 3D Design Disciplines
Towards a Pedagogy of Comparative Visualization in 3D Design Disciplines
 
Teaching Complex Theoretical Multi-Step Problems in ICT Networking through 3D...
Teaching Complex Theoretical Multi-Step Problems in ICT Networking through 3D...Teaching Complex Theoretical Multi-Step Problems in ICT Networking through 3D...
Teaching Complex Theoretical Multi-Step Problems in ICT Networking through 3D...
 
Visualization and Interactive Prototyping with Unity3D
Visualization and Interactive Prototyping with Unity3DVisualization and Interactive Prototyping with Unity3D
Visualization and Interactive Prototyping with Unity3D
 
Getting Serious about the Future of Design and Games
Getting Serious about the Future of Design and GamesGetting Serious about the Future of Design and Games
Getting Serious about the Future of Design and Games
 
Effect of mixed media visualization on learner perceptions and outcomes
Effect of mixed media visualization on learner perceptions and outcomesEffect of mixed media visualization on learner perceptions and outcomes
Effect of mixed media visualization on learner perceptions and outcomes
 

Último

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Último (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 

Introductory Virtual Reality in Unity3d

  • 1. Introductory VR in Unity 3d Dr James Birt
  • 2. Requirements • Unity 5.3 or higher • Oculus runtime 0.8 installed
  • 5. Simple Test – View a Cube Press Play - if everything is setup correctly you should see a cube through your VR headset
  • 6. FPS Controller • Open Unity3d Asset Store • Type first person controller – Press Enter • Click FREE ONLY • Click Standard Assets • Download • In the Import Window Select None - then Select FirstPersonCharacter; CrossPlatformInput; Utility & click Import
  • 7. FPS Controller • Drag FPSController Prefab into Hierarchy • Remove Main Camera from Hierarchy • Add a 3D Plane to the Scene • Create a contrasting material color for your cube and apply • Position Cube; Controller and Plane in the scene • Press Play • Using your Keyboard and Mouse you can now walk around the game scene
  • 8. Optimising for Framerates & Quality • Select Project Settings – Quality • Select Simple and change Anti Aliasing to 4x Multi Sampling • Anti Aliasing is very important in VR and where possible should be enabled • Increase Default Render Scale from 1.0 to 1.5 which increases object sharpness – see next slide • Avoid Dynamic Lighting where possible – best to bake lights
  • 9. How to Increase Render Scale • Create new C# file called RenderScale • Add the following code and attach script to FPSController • Code is from Unity Getting Started Tutorial - http://tinyurl.com/j2elrjt
  • 10. If Dynamic Sun Required! • Click Windows – Lighting • Add Directional Light to the Sun • Ambient GI – Baked • Create C# Script – AutoIntensity • Add the following modified code from Glen Rhodes tutorial on realtime day night cycles and GI Lighting http://tinyurl.com/ju9z8b4 • Change day & night rotation speed • Suggest changing Y rotations