For example, session space (0, 0, 0) refers to the position at which the AR session was created. The coordinate system relative to the beginning of the AR session. These are usually high-frequency elements, such as a knot in a wood-grain surface. An AR device uses the device’s camera and image analysis to track specific points in the world, and uses these points to build a map of its environment. If the environment is too dark, for example, the device might "lose tracking", which means it can no longer accurately report its position.Ī real-world feature, such as a planar surface, that the AR device tracks and/or detects.Ī specific point in a point cloud. The AR device's ability to determine its relative position and orientation in the physical world. To use AR Foundation, you must also install at least one of these platform-specific AR packages from the Package Manager window (menu: Window > Package Manager): Subsystems are implemented in other packages. To install this package, follow the instructions in the Package Manager documentation. In general, they wrap that platform's native SDK (for example, ARKit on iOS and ARCore on Android). For example, the XRPlaneSubsystemDescriptor contains properties indicating whether it supports horizontal or vertical plane detection.Įach individual provider determines how to implement each subsystem. For example, the ARCore XR Plugin package contains the ARCore implementation for many of the AR subsystems.īecause different providers have varying support for specific features, each subsystem also has a descriptor that indicates which specific subsystem features it supports. ProvidersĪ provider is a concrete implementation of a subsystem. For example, XRPlaneSubsystem provides the plane detection interface. You will occasionally need to interact with the types in the AR Subsystems package.Įach subsystem handles specific functionality. The AR-related subsystems are defined in the AR Subsystems package and use the namespace UnityEngine.XR.ARSubsystems. A subsystem is a platform-agnostic interface for surfacing different types of information. The following platform packages and later implement the AR Foundation features indicated above: Package NameĪR Foundation is built on subsystems. You can refer to this table to understand which parts of AR Foundation are relevant on specific platforms: Occlusion: allows for occlusion of virtual content by detected environmental depth (environment occlusion) or by detected human depth (human occlusion).ĪR Foundation does not implement any AR features itself but, instead, defines a multi-platform API that allows you to work with functionality common to multiple platforms.Session management: manipulation of the platform-level configuration automatically when AR Features are enable or disabled.Pass-through video: optimized rendering of mobile camera image onto touch screen as the background for AR content.Raycast: queries physical surroundings for detected planes and feature points.Human segmentation: determines a stencil texture and depth map of humans detected in the camera image.Colaborative participants: track the position and orientation of other devices in a shared AR experience.Body tracking: 2D and 3D representations of humans recognized in physical space.Meshing: generate triangle meshes that correspond to the physical space.2D image tracking: detect and track 2D images.Face tracking: detect and track human faces.Environment probe: a means for generating a cube map to represent a particular area of the physical environment.Light estimation: estimates for average color temperature and brightness in physical space.Anchor: an arbitrary position and orientation that the device tracks.Point clouds, also known as feature points.Plane detection: detect horizontal and vertical surfaces.Device tracking: track the device's position and orientation in physical space. To use AR Foundation on a target device, you also need separate packages for the target platforms officially supported by Unity:ĪR Foundation is a set of MonoBehaviours and APIs for dealing with devices that support the following concepts: This package presents an interface for Unity developers to use, but doesn't implement any AR features itself. AR Foundation allows you to work with augmented reality platforms in a multi-platform way within Unity.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |