You are not logged in.

Sergey74

Intermediate

  • "Sergey74" started this thread

Posts: 193

Location: Russia, Chelyabinsk

Occupation: professional noob

  • Send private message

1

Tuesday, August 23rd 2016, 10:25am

Blur transitions

I tried to make a blurred transition, using the default preview image

Source code

1
2
3
<scene name="...">
	<include url="%SWFPATH%/skin/blur.xml"/>
</scene>

blur.xml

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<krpano>
<!-- ДОБАВЛЕНИЕ ПРЕВЬЮШЕК -->
	<events name="blurpreview" onloadcomplete="hidepreview();" onremovepano="breakall();"/>
	<style name="blur" url="get:preview.url" distorted="true" scale="3.90625" enabled="false"/>
	<hotspot name="hs_blur_1" style="blur" crop="0|   0|256|256" ath="-90" atv="  0"/>
	<hotspot name="hs_blur_2" style="blur" crop="0| 256|256|256" ath="  0" atv="  0"/>
	<hotspot name="hs_blur_3" style="blur" crop="0| 512|256|256" ath=" 90" atv="  0"/>
	<hotspot name="hs_blur_4" style="blur" crop="0| 768|256|256" ath="180" atv="  0"/>
	<hotspot name="hs_blur_5" style="blur" crop="0|1024|256|256" ath="  0" atv="-90"/>
	<hotspot name="hs_blur_6" style="blur" crop="0|1280|256|256" ath="  0" atv=" 90"/>
<!-- СКРЫТИЕ ПРЕВЬЮШЕК -->
	<action name="hidepreview">
		for(set(i,1), i LE 6, inc(i),
			txtadd(hs_blur_itoe, 'hs_blur_', get(i));
			tween(hotspot[get(hs_blur_itoe)].alpha, 0, 3);
		);
	</action>
</krpano>

http://panosphera.ru/gallery/montenegro/

No longer relevant, it is better to use the plugin - https://krpano.com/forum/wbb/index.php?p…70844#post70844
translation difficulties *huh*

This post has been edited 6 times, last edit by "Sergey74" (Sep 3rd 2017, 3:30pm)