I'm new to KRP, I don't know about tweaks. I want to make a selection for hover, I really hope someone can help me. Thanks a lot!
Illustrated link:
https://www.youtube.com/watch?v=FFXarGTcUDc
I'm new to KRP, I don't know about tweaks. I want to make a selection for hover, I really hope someone can help me. Thanks a lot!
Illustrated link:
https://www.youtube.com/watch?v=FFXarGTcUDc
welcome to the forum ...
but.. please do not post the same question in (four!) different places!
what you show in the video is a polygon hotspot
if you need more/different sections of the street to select, you need to create more polygon hotspots
there are helper tools to create polygon hotspots (search the forum)
here links to the documentation and an example with polygon hotspots
https://krpano.com/docu/xml/#hotspot
https://krpano.com/releases/1.20.11/examples/#textstyles
Hi,
in your video there is a polygonal hotspots that changes its color on hovering.
That would be possible e.g. this way:
The tween changes the current fillcolor to the given one and that happens when the mouse comes over and moves out the hotspots.
(btw - I have removed your duplicated posts)
Best regards,
Klaus
Hi Hank,
you could download the free ToolBox I made here:
https://krpano.com/forum/wbb/inde…74910#post74910
include it in your project
open project in browser,
press P on your keyboard,,
press start new hotspot
and then make some clicks in your pano
press spacebar to stop
press L to show the code in the log.
and copy paste it to your code.
example:
https://www.virtualtuur.com/krpano/120/help/poly/1/
xml:
https://www.virtualtuur.com/krpano/120/help/poly/1/tour.xml
don't forget to take the toolbox out of the code when you don't need it.
Here you can find more info on the settings and functionality of the polygonal hotspots:
https://krpano.com/docu/xml/#hotspot
Hope it helps,
Tuur
Alles anzeigenHi,
in your video there is a polygonal hotspots that changes its color on hovering.
That would be possible e.g. this way:
The tween changes the current fillcolor to the given one and that happens when the mouse comes over and moves out the hotspots.
(btw - I have removed your duplicated posts)
Best regards,
Klaus
Thank you for the support. I have done it, but what if I want the polygon point to be transparent and disappear after hovering?
Sorry for posting so many times!
Zitatbut what if I want the polygon point to be transparent and disappear after hovering?
you could also add: set(enabled, false) there, or removehotspot(bla); (bla is the name of the hotspot)
but that depends on if you want to keep the hotspot or remove it definitely.
Tuur
https://www.youtube.com/watch?v=FFXarGTcUDc
Thank you very much! When creating polygon points using the toolbox there will be an opaque white overlay inside the polygon points
What I mean is that the polygon point will not show on hover and on hover will show the color. Finally, when no longer hovering, it will return to transparent state. Hope you can help me!
Just set the fillalpha to 0 and the fillcolor as desired.
Onover tween the fillalpha to 1 (or 0.4 or what wver you want)
Onout tween it to 0
Tuur
Just set the fillalpha to 0 and the fillcolor as desired.
Onover tween the fillalpha to 1 (or 0.4 or what wver you want)
Onout tween it to 0Tuur
Example video:
https://www.youtube.com/watch?v=FFXarGTcUDc
Thank you very much! When creating polygon points using the toolbox there will be an opaque white overlay inside the polygon points
What I mean is that the polygon point will not show on hover and on hover will show the color. Finally, when no longer hovering, it will return to transparent state. Hope you can help me!
Just set the fillalpha to 0 and the fillcolor as desired.
Onover tween the fillalpha to 1 (or 0.4 or what wver you want)
Onout tween it to 0Tuur
Thank you. I got the border color worked out, but still not the opacity inside the polygon. If I leave fillcolour or fillalpha = 0 the whole polygon disappears. Can you guide me?
I have done it already. thank you very much
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!