Sie sind nicht angemeldet.

1

Montag, 2. August 2021, 18:00

bug krpano when i enter VR, Polygonal/Image Hotspots remain

Hello
i have a krpano bug when i enter VR, Polygonal/Image Hotspots remain


i think the best way to show my problem is a video :

https://www.youtube.com/watch?v=5X5y_g9xjWA


i updated my krpano from krpano 1.19-pr9
to 1.20.9
recently

2

Montag, 2. August 2021, 19:06

oi ! this is a disturbing video *w00t*

dont forget update everything (plugins must be 120.9, too)

3

Montag, 2. August 2021, 19:16

oi ! this is a disturbing video *w00t*

dont forget update everything (plugins must be 120.9, too)
ahah sorry for the bart simpson tour :D

i have also updated all the plugins (specialy the vr plugin cause of old chrome bugs..)
i have an old licence i dont know if it is important to say

4

Montag, 2. August 2021, 19:21

honestly, i dont know what i see in that video...
best is always an online tour...

you can check in plugins/webvr.xml, there are 2 functions
webvr_hide_all_non_vr_layers() and webvr_restore_layers()
you could adapt these for your hotspots

5

Montag, 2. August 2021, 21:15

honestly, i dont know what i see in that video...
best is always an online tour...

you can check in plugins/webvr.xml, there are 2 functions
webvr_hide_all_non_vr_layers() and webvr_restore_layers()
you could adapt these for your hotspots
in fact, there is a hotspot in red circle polygon in normal mode
when i enter in vr mode, the red circle polygon should disapear but it doesnt, it remains on the view

here is the



Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
 <action name="webvr_onentervr">
 if(layer[webvr_enterbutton], tween(layer[webvr_enterbutton].alpha,0,0); );

 webvr_showbuttons();
 webvr_hide_all_non_vr_layers();

 if(webvr.isfake, webvr_show_fakemode_info(true); );
 
 webvr_load_vr_cursor_hs();
 </action>


 <action name="webvr_onexitvr">
 removehotspot('vr_cursor');
 removehotspot('vr_controller_l');
 removehotspot('vr_controller_r');
 set(have_vr_controllers, false);
 
 stopdelayedcall(vr_button_fadeout);

 if(layer[webvr_enterbutton], tween(layer[webvr_enterbutton].alpha,1); );
 tween(layer[webvr_exitbutton].alpha,0);
 tween(layer[webvr_setupbutton].alpha,0);
 
 webvr_show_fakemode_info(false);

 webvr_restore_layers();
 </action>


 <action name="webvr_hide_all_non_vr_layers" scope="local">
 for(set(i,0), i LT layer.count, inc(i),
 copy(lr, layer[get(i)]);
 if(lr.vr !== true,
 copy(lr.vr_backup_visible, lr.visible);
 set(lr.visible, false);
 );
 );
 </action>

 <action name="webvr_restore_layers" scope="local">
 for(set(i,0), i LT layer.count, inc(i),
 copy(lr, layer[get(i)]);
 if(lr.vr_backup_visible,
 copy(lr.visible, lr.vr_backup_visible);
 delete(lr.vr_backup_visible);
 );
 );
 </action>

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »thomz6« (23. August 2021, 01:15)


Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

6

Montag, 2. August 2021, 22:32

hi,

can tell link to your xml where the hotspot is?

Tuur *thumbsup*

7

Montag, 2. August 2021, 22:57

hi,

can tell link to your xml where the hotspot is?

Tuur *thumbsup*
hi ^^

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »thomz6« (23. August 2021, 01:15)


8

Mittwoch, 4. August 2021, 21:29

i really think its the same problem that https://krpano.com/forum/wbb/index.php?p…&threadID=12540

but i have updated my krpano... *cry*