Sie sind nicht angemeldet.

Kev-in-spain

Fortgeschrittener

  • »Kev-in-spain« ist der Autor dieses Themas

Beiträge: 152

Wohnort: Barcelona

Beruf: VR Photographer

  • Nachricht senden

1

Montag, 17. Oktober 2016, 13:18

keepview

Hi, I notice that the demo for krpano 1.19 (Indian Temple) uses 'keepview' between scenes.
This does not happen by default. Can someone tell me exactly where in the code I have to place 'KEEPVIEW' to achieve this effect.
The skin/virtualtour.xml in v1.19 is a lot more complex than previous versions and is very confusing for my small, inadequate brain *confused*

2

Montag, 17. Oktober 2016, 18:15

Hi,

in the tour.xml enable the 'webvr_gyro_keeplookingdirection' setting in the <skin_settings> element.

Best regards,
Klaus

Kev-in-spain

Fortgeschrittener

  • »Kev-in-spain« ist der Autor dieses Themas

Beiträge: 152

Wohnort: Barcelona

Beruf: VR Photographer

  • Nachricht senden

3

Montag, 17. Oktober 2016, 18:29

Thanks Klause,
This works for VR mode but how do I 'KEEPVIEW' when hotspots are clicked in normal viewing mode on the desktop?

4

Dienstag, 18. Oktober 2016, 18:53

In the tour.xml change:

Quellcode

1
loadscene_flags="MERGE"
to:

Quellcode

1
loadscene_flags="MERGE|KEEPVIEW"
or (depending on your needs) even to:

Quellcode

1
loadscene_flags="MERGE|KEEPVIEW|KEEPMOVING"

Kev-in-spain

Fortgeschrittener

  • »Kev-in-spain« ist der Autor dieses Themas

Beiträge: 152

Wohnort: Barcelona

Beruf: VR Photographer

  • Nachricht senden

5

Mittwoch, 19. Oktober 2016, 20:44

Cheers Klause, thanks for your time.

6

Donnerstag, 10. Dezember 2020, 05:07

( SOLVED )How can I do this for PTP? 2.5.14
thanks.


Edit: I did.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »sanaltur« (10. Dezember 2020, 05:21)