once I clicked on Poligon field is turning to gold/yellow transparent

Q&A about the latest versions
Post Reply
Kai
Posts: 13
Joined: Tue Sep 11, 2018 12:15 pm

Hello, I need help please. I have two issues:

1. previewing my project, everything works fine as it should. If I save it and then call the index.html in the output folder directly, I only get an empty screen, except the navigation arrows. What am I doing wrong? Why isn’t the project shown?


2. the second problem: I marked areas with the polygon to click on. This works fine. But once I clicked on one of those areas, all of them are no longer clearly transparent afterwards, but they are turning to gold/yellow transparent. How can I turn this off?

Regards, Kai
Last edited by Kai on Wed Nov 04, 2020 1:15 pm, edited 1 time in total.
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

1) Pano2vr has its own "Integrated Web Server" for local testing purposes.
If you upload your project to your own website server it will work.

See Pano2vr documentation https://ggnome.com/doc/server-using/

Sorry you can not call the html from the files and folders location.
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
Kai
Posts: 13
Joined: Tue Sep 11, 2018 12:15 pm

Great, thank you.

Any idea for issue 2, the colored polygon after first click?
User avatar
Hopki
Gnome
Posts: 13028
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Kai,
Can you share a link that's doing this with the polygons?
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/
Kai
Posts: 13
Joined: Tue Sep 11, 2018 12:15 pm

Hi,

I found the location in the code where the color of the polygon is changed. In file skin.js about line 10398 stands:

player.changePolyHotspotColor("WEB-URL", 0xffaa00, 0.25098, 0x000000, 0); // this means #orange 0,25%
player.changePolyHotspotColor("IMAGE", 0xff0000, 0.25098, 0x000000, 0);

It has to be changed to

player.changePolyHotspotColor("WEB-URL", 0x000000, 0.00, 0x000000, 0);
player.changePolyHotspotColor("IMAGE", 0x000000, 0.00, 0x000000, 0);

After that polygons remain fully transparent.

Can somebody tell me where in pano2vr these variables/code were set? I don’t want to edit output-file each time I have changed s.th.

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

Hi Kai,
In the polygon properties panel, you will see you can change the colour of each poly hotspot.

1.png
1.png (19.61 KiB) Viewed 1817 times

Deselect "Use Default" then you can use the colour picker to change the colour of the background and border.
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/
Kai
Posts: 13
Joined: Tue Sep 11, 2018 12:15 pm

Hi, Hopki,
I already tried that, but unfortunately, it has no effect on the problem. The polygons only change their colour after the first click was done. It's as if the system would activate a status like "on focus" or „visited“ and changes color after the first click, but not for one polygon, for all of them. Probably because they all have the same id or class?

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

Hi Kai,
If you need further help p[lease can you send in your project to support@ggnome.com
so we can see your project file, to do this select Help and Create Support Package, select everything and then send the support package to support.
We can then create the output and see the issue.
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/
Post Reply