Trigger visibility of polygonal Hs through point HS

Q&A about the latest versions
Post Reply
JSchrader
Posts: 141
Joined: Sat Nov 28, 2015 2:26 pm

So far I only found smaples to trigger something through a polygon hotspot using proxy IDs.
But how can I toggle the visibility of a polygon hotspot through a mouseover or click on a point hotspot?

Preferably using placeholder or variables as I'm using hotspot templates in the skin editor to show $hs and $hd textfields.
But for my project - if possible - it also should show $whatever polygon_ID.

TIA
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Just following up on this post.
I have spoke to JSchrader through e-mail.

There is a feature request for using point hotspots to show individual polygons as well as being able to use different colours.
For now you can have a point hotspot that can be used to show and hide all polygons in a pano, not individuals and with only one colour.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
mbb
Posts: 276
Joined: Mon Oct 19, 2009 11:42 pm

What is the status on this?

I would very much also like to use point hotspots to trigger an accompanying polyspot on and off. EG: Hovering over an "Info" icon hotspot on a building toggles an outline of that building, to better identify to the user just what is being addressed via the spot.

I initially thought that toggling the Poly state via action (to and from show current) would work since if the mouse was over the regular hotspot that it would also be over the assigned poly spot, but no joy...
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Since V5 and now V6 there are now skin actions to show/hide poly hotspots as well as change colours.
So it is possible to use a point hotspot to show and hide them.
Please see this page: https://ggnome.com/doc/pano2vr/5/skin-actions/
Then Player Settings => Change Poly Mode.
Cheers,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
mbb
Posts: 276
Joined: Mon Oct 19, 2009 11:42 pm

As I mentioned previously, I had tried using actions to "show current" but that does not work when there are multiple polyspots.

Example of what I am trying to do- say there are 10 buildings in the panorama. I wish to have a point hotspot with a little info icon on each building. When one mouses over the info icon, a poly hotspot outline around that "current" building appears. I wish to to this programmatically- without having to have separate instances for each point hotspot/poly hotspot pair in the skin.

EDIT:

Okay, I have it working in a certain way. Please let me know if this is the most efficient?

1. I've set defaults for the PolySpot to be "disabled" w/no hand cursor
2. I've set Point Hotspot "Target" to the value of the matching Poly Spot (ie: "Poly01" or "Poly02" etc)
3. Added two actions in skin point hotspot template icon to-

Mouse Enter->Change Polygon Mode="Toggle One", Target = "$(ht)"
Mouse Leave->Change Polygon Mode="Toggle One", Target = "$(ht)"

This appears to provide the required effect.

here's a video showing my result, in case my description wasn't clear-
https://www.bohonus.com/temp/polyexample.mp4
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Yeah I was going to say use "toggle one" but glad to see you got it.
How your doing it is how I would so your storing the Poly ID in the hotspot, if not being used I would use Hotspot Description, $hd or $(hd) in V6, But if it works then it works.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
mbb
Posts: 276
Joined: Mon Oct 19, 2009 11:42 pm

Good to know, thanks :)
Post Reply