-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
80 lines (69 loc) · 2.86 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
79
80
<!--
* Copyright 2013 George McKinney
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* References:
* - "Mobile Augmented Reality with HTML5 on BlackBerry 10"
* http://www.georgemckinney.com/2013/05/mobile-augmented-reality-with-
* html5-on-blackberry-10
*
* - See http://inmensia.com/files/aruco/debug-posit/debug-posit.html for
* Google Chrome Browser Original
*
* - See http://hosting.desire2learncapture.com/RIM/1/watch/114.aspx for
* Justin Lee, Christopher Saunders
* JAM834 - Web API Deep Dive: Multimedia Playback, Streaming and Camera
*
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>AR Earth</title>
<link rel="stylesheet" href="css/BlackBerry-JQM-all.min.css" />
<script src="js/BlackBerry-JQM-all.min.js"></script>
<script src="js/Three.js"></script>
<script src="js/svd.js"></script>
<script src="js/posit1.js"></script>
<script src="js/cv.js"></script>
<script src="js/aruco.js"></script>
<script src="local:///chrome/webworks.js" type="text/javascript"></script>
</head>
<body>
<div data-role="page">
<div data-role="header" data-position="fixed">
<h1>Augmented Reality Earth</h1>
</div>
<div data-role="content" style="height:100%;">
<div style="margin: 300px;"></div>
<div style="width: 100%;">
<video autoplay style="display:none;"></video>
<div style="width: 650px; margin-left:auto; margin-right:auto;">
<canvas id="canvas" style="width: 320px; height: 240px; float: left; border: solid 1px black;" width="320" height="240"></canvas>
<div id="container" style="width: 320px; height: 240px; float: left; border: solid 1px black; background: green;"><canvas width="320" height="240"></canvas></div>
<div style="clear: both;"></div>
<div style="float: left; border: solid 1px black;">
<div id="container1" style="width: 320px; height: 240px; background: red;"><canvas width="320" height="240"></canvas></div>
<div id="pose1"></div>
</div>
<div style="float: left; border: solid 1px black;">
<div id="container2" style="width: 320px; height: 240px; background: blue;"><canvas width="320" height="240"></canvas></div>
<div id="pose2"></div>
</div>
</div>
</div>
</div>
</div>
<script src="js/app.js"></script>
</body>
</html>