-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
54 lines (54 loc) · 1.9 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>vtour - Demo</title>
<style>
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden;}
canvas { display: block; }
</style>
<link rel="stylesheet" href="examples/vtour.css">
</head>
<body>
<script src="lib/three.min.js"></script>
<script src="lib/OrbitControls.js"></script>
<script src="examples/vtour.min.js"></script>
<script>
var tour = VTOUR.start(document.body, {
entrySceneUid: "scene_0",
assetsPath: "assets",
scenes: [
{
uid: "scene_0",
title: "Scene",
image: "examples/demo_image_0.png",
transitions: [
{
toUid: "scene_1",
point: {radius: 0.6, height: 0, angle: -2.785}
}
],
photos: [
{
title: "Additional picture",
image: "examples/picture.png",
point: {radius: 0.6, height: 0, angle: -1.565}
}
]
},
{
uid: "scene_1",
title: "Another scene",
image: "examples/demo_image_1.png",
transitions: [
{
toUid: "scene_0",
point: {radius: 0.6, height: -125, angle: 0.0}
}
]
}
]
});
</script>
</body>
</html>