Sie sind nicht angemeldet.

1

Freitag, 25. August 2017, 23:36

Please Help - Just Purchased And It Isn't Working For Me

Comp: MacBook Pro Late 2016
OS: Sierra

--

i have a phantom 4 pro and made some panos and am trying to make a gyro-enabled file to upload to my FTP site. all i want is the most bare bones xml file that allows me to adjust the initial view, set the zoom amounts, and make it VR/Gyro enabled by default (no button to press - automatically in Gyro mode). something fairly similar to the 'Hangar 360' app if anyone is familiar.

i am having all sorts of problems. i have tried Normal and Multires, but the resulting folders don't contain the Gyro2 plugin. i found it and put it in there and it doesn't work. i looked at some xml file thread as regarding the Gyro functionality but every time i add what i think is the necessary files or folders or xml modifications - it always fails to load. usually get a 'ERROR: /plugins/gyro2.js - loading failed!' message or something like that.

can someone please make me a super bare bones xml file that i can use as a template with all the necessary things to do the following:

- be able to set the fov, min/max zoom, and initial view
- when someone views my link with a mobile device that has gyros, it auto-loads in full screen gyro mode (no button to press)

can someone then tell me exactly what files (plugins, etc) need to be added and where exactly they need to go? i just made a mutlires and this is what it gives me:




if someone could help me out with this, i could use it as a template to build off of. but at least the bare bones of it would work :(

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

2

Samstag, 26. August 2017, 11:55

Just use MAKE VTOUR droplet instead.
To set the inital view use tour_editor.html which will be generated in your tour folder.
To change the mix/max zoom open the tour.xml file and search for maxpixelzoom values
All the settings you can easily change are at the beginning of the tour.xml file.
You won't be able to switch to full-screen without user interaction.

3

Samstag, 26. August 2017, 19:51

Just use MAKE VTOUR droplet instead.

You won't be able to switch to full-screen without user interaction.
that made the gyro work but you still have to manually select it. is there no way to have the pano auto-load in fullscreen w/ gyro already activated if it detects it being viewed by an applicable device?

4

Sonntag, 27. August 2017, 21:33

hello..? anyone?

5

Montag, 28. August 2017, 10:30

you need to set plugin[skin_gyro].enabled at start!
this can be done in many ways...

maybe adding

<krpano plugin[skin_gyro].enabled="true" />

would work

but you cant do such things without learning. explore...
https://krpano.com/docu/xml/
https://krpano.com/docu/actions/
https://krpano.com/examples/usage/

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

6

Montag, 28. August 2017, 18:44

<krpano plugin[skin_gyro].enabled="true" />
You can use this code dynamically or static...

Static method:

Quellcode

1
  <plugin name="skin_gyro" enabled="true"/>


Dynamic method:

Quellcode

1
set(plugin[skin_gyro].enabled, true)





Best regards
Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »spacerywirtualne« (28. August 2017, 20:59)


7

Montag, 28. August 2017, 19:01

thank you for responding. I tried modifying the XML to get rid of all the superfluous stuff I don’t use but then it fails. like webVR – don’t need it and I get rid of all the lines associated with it but then it’s trying to load it anyways and fails. those are the things I don’t understand. if I delete the plug-in and I delete any reference in the XML file about it - it’s still trying to load for some reason. maybe it’s in the html file or something. i’m no coder but can use some logic and deductive techniques, but it still insanely difficult to trace back in issue. I can read the documentation and it says what each thing does roughly, but it doesn’t say anything about if you omit this line of code then this other thing won’t work. that’s what’s frustrating and why i’m asking for help.

8

Montag, 28. August 2017, 20:48

first of all: disable the browser cache when testing!

then... try with small steps...

you can turn off things with the settings, you dont have to delete code from vtourskin.xml
if you're a beginner, dont tamper with vtourskin.xml

really study the examples... and yes, that takes time

9

Dienstag, 29. August 2017, 23:02

"you need to set plugin[skin_gyro].enabled at start!
this can be done in many ways...

maybe adding

<krpano plugin[skin_gyro].enabled="true" />

would work"
this worked! is there any way to have the pano load with the toolbar already minimized?

10

Mittwoch, 30. August 2017, 12:22

The only way to geat all possible in krpano is to read the documentation. Amen!