Sie sind nicht angemeldet.

1

Mittwoch, 23. Juli 2014, 22:27

Endlose Schleife in einer automatisch ablaufenden Tour

Gelöst:

Quellcode

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
<krpano version="1.17" title="Panoramaschau" onstart="startup();">

     

<action name="startup">

set(step,2); set(idletime,0); set(events.onidle, autotour(););

</action>


<action name="load_new_scene">

loadscene(%1, null, MERGE, 
ZOOMBLEND(1,2));wait(0.1);wait(BLEND);


</action>



<action name="autotour">

if(step == 1,  lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step););

if(step == 2, load_new_scene(scene_1); inc(step););

if(step == 3, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step););

if(step == 4, load_new_scene(scene_2); inc(step););

if(step == 5, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step););

if(step == 6, load_new_scene(scene_3); inc(step););

if(step == 7, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step););

if(step == 8, load_new_scene(scene_4); inc(step);); 

if(step == 9, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step););

if(step == 10, load_new_scene(scene_5); inc(step););

if(step == 11,  lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step););

if(step == 12, load_new_scene(scene_6); inc(step););

if(step == 13, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step););

if(step == 14, load_new_scene(scene_7); inc(step););

if(step == 15,  lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step););

if(step == 16,  inc(step);); startup();" 

</action>


	
	<scene name="scene_1" title="1" onstart="" thumburl="panos/1.tiles/thumb.jpg" lat="" lng="" heading="">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />

		<preview url="panos/1.tiles/preview.jpg" />

		<image>
			<cube url="panos/1.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="panos/1.tiles/mobile_%s.jpg" />
			</mobile>
		</image>

		<!-- place your scene hotspots here -->

	</scene>

	<scene name="scene_2" title="2" onstart="" thumburl="panos/2.tiles/thumb.jpg" lat="" lng="" heading="">

		<view hlookat="-149.024" vlookat="6.907" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />

		<preview url="panos/2.tiles/preview.jpg" />

		<image>
			<cube url="panos/2.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="panos/2.tiles/mobile_%s.jpg" />
			</mobile>
		</image>

		<!-- place your scene hotspots here -->

	</scene>

	<scene name="scene_3" title="3" onstart="" thumburl="panos/3.tiles/thumb.jpg" lat="" lng="" heading="">

		<view hlookat="4.355" vlookat="12.339" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />

		<preview url="panos/3.tiles/preview.jpg" />

		<image>
			<cube url="panos/3.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="panos/3.tiles/mobile_%s.jpg" />
			</mobile>
		</image>

		<!-- place your scene hotspots here -->

	</scene>

	<scene name="scene_4" title="4" onstart="" thumburl="panos/4.tiles/thumb.jpg" lat="" lng="" heading="">

		<view hlookat="39.695" vlookat="3.643" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />

		<preview url="panos/4.tiles/preview.jpg" />

		<image>
			<cube url="panos/4.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="panos/4.tiles/mobile_%s.jpg" />
			</mobile>
		</image>

		<!-- place your scene hotspots here -->

	</scene>

	<scene name="scene_5" title="5" onstart="" thumburl="panos/5.tiles/thumb.jpg" lat="" lng="" heading="">

		<view hlookat="16.108" vlookat="7.466" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />

		<preview url="panos/5.tiles/preview.jpg" />

		<image>
			<cube url="panos/5.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="panos/5.tiles/mobile_%s.jpg" />
			</mobile>
		</image>

		<!-- place your scene hotspots here -->

	</scene>

	<scene name="scene_6" title="6" onstart="" thumburl="panos/6.tiles/thumb.jpg" lat="" lng="" heading="">

		<view hlookat="139.742" vlookat="3.116" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />

		<preview url="panos/6.tiles/preview.jpg" />

		<image>
			<cube url="panos/6.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="panos/6.tiles/mobile_%s.jpg" />
			</mobile>
		</image>

		<!-- place your scene hotspots here -->

	</scene>

	<scene name="scene_7" title="7" onstart="" thumburl="panos/7.tiles/thumb.jpg" lat="" lng="" heading="">

		<view hlookat="-63.025" vlookat="4.843" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />

		<preview url="panos/7.tiles/preview.jpg" />

		<image>
			<cube url="panos/7.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="panos/7.tiles/mobile_%s.jpg" />
			</mobile>
		</image>

      		<!-- place your scene hotspots here -->
          
	</scene>


</krpano>


Nur: Warum ruckeln die Panoramen beim Drehen?


Lokal ist Fullscreen mit Rechtsklick möglich, online nicht. Geht das anders?

Grüße

Harald

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »panox« (24. Juli 2014, 14:15)


2

Donnerstag, 24. Juli 2014, 11:06

Lokal ist Fullscreen mit Rechtsklick möglich, online nicht. Geht das anders?
Das liegt an der direkten Verlinkung auf die .swf Datei!
Ich würde empfehlen dies niemals so zu verwenden oder zu veröffentlichen - der 'richtige' Weg wäre per HTML Datei, in welcher die swf Datei per krpano Einbinde Skript eingebunden wird - dann funktioniert auch der Fullscreen Modus und das Mausrad auf Mac Systemen.

Schöne Grüße,
Klaus

3

Donnerstag, 24. Juli 2014, 14:30

Danke, Klaus, habe ich geändert.

Grüße

Harald