You are not logged in.

Birdseye

Trainee

  • "Birdseye" started this thread

Posts: 125

Location: De Haan

Occupation: Freelance Photographer

  • Send private message

1

Tuesday, October 20th 2015, 6:37am

Show/hide hotspots when rotating pano

Hi,

A while ago I saw an example of a pano, when you rotate the pano, hotspost where shown or hidden.
I'm not sure this was a plugin or a standard feature of Krpano. I want to include this in a pano with falling water. Can anyone help me further with this?

Thank you,
Yvan.

Umalo

Professional

Posts: 1,051

Location: Osijek, Croatia, EU

  • Send private message

2

Tuesday, October 20th 2015, 12:53pm

onviewchange call action that will check if hotspots are already hidden. If not (first time) than loop through all hotspots and backup their visibility state to some attribute e.g. visiblity_backup and make them all visible="false". Than on idle e.g. 1sec (hm on autorotate this will not work) or viewchanged (where you check current and previous stored view.hlookat If same after delayed 0.3 sec is the same than no rotation is happning) call action to restore visibility from backuped attributes. That's theory.....

Birdseye

Trainee

  • "Birdseye" started this thread

Posts: 125

Location: De Haan

Occupation: Freelance Photographer

  • Send private message

3

Wednesday, October 21st 2015, 8:33am

Thank you for the help Umalo, I will try this.

Grts,
Yvan

panomaster

Intermediate

Posts: 297

Location: Kobyłka, Poland

Occupation: Virtual Tours - Spherical Panoramas - Krpano developer

  • Send private message

4

Friday, October 23rd 2015, 1:32pm

You can also use following events

<events
onkeydown="hide_hotspots()"
onkeyup="show_hotspots()"
onmouseup="show_hotspots()"
onmousedown="hide_hotspots();"
...
/>

Working example: http://ai360.pl/projekty/sorento/

Birdseye

Trainee

  • "Birdseye" started this thread

Posts: 125

Location: De Haan

Occupation: Freelance Photographer

  • Send private message

5

Tuesday, December 29th 2015, 5:22am

Thank you for the reply Panomaster. And great car pano's BTW. The outside pano is very smooth.
You have this nice effect with the fading hotspots. Do you want to share how this is done ?

Thnak you,
Yvan

panomaster

Intermediate

Posts: 297

Location: Kobyłka, Poland

Occupation: Virtual Tours - Spherical Panoramas - Krpano developer

  • Send private message

6

Tuesday, December 29th 2015, 9:42am

Here's another tour using this type of hotspots:

http://www.ai360.pl/projekty/onehd1/

Shared example:

http://ai360.pl/projekty/hs1/

xml file:

http://ai360.pl/projekty/hs1/skin.xml

Birdseye

Trainee

  • "Birdseye" started this thread

Posts: 125

Location: De Haan

Occupation: Freelance Photographer

  • Send private message

7

Friday, January 8th 2016, 6:43pm

Thank you for sharing the info buttons. But I meant the smooth fading/dissapearing of the hotspots. Can you share this?

Thank you for help,
Yvan

Birdseye

Trainee

  • "Birdseye" started this thread

Posts: 125

Location: De Haan

Occupation: Freelance Photographer

  • Send private message

9

Sunday, January 10th 2016, 9:44am

Wow, thank you Umalo ! :)