XR Development with Unity A Beginner's Guide to Creating Virtual, Augmented, and Mixed Reality Experiences Using Unity
Create VR, AR, and MR experiences with the help of step-by-step tutorials on VR and AR simulators, interactivity, sound and visual effects, along with advanced XR techniques such as multiplayer integration Key Features Create impressive XR projects without the need to own expensive VR headsets Explo...
Other Authors: | , |
---|---|
Format: | eBook |
Language: | Inglés |
Published: |
Birmingham, England :
Packt Publishing Ltd
[2023]
|
Edition: | First edition |
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009785406506719 |
Table of Contents:
- Cover
- Title Page
- Copyright and Credits
- Contributors
- Table of Contents
- Preface
- Part 1 - Understanding the Basics of XR and Unity
- Chapter 1: Introduction to XR and Unity
- Understanding XR and its different forms (VR, AR, and MR)
- What is the difference between AR and MR?
- How did AR, VR, MR, and XR evolve?
- How did Unity evolve as a platform for XR development?
- Summary
- Chapter 2: The Unity Editor and Scene Creation
- Technical requirements
- Setting up the Unity development environment
- Installing the Unity Hub
- Installing the Unity Editor
- Loading a sample scene as a new Unity project
- Choosing the right render pipeline
- Getting to know the Unity Editor and its interface
- Exploring the Unity interface
- Using the Grid and Snap system
- Understanding GameObjects and components
- Understanding the default new scene
- Adding a collider
- Creating a basic scene in Unity and adding objects
- Building a table with primitives
- Changing the appearance of the ground, table, and sphere
- Creating a brick wall material
- Unpacking a prefab
- Importing from the Unity Asset Store
- Understanding Unity's lighting pipeline
- Choosing the right lighting settings
- Adding lights and a skybox
- Exploring light and reflection probes
- Summary
- Part 2 - Interactive XR Applications with Custom Logic, Animations, Physics, Sound, and Visual Effects
- Chapter 3: VR Development in Unity
- Technical requirements
- Windows
- macOS
- Linux
- What is VR development?
- Exploring the contrasts between classical and VR game development
- Understanding different approaches to power VR headsets
- Setting up a VR project in Unity and the XR Interaction Toolkit
- Creating a project in Unity for VR development
- Installing XR Plug-in Management and XR Plug-ins.
- Installing the XR Interaction Toolkit and samples
- Exploring the XR Interaction Toolkit demo scene
- Examining the pre-configured player
- Teleporting
- Exploring grabbable objects
- Inspecting different types of UI elements
- Interacting via buttons
- Exploring gaze interactions and climbing
- Deploying and testing VR experiences onto different VR platforms or simulators
- Installing the XR Device Simulator
- Using the XR Device Simulator
- Setting up SteamVR
- Setting up Oculus
- Summary
- Chapter 4: AR Development in Unity
- Technical requirements
- Understanding the AR landscape
- What types of AR experiences exist?
- What are marker-based and markerless AR?
- Understanding AR input types for interaction
- Popular AR toolkits for Unity
- Setting up an AR project in Unity using AR Foundation
- Understanding AR Foundation's architecture
- Creating an AR project with Unity's AR template
- Changing the project settings
- Understanding the AR Session GameObject
- Exploring the AR Session Origin GameObject
- Placing a simple cube into the AR scene
- Implementing plane detection in AR Foundation
- Implementing touch inputs and anchors
- Testing AR experiences directly in Unity
- Installing AR Foundation 5.0 or later versions and related packages
- Choosing an environment and testing the scene
- Deploying AR experiences onto mobile devices
- Deploying onto Android
- Deploying onto iOS
- Summary
- Chapter 5: Building Interactive VR Experiences
- Technical requirements
- Building interactive VR experiences without code
- Importing cars from the Asset Store
- Adding the player, teleport anchors, and button to the scene
- Interactable events that can be triggered
- Understanding animations and animator systems
- Animating a 360-degree car rotation
- Scaling a police car.
- Building interactive VR experiences with C#
- Understanding when to use C# for animations and interactions
- Understanding scripting with C# in Unity
- Scaling a bus using a slider and C#
- Summary
- Chapter 6: Building Interactive AR Experiences
- Technical requirements
- Understanding the design patterns and core components of an interactive AR application
- Building the foundation of our AR menu application
- Defining the key components of our AR application
- Setting up the environment
- Designing 3D food models
- Adding UI buttons and text elements to our AR menu application
- Adding interactivity to our AR menu application
- Adding the Food script to the scene
- Adding the ARPlacePrefab script to the scene
- Adding the SwapPrefab script to the scene
- Setting up On Click events for the buttons
- Exploring the completed, interactive AR menu application on a mobile device
- Summary
- Chapter 7: Adding Sound and Visual Effects
- Technical requirements
- Understanding sound theory and Unity's audio system
- What are frequency and amplitude?
- Understanding other properties of sound
- Exploring Unity's audio system
- Preparing the VR drum scene and adding sound effects
- Setting up and preparing your VR drum scene
- Creating and importing 3D models for your VR drum scene
- Adding sound effects to your VR drum scene
- Understanding particle behavior and Unity's particle system
- Understanding the behavior of particles in the real world
- Exploring Unity's Particle System
- Adding particles to VR scenes with varying properties
- Initializing a Particle System in your VR drum scene
- Modifying the properties of the Particle System in your VR drum scene
- Scripting fog appearance on collision for your VR drum scene
- Summary.
- Part 3 - Advanced XR Techniques: Hand-Tracking, Gaze-Tracking, and Multiplayer Capabilities
- Chapter 8: Building Advanced XR Techniques
- Technical requirements
- Adding hand-tracking to XR experiences
- Understanding hand-tracking and potential use cases
- Implementing hand-tracking with the XR Interaction Toolkit
- Interacting with objects in XR experiences via eye- or head-tracking
- Understanding eye-tracking and potential use cases
- Setting up an XR scene to support eye- and head-tracking
- Interacting with objects via eye and head gaze using the XR Interaction Toolkit
- Building a VR multiplayer application
- Understanding multiplayer applications and multiplayer networking systems
- Setting up PUN for our VR multiplayer game
- Connecting to the server via Network Manager
- Testing the multiplayer scene from one device
- Using scripts to display our avatar's hands and face
- Animating the hand models
- Enabling the hand animations at runtime
- Summary
- Chapter 9: Best Practices and Future Trends in XR Development
- Exploring current and future trends in XR technology and applications
- Learning in new realities - XR in education
- XR in industrial settings and smart manufacturing
- Bridging the gap from real bodies to virtual worlds - XR in healthcare
- Gaming across realities - XR trends in gaming
- Learning the best practices for XR development
- Hardware considerations in XR development
- Understanding your audience
- Efficient project management for XR
- Ensuring a good user experience
- Input devices
- Other useful toolkits and plugins for XR development
- Exploring powerful AR toolkits from the Unity Asset Store
- Exploring powerful VR toolkits from the Unity Asset Store
- Exploring powerful AI toolkits from the Unity Asset Store
- Prototyping XR applications
- Summary
- Index.
- Other Books You May Enjoy.