Sie sind nicht angemeldet.

1

Dienstag, 5. April 2011, 12:29

How to fade from black to first pano in tour?

Hello, I'm creating a pano tour. On start, the first pano is loaded. Is it possible to create a fade in (from black) effect on the first pano? In other words:

Current situation (the > indicate a blend effect):
previewImage > tiledImage

Preferred situation:
black > previewImage > tiledImage

Current code:

Quellcode

1
2
3
4
5
6
<krpano onstart="startup();" >
...
<action name="startup">
	loadpano(firstpano.xml, null, MERGE);
</action>
...

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Dienstag, 5. April 2011, 14:48

Good idea.

Very easy, use a black graphic stetched 100% x 100%



Quellcode

1
2
	plugin name="overlay" url="%SWFPATH%/skin/black.png" align="center" alpha="1" visible="true" width="150%" height="150%"  enabled="false" zorder="-2" keep="true" />
  tween(plugin[overlay].alpha,0,,,set(plugin[overlay].visible,false));
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Dienstag, 5. April 2011, 15:51

Hi,

use the latest 1.0.8.14 from here - http://krpano.com/download/beta/
and use:

Quellcode

1
2
3
4
5
6
<krpano onstart="startup();" >
  ...
  <action name="startup">
    loadpano(firstpano.xml, null, MERGE,BLEND(1));
  </action>
  ...


best regards,
Klaus