-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.html
78 lines (70 loc) · 1.75 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!--
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
-->
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>RATK Demo</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
line-height: 1.2;
}
ul {
list-style-type: none;
padding: 0;
}
li {
background: #f9f9f9;
padding: 5px;
margin-bottom: 5px;
border-radius: 5px;
}
strong {
font-weight: bold;
}
</style>
</head>
<body style="margin: 0">
<div id="scene-container" style="display: block"></div>
<div style="position: fixed; top: 10px; left: 10px">
<h1>Reality Accelerator Toolkit Demo</h1>
<ul>
<li>
<strong>Visualizing Tracked Planes and Meshes:</strong>
Displays wireframe outlines of real-world planes and meshes.
</li>
<li>
<strong>Interactive Hit-Testing:</strong>
Allows users to conduct hit tests against physical space.
</li>
<li>
<strong>Persistent Anchors Creation:</strong>
Enables users to create persistent markers in the MR space, shown as
green blocks.
</li>
<li>
<strong>Recovering Previous Session Anchors:</strong>
Recovers and displays markers from previous sessions, shown as red
blocks.
</li>
</ul>
<p>
<strong>How to use:</strong> Press trigger to generate marker at target,
press grip to erase all saved markers
</p>
<button id="ar-button"></button>
<button id="web-launch-button" style="display: none">
OPEN ON META QUEST
</button>
</div>
</body>
</html>