Sie sind nicht angemeldet.

1

Sonntag, 25. April 2010, 18:42

Blending 2 panos automatically as a loop

Hi!

I do have 2 panos loaded as scenes and would like to blend within 5 seconds from 1st pano to 2nd pano to 1st pano, ... but this should have been done automatically as a loop.

Does anyone has a rough guess how this can be done?

Thanks in advance,
Magenta =)

niconutsch

Fortgeschrittener

Beiträge: 128

Wohnort: hall in tirol

Beruf: fotograph

  • Nachricht senden

2

Sonntag, 25. April 2010, 19:21

hallo magenta

<events onloadcomplete="action(autotour);"/>

<action name="autotour">


oninterrupt(break);


lookto(00,00,100,smooth(5,5,10)); wait(5);

loadpano(p2.xml,null,KEEPBASE|NOPREVIEW,BLEND(1));

wait(load);

lookto(00,00,100,smooth(5,5,5)); wait(5);

loadpano(p1.xml, null, MERGE, BLEND(1));

</action>

if the fading should be done during a rotation, you ll need to define more lookto positions.

niconutsch

3

Montag, 26. April 2010, 19:07

Thank you very very much! Your help is highly appreciated!

I already tried to remove the "oninterrupt(break);" line to have the panos switching all the time and not beeing interrupted when viewing though the pano. Do you know if this would be possible, too?

4

Donnerstag, 29. April 2010, 13:00

Hi,

to make it looping just call the "autotour" action again at the end of the "autotour" action,

e.g.

Quellcode

1
2
3
4
5
<action name="autotour">
  ...
  ...
  autotour();
</action>


best regards,
Klaus

Felipeca

Anfänger

Beiträge: 38

Wohnort: México City

Beruf: Dsigner, 3dmodeler and photographer

  • Nachricht senden

5

Montag, 29. November 2010, 20:37

Strange behaviour with my loop panos action

The following action doesn't start until the mouse pointer leaves the "autotour" button. I can't imagine what I'm doing wrong.

Zitat

<plugin name="btnauto" url="btn_autopano.png" align="top" edge="center" y="60" x="400" width="150" height="75" alpha="0.8" onover="action(scaleup,btnauto);" onout="action(scaledown,btnauto);" onclick="playsound(sonido, sonido.mp3, loops);action(autotour);" />



<action name="autotour">
action(navigationoff);
oninterrupt(action(lookinterrupt));
loadpano(4.xml,null,KEEPALL,BLEND(2));
wait(5);
loadpano(1.xml,null,KEEPALL,BLEND(2));
wait(5);
loadpano(2.xml,null,KEEPALL,BLEND(2));
wait(5);
loadpano(3.xml,null,KEEPALL,BLEND(2));
wait(5);
action(autotour);
action(navigationon);
set(fullscreen,false);
</action>
Please, help.

6

Mittwoch, 1. Dezember 2010, 14:00

Hi,

sorry, no idea,
leaving the mouse button doesn't have any automatic effect...

do you have a link to see it?

best regards,
Klaus

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

Felipeca

Anfänger

Beiträge: 38

Wohnort: México City

Beruf: Dsigner, 3dmodeler and photographer

  • Nachricht senden

8

Donnerstag, 2. Dezember 2010, 17:58

Looping apnoramas strange behaviour

Hi Klaus!

sorry, no idea,
leaving the mouse button doesn't have any automatic effect...

do you have a link to see it?

I will be uploading an example later this week. Will have to deal with the strange effect meantime.

Thanks in advance!