You are not logged in.

hans

Beginner

  • "hans" started this thread

Posts: 14

Location: groningen

Occupation: photographer

  • Send private message

1

Monday, June 29th 2015, 1:06pm

autotour

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>

This post has been edited 1 times, last edit by "hans" (Jun 30th 2015, 11:09am)


hans

Beginner

  • "hans" started this thread

Posts: 14

Location: groningen

Occupation: photographer

  • Send private message

2

Tuesday, June 30th 2015, 11:35am

got it !

<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*

Similar threads