Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Mittwoch, 4. November 2015, 18:01

arrows plugin

This is discussion thread for arrows plugin. This plugin is open source and also available on github. You can use github's issue tracker to report any issues.

This is streetview-inspired plugin that projects on the fly any flat shape (originally arrows). This shape points in one direction from a virtual point in front of the viewer. The shape is created as a polygonal hotspot with all its styling abilities.

Sergey74

Schüler

Beiträge: 74

Wohnort: Russia, Chelyabinsk

  • Nachricht senden

2

Mittwoch, 4. November 2015, 19:19

Good plugin!
translation difficulties *huh*

3

Dienstag, 10. November 2015, 08:21

the visible="false" works marvel in this plugin

I want to optionally hide / show the arrows . I add the visibility attribute in the arrow styles as "visible='false'". But it shows like the attached image shows. How to resolve it?
»beargis« hat folgendes Bild angehängt:
  • hidden.PNG

4

Mittwoch, 11. November 2015, 18:16

what left is a shadow

At the moment shadow is not optional. But it is also a polygonal hotspot. To manage arrow visibility entirely you would have to manage visibility of its shadow. Either make style['default-shadow'] invisible or specify your own shadow style with connection.shadowstyle and make your style invisible.

5

Mittwoch, 11. November 2015, 18:18

I guess in the future I should check arrow style visible attribute before I draw a shadow.

6

Donnerstag, 12. November 2015, 03:57

thanks

Yes, It is just the problem. Thanks *rolleyes*

7

Donnerstag, 19. November 2015, 15:20

hello lonelyelk,thanks for your arrow plugin, I have 2 questions about it:
1, Wich version of the Krpano does your plugin surported? in your demo I noticed it's the krpano 1.18.5. but I use the krpano 1.16,there's nothing displayed.
2, In your demo, the arrows are at the middle of the screen, can I put the arrows at the left corner or right corner of the screen?

thank you.

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »relationcg« (21. November 2015, 10:57)


8

Freitag, 20. November 2015, 17:41

Hello, relationcg

1. This plugin is tested only against the latest stable release. Which at the tшme was and still is 1.18.5. Not sure what is the problem with 1.16, since all features I use were already implemented.
2. You can move arrows up or down but you cannot move them left or right. Arrows are supposed to be "in place" and if you move them sideways they will be either asymmetrically distorted or "out of place" (like on a separate screen). So I decided do only one thing without excessive options

Thank you!

9

Samstag, 21. November 2015, 11:03

Hello, relationcg

1. This plugin is tested only against the latest stable release. Which at the tшme was and still is 1.18.5. Not sure what is the problem with 1.16, since all features I use were already implemented.
2. You can move arrows up or down but you cannot move them left or right. Arrows are supposed to be "in place" and if you move them sideways they will be either asymmetrically distorted or "out of place" (like on a separate screen). So I decided do only one thing without excessive options

Thank you!

thanks for your reply,
so that is to say, the arrow's right place is in the middle of the screen, there is no Attributes for it's position.

10

Montag, 23. November 2015, 12:01

so that is to say, the arrow's right place is in the middle of the screen, there is no Attributes for it's position.
Yes, at the moment I have no clear idea on how to apply horizontal placement from the mathematical point of view. Everything I tried looked not good.

11

Donnerstag, 26. November 2015, 10:40

1, Wich version of the Krpano does your plugin surported? in your demo I noticed it's the krpano 1.18.5. but I use the krpano 1.16,there's nothing displayed.

1. This plugin is tested only against the latest stable release. Which at the tшme was and still is 1.18.5. Not sure what is the problem with 1.16, since all features I use were already implemented.

I think it's maybe the problem of VALUE "null" and the OPERRATOR "===".
because they behaves a little differrent in ver 1.18.5 and 1.16.

in your Arrow.xml there are:
.............
if(ltv===null,
............
if(gtv===null,
...............

I think this is the problem. and I changed them to:
.............
if(ltv==null,
............
if(gtv==null,
...............
then the arrow displayed in ver 1.16. *smile*

12

Montag, 30. November 2015, 12:41

Ok! Thank you! I will try to implement it soon.

13

Montag, 28. Dezember 2015, 20:35

Hello,

I am trying to implement your arrows plugins in krpano 1.19-pr3 and nothing is displayed. Is your plugin compatible with krpano 1.19-pr3 or not yet?

14

Montag, 28. Dezember 2015, 20:50

I just tried with krpano 1.18.5, and I got the same results. Is this plugin still working or it's depreciated?

15

Montag, 28. Dezember 2015, 22:55

I used VTOUR (MULTIRES) to create the tour, and the plugin seems to don't work in that environment.
If I switch it to a single image (as your example), the arrows are displayed.

16

Mittwoch, 30. Dezember 2015, 13:15

Anyone?

17

Montag, 18. Januar 2016, 14:16

Hello, eliecer!

I'm sorry I keep forgeting to come back here. I'm glad that you used github to resolve this issue. Thank you for your interest!

18

Montag, 18. Januar 2016, 14:32

Now I have favorited this thread and hope that I will receive email notifications about new messages.

Mudin

Anfänger

Beiträge: 24

Wohnort: South Korea

Beruf: VR Developer

  • Nachricht senden

19

Montag, 23. Mai 2016, 07:46

Edit arrows

Hello,

Thanks for the nice plugin!

I am using it in my project, and I have a question:

is it possible to edit/add/remove arrows using javascript or just action?


Thanks,

Mudin

Mudin

Anfänger

Beiträge: 24

Wohnort: South Korea

Beruf: VR Developer

  • Nachricht senden

20

Montag, 23. Mai 2016, 08:32

I got answer in github :) Thanks,Lorenz

And it is working

Zitat


scenePlayer.krpano.call('addlayer(connections)');
scenePlayer.krpano.set('layer[connections].connection[s'+id+'].hdir',ath);
Mudin

Ähnliche Themen