You are not logged in.

Adbolado

Beginner

  • "Adbolado" started this thread

Posts: 24

Location: Kuwait

Occupation: Advertising Art Director

  • Send private message

1

Tuesday, August 20th 2013, 3:43pm

Auto Loadscene

I have 10 pano virtual tour. Is it possible to loadscene automatically without clicking on any hotspot? In every 360 rotation of a pano, next scene will auto load and so on and to start from the beginning after the last scene.

Any help is highly appreciated.

Thanks,
Alex

view360

Beginner

Posts: 25

Location: Chennai

Occupation: Virtual Tour Photographer

  • Send private message

2

Tuesday, August 20th 2013, 6:06pm

It may be help you,

<action name="auto">
oninterrupt(break);wait(10);lookto(360,0,90,smooth(7,7,7), false);nextscene();wait(8);
lookto(360,0,90,smooth(7,7,7), false);wait(3);nextscene();wait(8);
lookto(360,0,90,smooth(7,7,7), false);wait(3);nextscene();wait(8);
lookto(360,0,90,smooth(7,7,7), false);wait(3);nextscene();wait(8);
..........................................
..........................................
..........................................
..........................................
lookto(360,0,90,smooth(7,7,7), false);wait(3);nextscene();wait(8);auto();

</action>


<action name="prevscene">
if(%1 != findnext, sub(i,scene.count,1));
txtadd(scenexml,'<krpano>',get(scene[%i].content),'</krpano>');
if(scenexml == xml.content,
dec(i);
if(i LT 0, sub(i,scene.count,1));
loadscene(get(scene[%i].name), null, MERGE, BLEND(1));closethumbs(get(thumbname));
,
dec(i);
if(i GE 0, prevscene(findnext));
);
</action>

<action name="nextscene">
if(%1 != findnext, set(i,0));
txtadd(scenexml,'<krpano>',get(scene[%i].content),'</krpano>');
if(scenexml == xml.content,
inc(i);
if(i == scene.count, set(i,0));
loadscene(get(scene[%i].name), null, MERGE, BLEND(1));closethumbs(get(thumbname));
,
inc(i);
if(i LT scene.count, nextscene(findnext));
);
</action>

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

3

Tuesday, August 20th 2013, 7:46pm

Hi!
try to search "bombtimer" on the forum
Hope it helps you

Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

Adbolado

Beginner

  • "Adbolado" started this thread

Posts: 24

Location: Kuwait

Occupation: Advertising Art Director

  • Send private message

4

Wednesday, August 21st 2013, 4:17pm

Hi, Thanks for all your inputs, I tried one with a more simple coding and it worked but not interactive (only for AV Presentation)
I used the autorotate


<autorotate enabled="true"
waittime="2"
speed="3.5"
/>

<scene name="scene_ma1pano" title="WELCOME" onstart="scene2" thumburl="panos/ma1-pano.tiles/thumb.jpg" lat="" lng="" heading="">

<events name="scene2"
onloadcomplete="delayedcall(100, looktohotspot(spot2); loadscene(scene_ma2pano); );"
/>

and manually timed the delayedcall 100 to complete a full 360 rotation before loading scene2 and its actually showing the hotspot zoom animation.

Thanks again guys,
Alex

servaas

Intermediate

Posts: 218

Location: Belgium

  • Send private message

5

Thursday, April 3rd 2014, 3:27pm

smart Adbolado !

Thanks !

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

6

Thursday, April 3rd 2014, 6:23pm

Hi!
take a look at this
Timer, Autotour
There is new autotour example

Regards
Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN