Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.com
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comDieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tuur« (1. Oktober 2013, 17:33)
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
|
|
Quellcode |
1 |
lookto(get(view.hlookat),get(view.vlookat),get(view.fov)); |
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.com|
|
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 |
<action name="load_new_scene"> loadscene(%1, null, MERGE, ZOOMBLEND(1,2)); wait(0.1); wait(BLEND); </action> <action name="autotour"> oninterrupt(break); if(step == 1, oninterrupt(set(step,1)); lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step);); if(step == 2, load_new_scene(scene1); inc(step);); if(step == 3, oninterrupt(set(step,3)); lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step);); if(step == 4, load_new_scene(scene2); inc(step);); if(step == 5, oninterrupt(set(step,5)); lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step);); if(step == 6, load_new_scene(scene3); inc(step);); if(step == 7, oninterrupt(set(step,7)); lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step);); if(step == 8, load_new_scene(scene4); inc(step);); if(step == 9, set(step,1); autotour();); </action> |
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.com|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
set(step,1);
set(idletime,4);
set(events.onidle, delayedcall(autotour, 30.0, if(step LT scene.count, load_new_scene(get(scene[get(step)].name));inc(step),load_new_scene(get(scene[0].name));set(step,1);)););
</action>
<events onclick="stopdelayedcall(autotour);" name="start_full" keep="true" />
<action name="load_new_scene">
loadscene(%1, null, MERGE, ZOOMBLEND(1,2));
wait(0.1);
wait(BLEND);
</action>
<autorotate enabled="true"
waittime="1.0"
speed="-13.0"
horizon="10.0"
/>
|