Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Mittwoch, 21. Januar 2009, 04:35

Is there a "drop-in" gallery that can be used with KRPano?

Something like one of the galleries at flashden... it seems like anything that is XML driven will not work when loaded within KRPano... is that true? Is there a gallery that WILL work? Something other than the krpano gallery example...?

TIA - Blake

Zephyr

Profi

Beiträge: 991

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

2

Mittwoch, 21. Januar 2009, 15:47

With xml driven galleries you have to check the pathing. For instance your gallery is in the subfolder /gallery and krpano.swf is in the root. Then the xml stearing the gallery should be in the root and not in the /gallery folder. An interface i'm working on has a xml file, remote db connection, remote flashvideo's. So a gallery should be easy.

I can't however promise if something from flashden works. It has to be atleast Flash 9 (CS3) written in actionscript 3, and you should be allowed to edit the source (the FLA) to make it fit krpano.
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

3

Mittwoch, 21. Januar 2009, 20:01

Hi,

right! it depends how the gallery checks the paths, in the most cases the paths are
relative to the html file, if you respect this, it should work,

it tested successfully the simpleviewer gallery,

here is a example - click on the "show/hide simpleviewer gallery" button:

http://krpano.com/krpano.html?pano=panos…impleviewer.xml

best regards,
Klaus

4

Mittwoch, 21. Januar 2009, 21:24

Waouhh !!

Great !!!

Thanks Klaus ;-)

5

Donnerstag, 22. Januar 2009, 02:39

Awesome - Thanks guys!

6

Donnerstag, 22. Januar 2009, 04:20

!!!! that is what I have been wanting to see !!!!



How can I view the code you used to embed that into the tour ?

7

Donnerstag, 22. Januar 2009, 15:40

Hi,

yes, here is the code:
http://krpano.com/panos/hafen/hafen_simpleviewer.xml

first, there a two buttons, one to show and one to hide the gallery:

Quellcode

1
2
<plugin name="showgallery" url="showgallery.png" autopos="bottom,0,20" visible="true"  alpha="1" onclick="action(showgallery);" />
<plugin name="hidegallery" url="hidegallery.png" autopos="bottom,0,20" visible="false" alpha="1" onclick="action(hidegallery);" />


then there is a "empty", invisible plugin, to avoid loading the gallery images on start
(but it would be also possible to set the url to imagegallaries swf at start)

Quellcode

1
<plugin name="gallery" url="" visible="false" alpha="0" />


now the action to show the gallery:
1. first freezeview() was called to stop the pano rendering (performance improve)
2. then my logo is faded out
3. the show/hide buttons are faded out and in
4. then the "url" is set to simpleviewer.swf?xmlDataPath=panos/hafen/gallery.xml
(now the plugin loads this url)
5. finally it is set to visible, and faded in

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<action name="showgallery">
    freezeview(true);
    tween(plugin[logo].alpha,0,distance(1,0.15),,set(plugin[logo].visible,false));

    set(plugin[showgallery].enable,false);
    tween(plugin[showgallery].alpha,0,distance(1,0.15),,set(plugin[showgallery].visible,false));

    set(plugin[hidegallery].enable,true);
    set(plugin[hidegallery].visible,true);
    tween(plugin[hidegallery].alpha,1,distance(1,0.15));

    set(plugin[gallery].url,simpleviewer.swf?xmlDataPath=panos/hafen/gallery.xml);

    set(plugin[gallery].visible,true);
    tween(plugin[gallery].alpha,1,distance(1,0.15));
</action>



for hiding the gallery, it is first faded out, and then are the buttons
changed again, the logo is faded in...

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<action name="hidegallery">
    tween(plugin[gallery].alpha,0,distance(1,0.15),,action(closegallery));
</action>

<action name="closegallery">
    set(plugin[gallery].visible,false);

    freezeview(false);

    set(plugin[logo].visible,true);
    tween(plugin[logo].alpha,1,distance(1,0.15));

    set(plugin[hidegallery].enable,false);
    tween(plugin[hidegallery].alpha,0,distance(1,0.15),,set(plugin[hidegallery].visible,false));

    set(plugin[showgallery].enable,true);
    set(plugin[showgallery].visible,true);
    tween(plugin[showgallery].alpha,1,distance(1,0.15));
</action>


but it would be also possible to do that much simpler,
e.g. just change "visible" for show and hide

best regards,
Klaus

8

Freitag, 23. Januar 2009, 15:34

Awesome !!!

KRPano is the best software I ever bought.
His posibilities never ends.

Congratulations Klaus

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

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

  • Nachricht senden

