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.

Kev-in-spain

Intermediate

  • "Kev-in-spain" started this thread

Posts: 152

Location: Barcelona

Occupation: VR Photographer

  • Send private message

1

Monday, October 17th 2016, 1:18pm

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

Monday, October 17th 2016, 6:15pm

Hi,

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

Best regards,
Klaus

Kev-in-spain

Intermediate

  • "Kev-in-spain" started this thread

Posts: 152

Location: Barcelona

Occupation: VR Photographer

  • Send private message

3

Monday, October 17th 2016, 6:29pm

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

4

Tuesday, October 18th 2016, 6:53pm

In the tour.xml change:

Source code

1
loadscene_flags="MERGE"
to:

Source code

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

Source code

1
loadscene_flags="MERGE|KEEPVIEW|KEEPMOVING"

Kev-in-spain

Intermediate

  • "Kev-in-spain" started this thread

Posts: 152

Location: Barcelona

Occupation: VR Photographer

  • Send private message

5

Wednesday, October 19th 2016, 8:44pm

Cheers Klause, thanks for your time.