You are not logged in.

1

Sunday, April 25th 2010, 6:42pm

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

Intermediate

Posts: 128

Location: hall in tirol

Occupation: fotograph

  • Send private message

2

Sunday, April 25th 2010, 7:21pm

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

Monday, April 26th 2010, 7:07pm

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

Thursday, April 29th 2010, 1:00pm

Hi,

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

e.g.

Source code

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


best regards,
Klaus

Felipeca

Beginner

Posts: 38

Location: México City

Occupation: Dsigner, 3dmodeler and photographer

  • Send private message

5

Monday, November 29th 2010, 8:37pm

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.

Quoted

<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

Wednesday, December 1st 2010, 2:00pm

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

Sage

Posts: 3,839

Location: Netherlands

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

  • Send private message

Felipeca

Beginner

Posts: 38

Location: México City

Occupation: Dsigner, 3dmodeler and photographer

  • Send private message

8

Thursday, December 2nd 2010, 5:58pm

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!