You are not logged in.

mstoss

Intermediate

  • "mstoss" started this thread

Posts: 285

Location: Berlin

  • Send private message

1

Tuesday, March 21st 2017, 12:26pm

[Solved] hotspots not working in VRMode: standard krpano 1.19 vtour droplet

Hello,

This is getting really strange: A standard tour, created with the vtour-Droplet of krpano 1.19.8 is displaying the hotspots, but they are not working right from the start when entering VRMode. First an action like opening the VR setup menu and closing again is making the tour work. I would call this a bug or am I wrong? I'm on the edge of losing a client on this.

http://premiumpano.de/temp/androidtest/

(BTW: Even the VRMode simulation shows this behavior sometimes)

Any help appreciated very much.

Michael

This post has been edited 3 times, last edit by "mstoss" (Mar 22nd 2017, 11:42pm)


Tuur

Sage

Posts: 3,151

Location: Netherlands

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

  • Send private message

2

Tuesday, March 21st 2017, 1:42pm

Hi,

seems to work just nice on my iPhone6.
But the hotspots need a second to re-appear when going into vr.
Maybe there is a problem?

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

3

Tuesday, March 21st 2017, 3:50pm

Looks fine. Maybe you have cache issue. Clean it and test again.
You have issue with Google Maps: NoApiKeys warrning in console.

mstoss

Intermediate

  • "mstoss" started this thread

Posts: 285

Location: Berlin

  • Send private message

4

Tuesday, March 21st 2017, 4:31pm

Looks fine. Maybe you have cache issue. Clean it and test again.
You have issue with Google Maps: NoApiKeys warrning in console.
Thanks for testing. Definitly no cache problem, since it appeared the very first time, the tour was loading in VRMode

This post has been edited 1 times, last edit by "mstoss" (Mar 21st 2017, 6:29pm)


mstoss

Intermediate

  • "mstoss" started this thread

Posts: 285

Location: Berlin

  • Send private message

5

Tuesday, March 21st 2017, 4:33pm

Hi,

seems to work just nice on my iPhone6.
But the hotspots need a second to re-appear when going into vr.
Maybe there is a problem?

Tuur *thumbsup*
Thanks for testing, Tuur. This seems to be an Android related problem...

mstoss

Intermediate

  • "mstoss" started this thread

Posts: 285

Location: Berlin

  • Send private message

6

Wednesday, March 22nd 2017, 1:01pm

In the meantime Klaus proposed to delete the specific vr-image set, using the other sets for vrMode

So the image part code of http://premiumpano.de/temp/androidtest/ looks like this now:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
	<scene name="scene_1_d_berli_abgeordnet_2_s_2998" title="1_d_berli_abgeordnet_2_s_2998" onstart="" havevrimage="false" thumburl="panos/1_d_berli_abgeordnet_2_s_2998.tiles/thumb.jpg" lat="52.51965493" lng="13.37674499" heading="0.0">

		<view hlookat="-395.555" vlookat="6.786" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />

		<preview url="panos/1_d_berli_abgeordnet_2_s_2998.tiles/preview.jpg" />

		<image type="CUBE" multires="true" tilesize="512" if="!webvr.isenabled">
			<level tiledimagewidth="1792" tiledimageheight="1792">
				<cube url="panos/1_d_berli_abgeordnet_2_s_2998.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
			</level>
			<level tiledimagewidth="1024" tiledimageheight="1024">
				<cube url="panos/1_d_berli_abgeordnet_2_s_2998.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
			</level>
		</image>

		<!-- place your scene hotspots here -->
		<hotspot name="spot1" style="skin_hotspotstyle" ath="-40.362" atv="16.558" linkedscene="scene_1_d_berli_alexanderplatz_kaufhof_2995" />
		<hotspot name="spot2" style="skin_hotspotstyle" ath="58.260" atv="14.748" linkedscene="scene_1_d_berli_anhalterbahnhof_s1_5009" />

	</scene>



This did help - somehow: Entering the tour shows the start scene. Entering VRMode shows the Setup Screen first: changing options or just closing reveals the VRMode scene, with hotspots and all.

BUT

When entering a new scene, the screen turns black, leaving ONLY the hotspots. The previously visible scenes have gone. You can see this on a normal screen as well, no Error-message about missing tiles.

Going crazy on this...

Yours,
Michael

This post has been edited 1 times, last edit by "mstoss" (Mar 22nd 2017, 1:11pm)


mstoss

Intermediate

  • "mstoss" started this thread

Posts: 285

Location: Berlin

  • Send private message

7

Wednesday, March 22nd 2017, 1:41pm

You have issue with Google Maps: NoApiKeys warrning in console.
You are right, but this has no influence on that behavior.

8

Wednesday, March 22nd 2017, 9:35pm

When entering a new scene, the screen turns black, leaving ONLY the hotspots. The previously visible scenes have gone. You can see this on a normal screen as well, no Error-message about missing tiles.
Hi,

you would need to remove also that part from the <image> elements:

Source code

1
if="!webvr.isenabled"


Otherwise there would be no <image> there when loading the scene and being in VR mode.

Best regards,
Klaus

mstoss

Intermediate

  • "mstoss" started this thread

Posts: 285

Location: Berlin

  • Send private message

9

Wednesday, March 22nd 2017, 11:11pm


you would need to remove also that part from the
Aaargh... sure!

Thank you so much,
Michael