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.

servaas

Intermediate

  • "servaas" started this thread

Posts: 181

Location: Belgium

  • Send private message

1

Saturday, December 3rd 2011, 5:54pm

presentation of pictures

Hello,

I was testing the MAKE PANO (FLAT) droplet for presentation of my pictures.
this test

As I like the result, I would like to navigate between pictures.
How can I do this ?

- I can add a plugin with an action to load another xml. On every xml the on loadpano-xml has name has to be changed.
- Is there a code to just to say next ..?

Tuur

Master

Posts: 2,335

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

2

Sunday, December 4th 2011, 3:43pm

he Servaas,

when u use scene's ou can do:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 <action name="nextscene">
    if(%1 != findnext, set(i,0));
    txtadd(scenexml,'<krpano>',get(scene[%i].content),'</krpano>');
    if(scenexml == xml.content,
       inc(i);
       if(i == scene.count, set(i,0));
       loadscene(get(scene[%i].name), null, MERGE, BLEND(1));
      ,
       inc(i);
       if(i LT scene.count, nextscene(findnext));
      );
</action>
 
<action name="prevscene">
    if(%1 != findnext, sub(i,scene.count,1));
    txtadd(scenexml,'<krpano>',get(scene[%i].content),'</krpano>');
    if(scenexml == xml.content,
       dec(i);
       if(i LT 0, sub(i,scene.count,1));
       loadscene(get(scene[%i].name), null, MERGE, BLEND(1));
      ,
       dec(i);
       if(i GE 0, prevscene(findnext));
      );
</action>


hope it helps

Tuur *thumbsup*

servaas

Intermediate

  • "servaas" started this thread

Posts: 181

Location: Belgium

  • Send private message

3

Monday, December 5th 2011, 10:27am

Hi Tuur,

Thanks for the tip.
I'll check it out today !

=servaas=