Sie sind nicht angemeldet.

1

Donnerstag, 11. Juni 2009, 13:41

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

Freitag, 12. Juni 2009, 02:40

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

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

3

Freitag, 12. Juni 2009, 05:04

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

Beiträge: 55

Wohnort: FRance

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

  • Nachricht senden

4

Freitag, 12. Juni 2009, 18:32

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

Sonntag, 14. Juni 2009, 00:59

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

*rolleyes*

6

Sonntag, 14. Juni 2009, 12:25

Hi,

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

e.g.

Quellcode

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>

Beiträge: 55

Wohnort: FRance

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

  • Nachricht senden

7

Sonntag, 14. Juni 2009, 17:18

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

Anfänger

Beiträge: 36

Wohnort: Ukraine

Beruf: photographer

  • Nachricht senden

8

Freitag, 28. August 2009, 01:38

Hi,

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

e.g.

Quellcode

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

Anfänger

Beiträge: 3

Wohnort: Brussels, Belgium

  • Nachricht senden

9

Dienstag, 9. März 2010, 08:32


Hi,

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

e.g.

Quellcode

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*