You are not logged in.

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.

6

Thursday, December 10th 2020, 5:07am

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


Edit: I did.

This post has been edited 1 times, last edit by "sanaltur" (Dec 10th 2020, 5:21am)