• Hi all,
    Does anyone know how to loop an autotour:

    <action name="startup">
    set(step,1);
    autotour();
    set(idletime,4);
    set(events.onidle, autotour() );
    </action>

    <action name="autotour">
    oninterrupt(break);
    if(step == 1, loadscene(scene_1, null, MERGE, ZOOMBLEND(1,2) ); lookto(60, get(view.vlookat),get(view.fov), smooth(2,2,5), false); inc(step); );
    if(step == 2, loadscene(scene_2, null, MERGE, ZOOMBLEND(1,2) ); lookto(60, get(view.vlookat),get(view.fov), smooth(2,2,5), false); inc(step); );

    autotour();
    </action>

    Einmal editiert, zuletzt von hans (30. Juni 2015 um 11:09)

  • <action name="autotour">
    oninterrupt(break);
    if(step == 1, loadscene(scene_1, null, MERGE, ZOOMBLEND(1,2) ); lookto(30, get(view.vlookat),get(view.fov), smooth(2,2,5), false); inc(step); );
    if(step == 2, loadscene(scene_2, null, MERGE, ZOOMBLEND(1,2) ); lookto(30, get(view.vlookat),get(view.fov), smooth(2,2,5), false); inc(step); );
    if(step == 3, set(step,1); autotour(););


    </action> *smile*

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!