Skip to content

Commit 2e720d2

Browse files
author
David Kline (ANALOG)
committed
boundary getting started and visualization config docs
1 parent 67b2bad commit 2e720d2

10 files changed

+182
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Boundary System
2+
3+
The Boundary system provides support for visualizing Virtual Reality boundary components in
4+
mixed reality applications. Boundaries define the area in which users can move around in
5+
while wearing a VR headset.
6+
7+
Boundaries are an important component of a mixed reality experince to help users avoid unseen
8+
obstacles while wearing a VR headset.
9+
10+
Many Virtual Reality platforms provide automatic display, for example a white outline
11+
superimposed on the virtual world as the user or their controller nears the boundary. The
12+
Mixed Reality Toolkit's boundary system extends this feature to enable the diplay of an
13+
outline of the tracked area, a floor plane and other features that can be used to provide
14+
additional information to users.
15+
16+
## Getting Started
17+
18+
Adding support for boundaries requires two key components of the Mixed Reality Toolkit: the
19+
boundary system and a Virtual Reality platform configured with a boundary.
20+
21+
1. [Enable](#enable-boundary-system) the boundary system
22+
2. [Configure](#configure-boundary-visualization) the boundary visualization
23+
3. [Build and deploy](#build-and-deploy) to a VR platform with a configured boundary
24+
25+
## Enable Boundary System
26+
27+
The boundary system is managed by the MixedRealityToolkit object (or another
28+
[service registrar](xref:Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar) component).
29+
30+
> The following steps presume use of the MixedRealityToolkit object. Steps required for other service registrars may be different.
31+
32+
1. Select the MixedRealityToolkit object in the scene hierarchy.
33+
34+
![MRTK Configured Scene Hierarchy](../../External/ReadMeImages/MRTK_ConfiguredHierarchy.png)
35+
36+
2. Navigate the Inspector panel to the Boundary System section and check Enable
37+
38+
![Enable the Boundary System](../../External/ReadMeImages/Boundary/MRTKConfig_Boundary.png)
39+
40+
3. Select the Boundary System implementation
41+
42+
![Select the Boundarys System Implementation](../../External/ReadMeImages/Boundary/BoundarySelectSystemType.png)
43+
44+
> Users of the default profile (DefaultMixedRealityToolkitConfigurationProfile) will have the boundary system pre-configured to use the MixedRealityBoundarySystem from the Mixed Reality
45+
Toolkit Boundary System Service package.
46+
47+
## Configure Boundary Visualization
48+
49+
The boundary system uses a configuration profile to specify which boundary components are to be displayed and to configure their appearance. Please see [Configuring the Boundary Visualization](ConfiguringBoundaryVisualization.md) for more information pertaining to the available visualization options.
50+
51+
![Boundary Visualization Options](../../External/ReadMeImages/Boundary/BoundaryVisualizationProfile.png)
52+
53+
> Users of the default profile (DefaultMixedRealitBoundarySystemProfile) will have the boundary system pre-configured to display a floor plane, the play area and the tracked area.
54+
55+
## Build and Deploy
56+
57+
Once the boundary system is configured with the desired visualization options, the project can be built deployed to the target platform.
58+
59+
> Using Play Mode, in Unity, enables in editor visualization of the configured boundary. This feature enables rapid development and testing without requiring the build and deploy step. Be sure to do final acceptance testing using an built and deployed version of the application, running on the target hardware and platform.
60+
61+
## See Also
62+
63+
- [Boundary API documentation](xref:Microsoft.MixedReality.Toolkit.Boundary)
64+
- [Configuring the Boundary Visualization](ConfiguringBoundaryVisualization.md)
65+
- [Using Boundaries in an Application](../TODO.md)
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# Configuring the Boundary Visualization
2+
3+
The Boundary Visualization Profile provides options for configuring:
4+
5+
- [General Settings](#general-settings)
6+
- [Floor Settings](#floor-settngs)
7+
- [Play Area Settings](#play-area-settings)
8+
- [Tracked Area Settings](#tracked-area-settings)
9+
- [Boundary Wall Settings](#boundary-wall-settings)
10+
- [Boundary Ceiling Settings](#boundary-ceiling-settings)
11+
12+
Boundary visualizations are attached to the Mixed Reality Playspace object in the scene and teleport with the user.
13+
14+
## General Settings
15+
16+
![Boundary Visualization General Settings](../../External/ReadMeImages/Boundary/BoundaryVisualizationGeneralSettings.png)
17+
### Boundary Height
18+
19+
The boundary height indicates the distance above the floor plane at which the boundary ceiling should be rendered. The default value is 3 meters.
20+
21+
## Floor Settings
22+
23+
![Boundary Visualization Floor Settings](../../External/ReadMeImages/Boundary/BoundaryVisualizationFloorSettings.png)
24+
25+
### Show
26+
27+
Indicates whether or not a floor plane is to be created and added to the scene. The default value is true.
28+
29+
### Material
30+
31+
Indicates the material that should be used when creating the floor plane.
32+
33+
### Scale
34+
35+
Indicates the size, in meters, of the floor plane to be created. The default scale is a 3 meter x 3 meter square.
36+
37+
### Physics Layer
38+
39+
The layer on which the floor plane should be set. The default value is the Default layer.
40+
41+
## Play Area Settings
42+
43+
![Boundary Visualization Play Area Settings](../../External/ReadMeImages/Boundary/BoundaryVisualizationPlayAreaSettings.png)
44+
45+
### Show
46+
47+
Indicates whether or not a play area rectangle is be created and added to the scene. The default value is true.
48+
49+
### Material
50+
51+
Indicates the material that should be used when creating the play area object.
52+
53+
### Physics Layer
54+
55+
The layer on which the play area should be set. The default value is the Ignore Raycast layer.
56+
57+
## Tracked Area Settings
58+
59+
![Boundary Visualization Tracked Area Settings](../../External/ReadMeImages/Boundary/BoundaryVisualizationTrackedAreaSettings.png)
60+
61+
### Show
62+
63+
Indicates whether or not the outline of the tracked area is be created and added to the scene. The default value is true.
64+
65+
### Material
66+
67+
Indicates the material that should be used when creating the tracked area outline.
68+
69+
### Physics Layer
70+
71+
The layer on which the tracked area should be sets. The default value is the Ignore Raycast layer.
72+
73+
## Boundary Wall Settings
74+
75+
![Boundary Visualization Boundary Wall Settings](../../External/ReadMeImages/Boundary/BoundaryVisualizationWalllSettings.png)
76+
77+
### Show
78+
79+
Indicates whether or not boundary wall planes are to be created and added to the scene. The default value is false.
80+
81+
### Material
82+
83+
Indicates the material that should be used when creating the boundary wall planes.
84+
85+
### Physics Layer
86+
87+
The layer on which the boundary walls should be set. The default value is the Ignore Raycast layer.
88+
89+
> Setting the boundary wall component to a physics layer other than Ignore Raycast may prevent users from interacting with objects within the scene.
90+
91+
## Boundary Ceiling Settings
92+
93+
![Boundary Visualization Boundary Ceiling Settings](../../External/ReadMeImages/Boundary/BoundaryVisualizationCeilingSettings.png)
94+
95+
### Show
96+
97+
Indicates whether or not a boundary ceiling plane is to be created and added to the scene. The default value is false.
98+
99+
### Material
100+
101+
Indicates the material that should be used when creating the boundary ceiling plane.
102+
103+
### Physics Layer
104+
105+
The layer on which the boundary walls should be set. The default value is the Ignore Raycast layer.
106+
107+
> Setting the boundary ceiling component to a physics layer other than Ignore Raycast may prevent users from interacting with objects within the scene.
108+
109+
## See Also
110+
111+
- [Boundary System](BoundaryGettingStarted.md)
112+
- [Using Boundaries in an Application](../TODO.md)

Documentation/toc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
href: TODO.md
2020
- name: Service Provider
2121
href: MixedRealityConfigurationGuide.md
22+
- name: Boundary System
23+
href: Boundary/BoundarySystemGettingStarted.md
24+
items:
25+
- name: Configuring the Boundary Visualization
26+
href: Boundary/ConfiguringBoundaryVisualization.md
2227
- name: Input
2328
href: TODO.md
2429
items:
12.8 KB
Loading
7.35 KB
Loading
7.38 KB
Loading
2.56 KB
Loading
7.03 KB
Loading
7.37 KB
Loading
7.6 KB
Loading

0 commit comments

Comments
 (0)