<!-- make map hotspots flash when selected (recursive action) -->
<action name="bling">
tween(plugin[%1].alpha, 0, 0.8, quadratic);
tween(plugin[%1].scale, 1.5, 0.8, quadratic);
tween(, , 0.8, , action(reset, %1);
if(plugin[%1].blingCounter > 0, action(bling, %1);););
</action>
<!-- faire clignoter les hotspots du plan sélectionné (récursif) -->
<action name="bling">
tween(plugin[%1].alpha, 0, 0.8, quadratic);
tween(plugin[%1].scale, 1.5, 0.8, quadratic);
tween(, , 0.8, , action(reset, %1);
if(plugin[%1].blingCounter > 0, action(bling, %1);););
</action>
<action name="reset">
set(plugin[%1].scale,1);
set(plugin[%1].alpha,1);
</action>
<action name="bling">
set(plugin[%1].url,"url/highlight_spot.png");
</action>
<action name="reset">
set(plugin[%1].url,"url/standard_spot.png");
</action>
f-red wrote:Thank you for your advice Andrew
But it don't meet my needs, there will be too many colors.
I've found something that works…
...........
But there's still a problem : when on the first pano of the tour, all spots of the map are on "standard" mode…
Hope this help
f-red wrote:Hello,
I'd like to change the behavior of hotspots used on a map.
Usually, the active hotspot flashes by changing size and scale.
I don't want it to be animated, I want something less intrusive : just changing shape or color.
In the xml generated by PTP, I've found how to change scaling or transparency.
But not how to change the color, or to link a different png ...
And I do not know where to find the appropriate command: is it a plug-in of KRPano?
Do I have to learn Krpano scripting langage ?
I can do it, it's just a bit time consuming
Thank you for your advices
mediavets wrote:I think the better answer would be for Kolor to provide the user with much more control via the PT/PTP GUI over the behaviour and appearance of Map hotspots.
Destiny wrote:I will try to upload a demo tomorrow for you to see...
f-red wrote:Hi Destiny,
Thank you for sharing in such moment !
If I understand well, you've set the same animated file (png) for all your spots on the map.
And APT stops them all, except the one corresponding to the current pano. Am I right ?
Well, I have to try anyway…
I wish you a successful activity, your photos are great !
I don't know if you have designed your menu for touch screens, but I think they have just the ideal size.
I've just noticed a small thing : on the top left of your pano, it's written "Desinty", not "Destiny"
++
Destiny wrote:Well... I just wanted to see if a 3D animated hotspots worked on many frames.. and it does... I really love this kolor software.. It allows for so much flexibility... One thing I would like to see, and that the transition from the thumbs which looks nice to work the same on the map hot spots.. I will see if I can copy the code over to see if I can make it work the same...
http://members.westnet.com.au/dps/interactive/3/TESTHOT.html
Glad you worked it all out Mike.. easy when you know how.. thank goodness for photoshop...
D...
MikeMcFarlane wrote:Hi D
The aggro smiley made me laugh. I can see a more serious use for animating pano objects. For example in your pano that towel could be an animated hotspot that rippled gently in the breeze (from the window) but that hotspot might be a link to relevant info. Slightly banal example, but I hope you get the idea. I did see one nice application in the galleries where someone had animated light in slot canyons in this way. More for visual effect than anything else, but useful none the less.
Yes, I love PS too.
Kind regards
Mike
Users browsing this forum: No registered users and 2 guests