Image-stitching and virtual tour solutions My account Updates
It is currently Sun Sep 21, 2014 5:07 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Pano Blur Effect
PostPosted: Fri May 03, 2013 10:18 pm 
Offline
Member

Joined: Wed Mar 20, 2013 12:54 am
Posts: 23
Hi Forum,

Does anyone happen to know how to make a panorama "blur" once a hotspot image is opened, and then un-blur once the image is closed? I'm guessing it is code that is inserted into the XML?

Thanks,
Jeremy


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 16, 2013 6:55 am 
Offline
Member

Joined: Wed Mar 20, 2013 12:54 am
Posts: 23
I'm bummed I haven't been able to recieve a solution for this. Perhaps I can ask in a different way.

I have found the "imageadjust" plugin from the KRPano site. That plugin will "blur" a tour, among other things if desired. I am trying now to figure out how to control when the plugin is enabled or disabled. If I enter the following code...

<plugin name="imageadjust" url="plugins/imageadjust.swf" enabled="true" saturation="0" hue="0" />

into the main XML or the pano XML, the tour does blur when it loads. However, I wish for the plugin to be "disabled" when the tour load but "enable" when a particular hotspot is clicked. In my case, I want the plugin to enable when a hotspot is clicked, which opens a photo, and in turn blurs the background pano. Of course I want it to disable again once the photo is clicked to close it.

I guess I'll go ahead and include the code for the hotspot of interest:

<hotspot name="spot0" onclick="closeallobjects();set(plugin[spot0object].visible,true);tween(plugin[spot0object].alpha, 1);switch(autorotate.enabled);set(plugin[autorotationOFF];" url="indexdata/graphics/spots/spot0.png" ath="1.29125" atv="22.2414" width="36" height="36"/>
<plugin name="spot0object" visible="false" url="indexdata/graphics/spots/object0.png" align="center" alpha="0" onclick="closespot0object();switch(autorotate.enabled);set(plugin[autorotationON];" width="prop" height="50%"/>
<action name="closespot0object">
if(plugin[spot0object].visible,
tween(plugin[spot0object].alpha, 0);
delayedcall(0.5,set(plugin[spot0object].visible,false));
);
</action>

I will be eternally grateful to whoever can solve this for me.

Thanks,
Jeremy


Last edited by goshiota on Fri May 17, 2013 6:08 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Pano Blur Effect
PostPosted: Tue Feb 04, 2014 4:51 am 
Offline
Member

Joined: Thu Oct 11, 2012 4:02 am
Posts: 23
Hi Jeremy,

I'm looking for the same effect. Did you every figure this out?

Mike


Top
 Profile  
 
 Post subject: Re: Pano Blur Effect
PostPosted: Tue Feb 04, 2014 9:54 am 
Offline
Member

Joined: Wed Nov 14, 2007 2:12 pm
Posts: 13974
Location: Isleham, Cambridgeshire, UK.
msmazza wrote:
Hi Jeremy,

I'm looking for the same effect. Did you every figure this out?

Mike


With PTP 2.x - not PTP 1.8 - the Gallery plugin offers the option of an overlay ('blur') over the pano when loaded:


Attachments:
1-ptp2rc2-picture-overlay-mask.jpg
1-ptp2rc2-picture-overlay-mask.jpg [ 240.15 KiB | Viewed 166 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group