-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.html
executable file
·67 lines (56 loc) · 2.62 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>Augmented Reality Demo</title>
<link rel="stylesheet" href="assets/css/reset.css" />
<link rel="stylesheet" href="assets/css/styles.css" />
</head>
<body>
<div id="buttons_container">
<div class="buttons_container_wrapper">
<div id="model_button">Change to Bird</div>
<div class="button_separator">|</div>
<div id="snapshot_button">Take snapshot</div>
<div class="button_separator">|</div>
<div id="audio_button">Pause audio</div>
<div class="button_separator">|</div>
<div id="fullscreen_button">Go fullscreen</div>
</div>
</div>
<div id="ar_container"></div>
<footer>
<div class="author">
<div class="author_wrapper">Demo created by Marcelo Conceição</div>
</div>
</footer>
<div id="snapshot_container" style="display:none;">
<img id="image" src="">
<div id="image_buttons_container">
<div id="download_button">Download snapshot</div>
<div class="button_separator">|</div>
<div id="close_button">Close</div>
</div>
<canvas id="snapshot_canvas" style="display:none;"></canvas>
</div>
<script src="assets/js/require.js"></script>
<script type="text/javascript">
require.config({
baseUrl: "assets/js"
});
require(["JSARToolKit", "Three", "threex.jsartoolkit"], function() {
require(["script"]);
});
</script>
<!-- JavaScript includes -->
<!--<script src="assets/js/JSARToolKit.js" type="text/javascript"></script>-->
<!--<script src="assets/js/Three.js" type="text/javascript"></script>-->
<!--<script src="assets/js/Stats.js" type="text/javascript"></script>-->
<!--<script src="assets/js/threex.jsartoolkit.js" type="text/javascript"></script>-->
<!--<script src="assets/js/Audio.js" type="text/javascript"></script>-->
<!--<script src="assets/js/AugmentedReality.js" type="text/javascript"></script>-->
<!--<script src="assets/js/Snapshot.js" type="text/javascript"></script>-->
<!--<script src="assets/js/script.js" type="text/javascript"></script>-->
</body>
</html>