- Unity 2020 Virtual Reality Projects
- Jonathan Linowes
- 393字
- 2021-06-11 18:54:53
Introducing the Unity XR platform
Unity's XR platform aims to provide the tools necessary to achieve the core principle of the Unity engine – "Build once, deploy anywhere" – for VR and AR projects so that you can target any number of different platforms and devices with a single version of your content. In the past, VR developers have been plagued by incompatible device-specific, vendor-specific, platform-specific SDKs and toolkits. Various other "solutions," both open source and proprietary, have had serious shortcomings and limited support. The XR platform architecture has a technology stack that enables direct integrations of multi-platform deep integration, new features, and optimization. The XR tech stack is shown in the following diagram, which has been taken from the Unity Manual's XR Plug-in Framework page (https://docs.unity3d.com/Manual/XRPluginArchitecture.html):

At the bottom of the stack are device-specific XR plugins. Some are provided and directly supported by Unity. Others are provided and supported by third-party developers for their own devices. This XR plugin architecture itself is a very important design as it decouples device-specific updates from the core Unity release cycle, as well as allows device providers to independently add and update their own device support in Unity (using the Unity XR SDK).
Using these provider plugins, the XR subsystems deliver core capabilities in a modular design, organized and separated by feature category. This allows developers to choose which XR features they want to build into a project and allows Unity to update individual subsystem modules independently. As a developer, you can use these subsystem components and C# classes directly in your projects, keeping the project content relatively device-independent. This way, you can focus on your own project's features instead of fighting differences between specific device APIs.
On top of the XR plugin framework, Unity offers two toolkits. AR Foundation is for augmented reality projects and won't be considered in this book. The XR Interaction (XRI) Toolkit is for both VR and AR, and we are going to use it extensively in the projects in this book. As we'll see, XRI provides components for tracking camera rigs and hand controllers, as well as for interaction with objects in the scene such as grabbing and throwing, teleportation, and other interactions common in virtual reality.
To get started with your Unity project ready for VR, you should identify the VR platform(s) and device(s) you initially plan to target.
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- Drupal 8 Blueprints
- Learning Selenium Testing Tools with Python
- Mastering PHP Design Patterns
- Python高級編程
- QTP自動化測試進階
- iOS編程基礎(chǔ):Swift、Xcode和Cocoa入門指南
- 從Power BI到Analysis Services:企業(yè)級數(shù)據(jù)分析實戰(zhàn)
- Flask Web開發(fā):基于Python的Web應(yīng)用開發(fā)實戰(zhàn)(第2版)
- PyQt編程快速上手
- Learning Jakarta Struts 1.2: a concise and practical tutorial
- Mastering OpenStack
- LabVIEW入門與實戰(zhàn)開發(fā)100例(第4版)
- 計算機軟件項目實訓(xùn)指導(dǎo)
- 數(shù)據(jù)庫技術(shù)及應(yīng)用教程上機指導(dǎo)與習(xí)題(第2版)