You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, June 11th 2009, 1:41pm

Is it possible to switch between two panorama scenes automatically ?

Is it possible to switch between two panorama scenes automatically ? *huh*

Best regards
DaHe

2

Friday, June 12th 2009, 2:40am

Flash action scripts can do that but I am not aware how to make the scripts work in krpano, someone with more krpano experience should be able to answer this.

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

3

Friday, June 12th 2009, 5:04am

"automatically" ?

If you want to load scene one and do some preset movements to look around then you could add an action to load the next scene when all of your preset movements are done.

If you want it to happen after some preset time there is the "wait(seconds)" function.

If you describe more about what you want done from scene 1 to scene 2, someone can fill in some specifics. *smile*

Posts: 55

Location: FRance

Occupation: rock clinbing, scuba diving, motorbike....

  • Send private message

4

Friday, June 12th 2009, 6:32pm

yes that is an interesting question ;)

Was searching for such a function !
In my case i just want to add a demo mode button.
it should launch automatically an auto rotate in the actual VR for let say 20sec.
Then it should switch to another VR (another xml), auto rotate again .....
And this for a list of VR (xml).

It stops when any action is done in the displayed VR !

Any idea ;)
Pro website : www.bziegler.com
Blog : blog.bziegler.com

5

Sunday, June 14th 2009, 12:59am

wait(seconds)" function
That's the question! :) I'm a newbie in krpano. Can anyone help me with this function?

*rolleyes*

6

Sunday, June 14th 2009, 12:25pm

Hi,

yes, you could use the wait() action for this case,

e.g.

Source code

1
2
3
4
5
6
7
8
9
10
<action name="demo">
  set(autorotate.enabled,true);
  oninterrupt( action(interruptdemo) );
  wait(20);
  loadpano(nextpano.xml,null,MERGE,BLEND(1));
</action>

<action name="interruptdemo">
  set(autorotate.enabled,false);
</action>

Posts: 55

Location: FRance

Occupation: rock clinbing, scuba diving, motorbike....

  • Send private message

7

Sunday, June 14th 2009, 5:18pm

thanks :)
works great !
now i have a demo mode that shows all points of views.
Pro website : www.bziegler.com
Blog : blog.bziegler.com

Andrey_K

Beginner

Posts: 36

Location: Ukraine

Occupation: photographer

  • Send private message

8

Friday, August 28th 2009, 1:38am

Hi,

yes, you could use the wait() action for this case,

e.g.

Source code

1
2
3
4
5
6
7
8
9
10
<action name="demo">
  set(autorotate.enabled,true);
  oninterrupt( action(interruptdemo) );
  wait(20);
  loadpano(nextpano.xml,null,MERGE,BLEND(1));
</action>

<action name="interruptdemo">
  set(autorotate.enabled,false);
</action>


I used this example, but on termination of a return cycle to the first panorama does not occur. What it is necessary to add in code XML that a demo the mode did not stop, and came back to the first panorama and continued to work, till the moment of a stop the button?

Anis

Beginner

Posts: 3

Location: Brussels, Belgium

  • Send private message

9

Tuesday, March 9th 2010, 8:32am


Hi,

yes, you could use the wait() action for this case,

e.g.

Source code

1
2
3
4
5
6
7
8
9
10
<action name="demo">
  set(autorotate.enabled,true);
  oninterrupt( action(interruptdemo) );
  wait(20);
  loadpano(nextpano.xml,null,MERGE,BLEND(1));
</action>

<action name="interruptdemo">
  set(autorotate.enabled,false);
</action>


I used this example, but on termination of a return cycle to the first panorama does not occur. What it is necessary to add in code XML that a demo the mode did not stop, and came back to the first panorama and continued to work, till the moment of a stop the button?
I have the same question, any idea ? *smile*