problem with hotspots..

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
chopperpix
Posts: 6
Joined: Mon Dec 15, 2008 8:12 am

I know this must be a simple fix, but take a look at my pano and tell me what I need to do to have the text show up whenever the mouse is over the "i" info button? It only appears when you put the mouse over the actual area where the text is, instead of having the alpha change for the "i" plus making the text appear. Seems like this is a parent/self issue?
I'm having a duh moment I think.

http://chopperpix.com/downtown/469-37(2).html
chopperpix
Posts: 6
Joined: Mon Dec 15, 2008 8:12 am

Sometimes deleting the series of actions and trying again fixes it. Now I've got it working.
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi
Just logged in, Stunning panorama, I was going to ask how you did it but just found the helicopter logo over Walgreens. :)

By the looks of it you are hiding the labels by using Alpha. I say this because when you mouse over the labels area and not the info button the mouse turns back to the pointer and clicking it activates the hotspot, so even though you can not see them, the labels are still active.

Can I make a suggestion?

Remove any actions from the labels and set them to, not visible and alpha 0.

Set the action in the information buttons to the following.

Mouse enter – show element – label
Mouse enter – change element alpha – 1 – label
Mouse leave – set element alpha – 0 – label
Mouse leave – hide element – label

You will need all the other actions also, alpha the buttons and go to url etc.


What this will do is hide the label and deactivate the area; the mouse can pass over it without any interaction.
When the mouse enters the button, the show element turns it active, change element fades it in.

Set element alpha makes it invisible and hide element deactivates the area again.

Also importing the button image as a button object rather than an images object will make the pointer turn into the hand showing your viewers the interaction.

It’s only a suggestion to slightly improve what is already a cool pano.

Kind 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/
chopperpix
Posts: 6
Joined: Mon Dec 15, 2008 8:12 am

You were correct. I set the alpha to .01 to hide it. Was the only way I could figure out what I wanted to do, but I understand what you are saying. I will implement that now.

Thanks for the compliment. I think you can see where I'm going with this. If you now click on the icon in the sky, you will see it will now take you somewhere. :D This all has been a veeeery long process, and boy am I glad that I checked the other day to see if there were any updates to P2VR, because the template system will drastically cut down development time. Thank you to the developers!
chopperpix
Posts: 6
Joined: Mon Dec 15, 2008 8:12 am

Curious if the order makes a difference when you set the elements as suggested? Your explanation was very clear and I managed to translate it correctly into the skin.

Now, if I could only integrate a "real" map into this.. :)
User avatar
zap
Posts: 391
Joined: Thu May 29, 2008 12:13 pm
Contact:

Real maps can be done with the krpano tool and the commercial google map plugin
http://krpano.com/plugins/googlemaps/

Haven't tried it yet as I will mainly do either
Var a)
Do a html with a mapframe inside

Var b)
Make a screenshot and use this as map in the tour

Hope this helps
360 Panorama Creators http://luxmap.com
Google Trusted Photographer
chopperpix
Posts: 6
Joined: Mon Dec 15, 2008 8:12 am

zap wrote:Real maps can be done with the krpano tool and the commercial google map plugin
http://krpano.com/plugins/googlemaps/

Haven't tried it yet as I will mainly do either
Var a)
Do a html with a mapframe inside

Var b)
Make a screenshot and use this as map in the tour

Hope this helps
Zap, thanks for the link. I started working on my own Gmap UI using their tutorial a few months ago, but got burned out. Coding makes my head hurt! I have a little skill in a lot of places, but not the coding experience or time to invest in full integration it seems. Hopefully there will be a UI - perhaps P2VR - which can make it a graphical experience instead of cmd line.

I think I will stick with doing it in an iframe instead for now. I can see in my head what it is that I'm wanting to do. Do you have any good examples of how you've done it? I think you can see where I'm going with my tour, however it's much more involved than you might think. I'm going one step at a time until I am able to develop the resources I need, and have a set design. Not there .. yet.
Post Reply