You are not logged in.

1

Monday, August 2nd 2021, 6:00pm

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

Monday, August 2nd 2021, 7:06pm

oi ! this is a disturbing video *w00t*

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

3

Monday, August 2nd 2021, 7:16pm

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

Monday, August 2nd 2021, 7:21pm

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

Monday, August 2nd 2021, 9:15pm

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



Source code

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>

This post has been edited 3 times, last edit by "thomz6" (Aug 23rd 2021, 1:15am)


Tuur

Sage

Posts: 3,839

Location: Netherlands

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

  • Send private message

6

Monday, August 2nd 2021, 10:32pm

hi,

can tell link to your xml where the hotspot is?

Tuur *thumbsup*

7

Monday, August 2nd 2021, 10:57pm

hi,

can tell link to your xml where the hotspot is?

Tuur *thumbsup*
hi ^^

This post has been edited 1 times, last edit by "thomz6" (Aug 23rd 2021, 1:15am)


8

Wednesday, August 4th 2021, 9:29pm

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*