Making an auto tour for multiple scenes

  • Hi,

    I'm searching for a way to make an auto tour for different scenes so the whole virtual tour will be seen like a video but the user can take the control in any time to manipulate the virtual tour.

    Is there any example please?

    Thank you.

  • Hi,

    please use the search function. There is plenty info, code examples etc.. about it.
    But there is also the autotour plugin from Umalo.
    https://krpano.com/plugins/userplugins/autotour/#top

    Hope it helps
    Tuur *thumbsup*

  • Thank you for your answer, i'm trying this code but having some issues :


    <action name="autotour">
    oninterrupt(break);

    if(step == 1, lookto(-200, 15,get(view.fov), smooth(2,2,5), false); set(step,2); );
    if(step == 2, loadscene(scene_9, null, MERGE, ZOOMBLEND(1,2) ); lookto(30, get(view.vlookat),get(view.fov), smooth(2,2,5), false); set(step,3); );
    if(step == 3, loadscene(scene_6, null, MERGE, ZOOMBLEND(1,2) ); lookto(50, get(view.vlookat),get(view.fov), smooth(2,2,5), false); set(step,4); );
    if(step == 4, loadscene(scene_3, null, MERGE, ZOOMBLEND(1,2) ); lookto(-30, get(view.vlookat),get(view.fov), smooth(2,2,5), false); set(step,5); );
    if(step == 5, loadscene(scene_5, null, MERGE, ZOOMBLEND(1,2) ); lookto(-210, get(view.vlookat),get(view.fov), smooth(2,2,5), false); set(step,6); );
    if(step == 6, loadscene(scene_4, null, MERGE, ZOOMBLEND(1,2) ); lookto(120, get(view.vlookat),get(view.fov), smooth(2,2,5), false); set(step,7); );
    if(step == 7, loadscene(scene_2, null, MERGE, ZOOMBLEND(1,2) ); lookto(-120, get(view.vlookat),get(view.fov), smooth(2,2,5), false); set(step,8); );
    if(step == 8, loadscene(scene_8, null, MERGE, ZOOMBLEND(1,2) ); lookto(200, -15,get(view.fov), smooth(2,2,5), false); set(step,9););
    if(step == 9, loadscene(scene_7, null, MERGE, ZOOMBLEND(1,2) ); lookto(90, get(view.vlookat),get(view.fov), smooth(2,2,5), false); set(step,10); );

    if(step == 10, set(step,1); autotour(););
    </action>


    Now i have 2 problems :

    1 - In the step 1 and 8 the view don't change in the vertical destination (15 and -15). I don't know why, it's always the same.

    2 - While the autotour is working i can't click on the buttons or thumbnails. I have to click on the panorama to stop it then i can click on the buttons.

    Thanks for your help.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!