Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Dienstag, 28. Juni 2016, 17:56

VR startup view

Hi

How is possible to set up the startup view of a scene VR to be "static", and do not calculate with the current head podition?

When I navigate trought the hotspots, I want the current scene to start always in the startup position. (Even if the headset is directed to the other direction... )


http://cityparkruzinov.pano3d.eu/vr/


<scene ...>

<view hlookat="37.348" vlookat="37.781" ... />

<preview url="panos/137EOS5D-8000-4000.tiles/preview.jpg" />

<image.... </image>

<image if="webvr.isenabled">
<cube url="panos/137EOS5D-8000-4000.tiles/vr/pano_%s.jpg" />
</image>

</scene>

Red

Schüler

Beiträge: 99

Wohnort: Australia

Beruf: Virtual tour creator, VR app developer

  • Nachricht senden

2

Mittwoch, 29. Juni 2016, 10:52

You could use the resetSensor(hlookat) action in the scene's onstart attribute.

eg. onstart="resetSensor(37);"

Hope that helps

3

Mittwoch, 29. Juni 2016, 12:36

Thank You for the response

I have tryied this, <scene ... onstart="resetSensor(22);" ... >

and removed the KEEPMOVING atribute from everywhere, but did not make any change... :/

4

Mittwoch, 29. Juni 2016, 13:14

Hi,

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

try:

Quellcode

1
<scene ... onstart="if(webvr AND webvr.isenabled, webvr.hlookat(22) );">


Best regards,
Klaus

5

Montag, 31. Oktober 2022, 09:08


This one works perfectly only in VR simulation in desktop browser.

In cardboard or Meta Quest 2 browser neither webvr.hlookat nor view.hlookat works.

upd: I also tryed setting webvr.hlookatoffset it works *smile* .

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Dare« (31. Oktober 2022, 09:20)