9

Samstag, 24. Januar 2009, 01:48

yo Klaus,

i've implented the Tiltviewer... my logo disapears, the pano doesn't work... a as it should.. but the viewer doesn't show...

http://www.studiotuur.nl/Helfferich/tour.html

( i took away the button !! because it doesn't work)

will you check my code??

Sorry i'm just dutch ;->

Thanx

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

10

Samstag, 24. Januar 2009, 03:01

I've been playing with the tiltviewer as well... and have not had much luck.

I'm guessing here... but I think there are significant differences in tiltviewer and simpleviewer that make implementing tiltviewer more difficult.

Looking at your xml file... you tried using tiltviewer.swf?xmlDataPath... where tiltviewer uses the flash var xmlURL to set the path... plus a whole bunch of other flash vars.

I've tried with very limited success in using tiltviewer... with the primary issue being that when embedded as a plugin I couldn't get tiltviewer to recognize the flash vars passed after the ? in the url string.

I've also had trouble setting basic items like the width / height and placing it via the plugin attributes.

It's been very frustrating. *confused*

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

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

  • Nachricht senden

11

Samstag, 24. Januar 2009, 17:30

yo people, i've working the simple viewer now..

http://www.studiotuur.nl/Helfferich/tour.html

but when i go in the car it doesn't work..
(i've put keep true in the plugin... that helped to keep the camera logo but the viewer doesn't show
*thumbsup*

Please help

Tuur
http://www.virtualtuur.com
Skype:studiotuur

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

12

Samstag, 24. Januar 2009, 17:40

I also noticed that when you go back out of the car and try the simpleviewer... it acts strangely.

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

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

  • Nachricht senden

13

Samstag, 24. Januar 2009, 17:43

o and when i go back from the car to the showroom it doesn't work aswell, also my cursor functions in the viewer don't work when fullscreen..

Thanx

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

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

  • Nachricht senden

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

15

Montag, 26. Januar 2009, 00:27

looks good.

what was the source of the problems?

Graydon

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

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

  • Nachricht senden

16

Montag, 26. Januar 2009, 00:30

you need to add keep="true" also for the "gallery" plugin:

<plugin name="gallery" url="" visible="false" alpha="0" keep="true" />


cheers

tuur
http://www.virtualtuur.com
Skype:studiotuur

Mr.nOGot'

Anfänger

Beiträge: 17

Wohnort: Russian Federation>Krasnoyarsk

  • Nachricht senden

17

Dienstag, 27. Januar 2009, 12:26

Where in code XML it is necessary to specify position of a swf-file for an in the panorama centre, not dependent on the sizes of gallery or a swf-file? (At use not simpleviewer)
In my attempts, external swf the file position only left top.

I think that:

Quellcode

1
align="center"
It is necessary to place in this part of a code:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<action name="showgallery">		
                freezeview(true);
		tween(plugin[logo].alpha,0,distance(1,0.15),,set(plugin[logo].visible,false));
		
		set(plugin[showgallery].enable,false);
		tween(plugin[showgallery].alpha,0,distance(1,0.15),,set(plugin[showgallery].visible,false));
		
		set(plugin[hidegallery].enable,true);
		set(plugin[hidegallery].visible,true);
		tween(plugin[hidegallery].alpha,1,distance(1,0.15));
		
		set(plugin[gallery].url,images.swf?xmlDataPath=images.xml);
		
		set(plugin[gallery].visible,true);
		tween(plugin[gallery].alpha,1,distance(1,0.15));
	</action>

Is any ideas? *confused*

18

Dienstag, 27. Januar 2009, 22:16

Hi,

you can try to add this "center" direct when defining the <plugin>,

e.g.

Quellcode

1
<plugin name="gallery" align="center" ... />


or in the action with:

Quellcode

1
set(plugin[gallery].align,center);


but this will only work when the size of the included swf could be measured,
this depends how the flash app handles it own size/position on the stage,
it's not always possible!

best regards,
Klaus

Mr.nOGot'

Anfänger

Beiträge: 17

Wohnort: Russian Federation>Krasnoyarsk

  • Nachricht senden

19

Mittwoch, 28. Januar 2009, 08:21

Well, thanks! *rolleyes*

panographer

Anfänger

Beiträge: 9

Wohnort: San Jose, California

  • Nachricht senden

20

Sonntag, 15. Februar 2009, 20:00

Newbie need help on sample krpano with simpleviewer

I am learning krpano syntax and xml by looking at the actual code. Can anyone make available of codes of xml, html, images using with simpleviewer for newbie. *question*
Thanks