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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
|
<krpano version="1.18" title="Virtual Tour" onstart="startup();">
<!-- plugins -->
<plugin name="options" url="plugins/options.swf" keep="true" />
<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>
<!-- hotspot style predefines - white hotspot -->
<style name="hotspot_ani_white"
url="skin/hotspot_ani_white_64x64x20.png"
crop="0|0|64|64"
framewidth="64" frameheight="64" frame="0" lastframe="19"
onloaded="hotspot_animate();"
/>
<!-- hotspot animation action -->
<action name="hotspot_animate">
inc(frame,1,get(lastframe),0);
mul(ypos,frame,frameheight);
txtadd(crop,'0|',get(ypos),'|',get(framewidth),'|',get(frameheight));
delayedcall(0.03, if(loaded, hotspot_animate() ) );
</action>
<scene name="scene_pano_aussen_7000x3500" title="pano_aussen_7000x3500" onstart="" lat="" lng="" heading="">
<!--<view hlookat="44.776" vlookat="0.000" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />-->
<!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->
<view stereographic="true"
fisheye="1.0"
fov="155"
fovtype="VFOV"
fovmax="150"
hlookat="-60"
vlookat="77"
/>
<!-- fisheye and little planets projections are needing more cpu rendering performance,
to reduce the cpu need and get better performance and frame rate, switch to Flash9
rendering while in fisheye/littleplanet/stereographic mode -->
<display flash10="off" details="24" />
<!-- when the loading is done, wait 2 seconds and then start with the animation to an view -->
<events name="littlePlanet" onloadcomplete="delayedcall(2.0, normalview()); set(events.onloadcomplete,null);" />
<action name="normalview">
tween(view.hlookat, 50, 2.5, easeInOutQuad);
tween(view.vlookat, 0, 2.5, easeInOutQuad);
tween(view.fov, 85, 2.5, easeInOutQuad);
tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
tween(view.fovmin, 55, 2.5, easeInOutQuad);
tween(view.fovmax, 115, 2.5, easeInOutQuad);
wait(2.7);
set(display.flash10, on);
showtext('[b][i]krpano[br]little planet intro example[/i][/b]', infostyle)
</action>
<preview url="panos/pano_aussen_7000x3500.tiles/preview.jpg" />
<image>
<cube url="panos/pano_aussen_7000x3500.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/pano_aussen_7000x3500.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<!--<hotspot name="spot1" style="skin_hotspotstyle" ath="29.684" atv="17.225" linkedscene="scene_pano_vorne_7000x3500" />-->
<hotspot name="spot1"
style="hotspot_ani_white"
ath="29.684"
atv="5"
onclick="lookto(get(ath),5,60);
loadscene(scene_pano_vorne_7000x3500,null,MERGE,BLEND(1));
lookat(0, 0, 120);
set(view.architectural,1.0);
wait(BLEND);
tween(view.architectural,0.0,2.0);
oninterrupt( tween(view.architectural,0.0,0.5) );
lookto(-60, 0, 120, smooth(100,100,200));
"
/>
</scene>
<scene name="scene_pano_aussen2_7000x3500" title="pano_aussen_7000x3500" onstart="" thumburl="panos/pano_aussen_7000x3500.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/pano_aussen_7000x3500.tiles/preview.jpg" />
<image>
<cube url="panos/pano_aussen_7000x3500.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/pano_aussen_7000x3500.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_pano_mitte_7000x3500" title="pano_mitte_7000x3500" onstart="" thumburl="panos/pano_mitte_7000x3500.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="100" fovmin="70" fovmax="130" limitview="auto" />
<preview url="panos/pano_mitte_7000x3500.tiles/preview.jpg" />
<image>
<cube url="panos/pano_mitte_7000x3500.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/pano_mitte_7000x3500.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="-133.109" atv="6.843" linkedscene="scene_pano_aussen2_7000x3500" />
<!--<hotspot name="spot2" style="skin_hotspotstyle" ath="-152.020" atv="7.440" linkedscene="scene_pano_vorne_7000x3500" />-->
<hotspot name="spot2"
style="hotspot_ani_white"
ath="-152.020"
atv="7.440"
onclick="lookto(get(ath),5,60);
loadscene(scene_pano_vorne_7000x3500,null,MERGE,BLEND(1));
lookat(0, 0, 120);
set(view.architectural,1.0);
wait(BLEND);
tween(view.architectural,0.0,2.0);
oninterrupt( tween(view.architectural,0.0,0.5) );
lookto(-60, 0, 120, smooth(100,100,200));
"
/>
</scene>
<scene name="scene_pano_vorne_7000x3500" title="pano_vorne_7000x3500" onstart="" thumburl="panos/pano_vorne_7000x3500.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="85" fovmin="55" fovmax="115" limitview="auto" />
<preview url="panos/pano_vorne_7000x3500.tiles/preview.jpg" />
<image>
<cube url="panos/pano_vorne_7000x3500.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/pano_vorne_7000x3500.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<!--<hotspot name="spot1" style="skin_hotspotstyle" ath="-55.768" atv="7.890" linkedscene="scene_pano_mitte_7000x3500" />-->
<hotspot name="spot1"
style="hotspot_ani_white"
ath="-55.768"
atv="7.890"
onclick="lookto(get(ath),5,60);
loadscene(scene_pano_mitte_7000x3500,null,MERGE,BLEND(1));
lookat(0, 0, 100);
set(view.architectural,1.0);
wait(BLEND);
tween(view.architectural,0.0,2.0);
oninterrupt( tween(view.architectural,0.0,0.5) );
lookto(-140, 0, 100, smooth(100,100,200));
"
/>
<hotspot name="spot2" style="skin_hotspotstyle" ath="179.986" atv="21.371" linkedscene="scene_pano_aussen2_7000x3500" />
</scene>
</krpano>
|