-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (37 loc) · 1.02 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Test page</title>
</head>
<body>
<!-- Required Libraries
==========================-->
<script type="text/javascript" src="lib/three.min.js"></script>
<script type="text/javascript" src="lib/Detector.js"></script>
<script type="text/javascript" src="lib/OrbitControls.js"></script>
<!-- Photosphere Library
==========================-->
<script type="text/javascript" src="lib/Photosphere.js"></script>
<!-- Canvas Scale and positioning
==========================-->
<style type="text/css">
#canvas-photosphere {
position: fixed;
top: 0;
left: 0;
}
</style>
<!-- Initalize the Photosphere
=================================-->
<script type="text/javascript">
if (!Detector.webgl) {
Detector.addGetWebGLMessage();
} else {
// photosphere.init("URL for Photosphere");
// Images can be JPG, PNG, or GIF
Photosphere.init("Bear_Creek_Falls-Telluride_CO.jpg");
}
</script>
</body>
</html>