-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtour.xml~
179 lines (141 loc) · 6.62 KB
/
tour.xml~
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<krpano version="1.18" title="Virtual Tour" onstart="startup();dosec();js(getTime())">
<include url="skin/vtourskin.xml" />
<!-- set skin settings: bingmaps? gyro? thumbnails? tooltips? -->
<skin_settings maps="false"
maps_type="bing"
maps_bing_api_key=""
maps_zoombuttons="false"
gyro="true"
title="true"
thumbs="true"
thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160"
thumbs_opened="false"
thumbs_text="false"
thumbs_dragging="true"
thumbs_onhoverscrolling="false"
thumbs_scrollbuttons="false"
thumbs_scrollindicator="false"
thumbs_loop="false"
tooltips_thumbs="false"
tooltips_hotspots="false"
tooltips_mapspots="false"
loadscene_flags="MERGE"
loadscene_blend="BLEND(0.5)"
controlbar_offset="20"
/>
<!-- set optional skin logo url -->
<layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
</action>
<events onnewscene="js( DisHtml(get(xml.scene)) );"/>
<scene name="center" title="hsbne" onstart="" thumburl="panos/hsbne-center_png.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/hsbne-center_png.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512">
<level tiledimagewidth="688" tiledimageheight="688">
<cube url="panos/hsbne-center_png.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/hsbne-center_png.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="-11.147" atv="12.377" linkedscene="gr-top" />
</scene>
<scene name="gr-top" title="hsbne: green room: top" onstart="" thumburl="panos/hsbne-gr-top_png.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/hsbne-gr-top_png.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512">
<level tiledimagewidth="688" tiledimageheight="688">
<cube url="panos/hsbne-gr-top_png.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/hsbne-gr-top_png.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="-7.433" atv="8.263" linkedscene="gr-center" />
<hotspot name="spot2" style="skin_hotspotstyle" ath="165.905" atv="16.650" linkedscene="center" />
</scene>
<scene name="gr-center" title="hsbne: green room: center" onstart="" thumburl="panos/hsbne-gr-center_png.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/hsbne-gr-center_png.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512">
<level tiledimagewidth="688" tiledimageheight="688">
<cube url="panos/hsbne-gr-center_png.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/hsbne-gr-center_png.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="-10.410" atv="4.940" linkedscene="gr-bottom" />
<hotspot name="spot2" style="skin_hotspotstyle" ath="167.743" atv="4.456" linkedscene="gr-top" />
<hotspot name="screen"
url.flash="plugins/videoplayer.swf"
url.html5="plugins/videoplayer.js"
videourl="videos/screen.mp4|videos/screen.webm|videos/screen.flv"
posterurl="videos/screen.jpg"
ath="-90.869" atv="-10.960"
distorted="true"
scale="1.0"
rx="0.0"
ry="0.0"
rz="0.0"
pausedonstart=""
loop="false"
volume="1.0"
playbackrate="1.0"
directionalsound="true"
range="90.0"
rangefalloff="1.0"
outofrangevolume="0.0"
preferredformat=""
buffertime="0.1"
ignoremetadata="false"
onclick="togglepause();"
/>
</scene>
<scene name="gr-bottom" title="hsbne: green room: bottom" onstart="" thumburl="panos/hsbne-gr-bottom_png.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/hsbne-gr-bottom_png.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512">
<level tiledimagewidth="688" tiledimageheight="688">
<cube url="panos/hsbne-gr-bottom_png.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/hsbne-gr-bottom_png.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="169.805" atv="6.100" linkedscene="gr-center" />
<hotspot name="clock" url="plugins/bg.png" keep="false" edge="center" ath="-3.808" atv="-30.758" distorted="true"
onclick="js(getTime());"
/>
<hotspot name="hour" url="plugins/st.png" keep="false" edge="bottom" ath="-3.808" atv="-30.758" width="20" height="95" distorted="true" zorder="1" />
<hotspot name="min" url="plugins/st.png" keep="false" edge="bottom" ath="-3.808" atv="-30.758" width="10" height="130" distorted="true" zorder="2" />
<hotspot name="sec" url="plugins/st.png" keep="false" edge="bottom" ath="-3.808" atv="-30.758" width="5" height="130" distorted="true" zorder="3" />
</scene>
<action name="dosec" >
delayedcall(1,
add(hotspot[sec].rotate,6);
dosec();
ifnot(hotspot[sec].rotate LT 360,
set(hotspot[sec].rotate,0);
add(hotspot[min].rotate,6);
add(hotspot[hour].rotate,0.5);
);
ifnot(hotspot[min].rotate LT 360, set(hotspot[min].rotate,0); );
ifnot(hotspot[hour].rotate LT 720, set(hotspot[hour].rotate,0); );
);
</action>
<action name="setTime">
mul(hotspot[hour].rotate,%1,30);
mul(hotspot[min].rotate,%2,6);
mul(hotspot[sec].rotate,%3,6);
mul(hdelta,%2,0.5);
add(hotspot[hour].rotate,hdelta);
</action>
</krpano>