Sie sind nicht angemeldet.

1

Mittwoch, 5. Oktober 2016, 16:59

Starting view bug?

Hi,
I made minigame using krpano. But when I try it strange bug appear. One room ignore value for starting view but only when is VR view turn on. When using "normal view", everything works perfect. Just one room have this problem
Please can someone help me?

Here is link: http://static.pixelfederation.com/portal…ng/colab/test2/

Walkthru - turn light on and go forward. On first crossroad turn right and enter "wrong way" door... and next room is bugged one. If you using mouse+keyboard - starting view is ok. With VR device view - starting view setting is ignored.

Thanks

2

Freitag, 7. Oktober 2016, 16:06

Hello,

In VR mode hlookat and vlookat don't work.

Quellcode

1
<view hlookat="181.073" vlookat="3.204" fovtype="MFOV" fov="123.438" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto"/>


You need to use the action lookat or resetsensor.

http://krpano.com/plugins/webvr/#lookat

Let me know if this works.

Quellcode

1
<scene name="scene_f09" title="f09" onstart="resetsensor(181.073,3.204)" havevrimage="true" thumburl="panos/f09.tiles/thumb.jpg" lat="" lng="" heading="">



Cheers,

3

Donnerstag, 20. Oktober 2016, 10:27

Hello, thx for response... I try use both - resetSensor and lookat but nothing change :( Still same result... when I enter room with VR, initail view is wrong. If help here is xml for buged room/scene.

Quellcode

1
2
3
<scene name="scene_f07a" title="f07a" onstart="resetSensor(1.482,6.531)" havevrimage="true" thumburl="panos/f07.tiles/thumb.jpg" lat="" lng="" heading="">

		<view hlookat="1.482" vlookat="6.531" fovtype="MFOV" fov="123.438" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

4

Donnerstag, 20. Oktober 2016, 10:51

Hi)

Try to change this setting in 'vtourskin.xml'

Quellcode

1
webvr_gyro_keeplookingdirection="false"
Maybe this will work.
Regards,

Alexey

5

Donnerstag, 20. Oktober 2016, 12:06

Good one Alexey!

Miglo, webvr_gyro_keeplookingdirection setting is only available in krpano 1.19.pr6 (and above), and I believe you're using 1.19pr5

pixel.xml

Quellcode

1
<!-- krpano 1.19.pr5 - Virtual Tour Skin -->


You'll need to upgrade *cool*

6

Freitag, 28. Oktober 2016, 10:50

Thank you very much guys! Everything works perfect now. *thumbsup*

Ähnliche Themen