cursor icon change in magnifying glass

Q&A about the latest versions
Post Reply
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

hallo and good evening,
(how) can i change the cursor in a magnifying glass when hover over a picture?

thx,
wiso
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Wiso,

If you use a 'floating cursor' you can use svg as icons and swap them out by changing variables when you mouse over different elements.

Here are two examples:

Changing Hand Icons: https://p2vrtutorials.s3.ap-southeast-2 ... index.html (V6 build)

Changing Shape and Plane Icons: https://p2vrtutorials.s3.ap-southeast-2 ... index.html (V7 build)

For the replace hands and the replace icons I have 4 SVG files, 32px x 32px, arranged in a square enclosed in a container, 64px x 64px. In turn, that container is placed into another container 32px x 32px with masking enabled. Add a variable to contain the name of the icon, then some logic to move the 64px x 64px container so that the active icon is within the masked container.

PA-2.png
PA-2.png (84.6 KiB) Viewed 1232 times

You can also check out Hopki's webinar on Skin Element Modifiers. Here is the link: https://ggnome.com/gg_webinars/skin-element-modifiers/
Time index 27:17

Regards,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

hey tony,

thank you for your nice examples. thats a good starting point for me!

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

Hi wiso
Please see: https://ggnome.com/gg_webinars/skin-element-modifiers/
This recorded webinar shows how to use different cursors depending on the hotspot.
Scroll past the how to make a compass and you will see how it all works.
Regards,
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/
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

thank you mr. hopki!

it is approximately here:

https://youtu.be/1TBsVx4VNTY?t=2592
Post Reply