Hallo,
ich würde gern die Drehgeschwindigkeit bei Start und Stopp der Panoramen in meiner als Schleife ablaufenden Panoramaschau durch das moretweentypes - Plugin anpassen.
EaseInExpo scheint mir als Kurve dazu gut geeignet zu sein. Wie binde ich das nun in meinen Code ein?
Die Panoramafolge wird in Android 4.4.2 nicht im Vollbild-Modus angezeigt. Wie wird die Anweisung "bei Start Vollbildmodus" eingefügt?
Die Drehung läuft etwas ruckelig ab. Kann das verbessert werden?
Die Panoramen der Autotour sind nur Platzhalter der Demo und zusammenhanglos.
Hier die xml:
Code
<krpano version="1.17" title="Panoramaschau" onstart="startup();">
<!-- <plugin url="moretweentypes.swf"
alturl="moretweentypes.js"
preload="true"
/> -->
<action name="startup">
set(step,2); set(idletime,0); set(events.onidle, autotour(););
</action>
<action name="load_new_scene">
loadscene(%1, null, MERGE,
BLEND(2,2));wait(3);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" 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"></view>
<preview url="panos/1.tiles/preview.jpg"></preview>
<image>
<cube url="panos/1.tiles/pano_%s.jpg"></cube>
<mobile>
<cube url="panos/1.tiles/mobile_%s.jpg"></cube>
</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"></view>
<preview url="panos/2.tiles/preview.jpg"></preview>
<image>
<cube url="panos/2.tiles/pano_%s.jpg"></cube>
<mobile>
<cube url="panos/2.tiles/mobile_%s.jpg"></cube>
</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"></view>
<preview url="panos/3.tiles/preview.jpg"></preview>
<image>
<cube url="panos/3.tiles/pano_%s.jpg"></cube>
<mobile>
<cube url="panos/3.tiles/mobile_%s.jpg"></cube>
</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"></view>
<preview url="panos/4.tiles/preview.jpg"></preview>
<image>
<cube url="panos/4.tiles/pano_%s.jpg"></cube>
<mobile>
<cube url="panos/4.tiles/mobile_%s.jpg"></cube>
</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"></view>
<preview url="panos/5.tiles/preview.jpg"></preview>
<image>
<cube url="panos/5.tiles/pano_%s.jpg"></cube>
<mobile>
<cube url="panos/5.tiles/mobile_%s.jpg"></cube>
</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"></view>
<preview url="panos/6.tiles/preview.jpg"></preview>
<image>
<cube url="panos/6.tiles/pano_%s.jpg"></cube>
<mobile>
<cube url="panos/6.tiles/mobile_%s.jpg"></cube>
</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"></view>
<preview url="panos/7.tiles/preview.jpg"></preview>
<image>
<cube url="panos/7.tiles/pano_%s.jpg"></cube>
<mobile>
<cube url="panos/7.tiles/mobile_%s.jpg"></cube>
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
</krpano>
Display More
Vielen Dank fürs Lesen!
Grüße
Harald