You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, February 27th 2017, 5:15pm

Webvr / Strange Hotspot Behaviour

Hi Forum-Members.

I´ve made this tour: http://data.kuck.info/sanktanton/tour.html

Thanks to all the very useful posts in this forum I was able to accomplish this with nearly no xml-knowledge and almost no extra help.
So thanks for all the constructive and solution orientated discussions. Well done.

Now to my problem with this tour:
When I enter WebVr on different mobile devices I cannot activate any hotspot with the view-cursor
(It works on desktop with the vr-simulation)

Only when I enter the VR-Setup and hit save, the hotspot-activation (little circle animation) is working as it should be.
But when I reload the tour, it starts again with no hotspot-activation.

Now it gets even stranger...
To find out what went wrong I´ve uploaded a complete unaltered version of this tour (so everything with clean code + the pano-folder)
But even then the same thing happend as described above.
I rechecked all the images and downloaded the latest krpano again ... made a new tour again ... no code changing ... uploading ...
and again ...the same problem.

I have made another tour http://data.kuck.info/lagomera/tour.html
Here WEBVR works fine.
What is different ... when I first enter WEBVR it autotmatically opens the VR-SETUP.
This happens NOT with the other tour.
What is also different is ...that the church-tour has got two panoramas with a higher resolution in it
than the rest of the included panoramas.
In the LaGomera-Tour all panos are almost the same pixel-sizes.

Your help is REALLY welcome.
I´ve spend a whole day to find a solution ... with no luck at all.

best regards...
Christian

This post has been edited 1 times, last edit by "q-ki" (Feb 28th 2017, 6:43am)


2

Tuesday, February 28th 2017, 6:14am

I have noticed that for some panoramas in this tour (http://data.kuck.info/sanktanton/tour.html)
the gyro symbol is automatically activated and for some not.

Has anyone an idea why?
And could this has something to do with the described problem in the post above?

Christian

PS: I have checked the size of the embeded panoramas ..they have all an aspect ratio of 2:1

3

Tuesday, February 28th 2017, 10:43am

I´ve deleted a part in the webvr_onentervr action ...
now it looks like this...
i think this is no valid/complete code ... but if delete the whole if-section the problem remains the same

Source code

1
2
3
4
5
6
7
8
9
10
11
12
<action name="webvr_onentervr">
		tween(layer[webvr_enterbutton].alpha,0,0);

		webvr_showbuttons();
		webvr_hide_all_non_vr_layers();

		<!-- when the screen size is unknown an no custom size is set, open the setup screen on entering the VR mode -->
		if(webvr.ismobilevr == true AND !webvr.isfake AND ask_user_for_screensize == true AND webvr.mobilevr_screensize == 'auto',
		
			vr_setup();
	
	</action>


Like this it works ... but it makes no sense to me at all why and why not with the complete code ...
Maybe Klaus you could take a look if there is some kind of bug ...
I have no idea ...

Thanks ...
Christian

This post has been edited 2 times, last edit by "q-ki" (Feb 28th 2017, 11:04am)


4

Sunday, March 12th 2017, 12:59pm

fixed it with
set(web.vr_cursor_enabled, true);
no idea why this is set false by default