Sie sind nicht angemeldet.

  • »Alexey Tkachenko« ist der Autor dieses Themas

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

1

Mittwoch, 30. November 2016, 13:02

Example - Mark visited spots

Hi)

I was working recently on this thing and it seems it may be useful for some of users here. Here's a small xml-only plugin to mark opened spots in some way.

How to use:

1) Include 'visited_spots.xml' into your tour.xml
2) Adjust 'visited_spots_check_settings'. There are only two settings now:
- 'style_to_check' - check if a hotspot belongs to that style and then do something
- 'what_to_do' - what actions to call from this hotspot (e.g. change crop, scale or smth else).

Here's working example (visited spots change crop to red):

http://vt.most-inform.com/bugs/visited/


Xml attached to the post. Enjoy! ;-)
»Alexey Tkachenko« hat folgende Datei angehängt:
Regards,

Alexey

  • »Alexey Tkachenko« ist der Autor dieses Themas

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

2

Mittwoch, 30. November 2016, 13:33

Small update here: added ability to mark also thumbs of the visited scenes (used mapspot png just for example).

Added some more settings:

Quellcode

1
visited_thumbs_icon="%SWFPATH%/skin/vtourskin_mapspotactive.png"		visited_thumbs_icon_align="rightbottom"		visited_thumbs_icon_x="0"		visited_thumbs_icon_y="0"		visited_thumbs_icon_scale="0.25"



Xml attached. *tongue*
»Alexey Tkachenko« hat folgende Datei angehängt:
Regards,

Alexey

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Alexey Tkachenko« (30. November 2016, 20:55)


Sergey74

Fortgeschrittener

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

3

Mittwoch, 30. November 2016, 14:41

Thank you, very good example!

наверх
в закладки
translation difficulties *huh*

  • »Alexey Tkachenko« ist der Autor dieses Themas

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

4

Mittwoch, 30. November 2016, 15:43

Noted something strange happening in Edge, Win 10, Asus laptop. At first, I thought it's somehow related to this xml-plugin, but it seems no.

Here's the link without any xml added:

http://vt.most-inform.com/bugs/visited/test/

Test case:

1. Click right hotspot
2. Click 'previous pano" button.
3. All three spots are inactive for some time.

Seems strange, because I don't see this in Chrome and Firefox on the same laptop. *confused*
Regards,

Alexey

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

5

Donnerstag, 1. Dezember 2016, 13:14

Hi,

i find the issue also with Safari on all hotspots in the first scene ..on mac (latest);
Chrome an FF seem ok.

Tuur *thumbsup*

6

Donnerstag, 22. Dezember 2016, 12:53

Thank you.

*thumbsup* *thumbsup*