You are not logged in.

1

Friday, August 25th 2017, 11:36pm

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 :(

jeromebg

Professional

Posts: 1,120

Location: Angers - France

Occupation: 360 experiences creator

  • Send private message

2

Saturday, August 26th 2017, 11:55am

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

Saturday, August 26th 2017, 7:51pm

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

Sunday, August 27th 2017, 9:33pm

hello..? anyone?

5

Monday, August 28th 2017, 10:30am

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/

spacerywirtualne

Professional

Posts: 1,117

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

6

Monday, August 28th 2017, 6:44pm

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

Static method:

Source code

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


Dynamic method:

Source code

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*

This post has been edited 1 times, last edit by "spacerywirtualne" (Aug 28th 2017, 8:59pm)


7

Monday, August 28th 2017, 7:01pm

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

Monday, August 28th 2017, 8:48pm

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

Tuesday, August 29th 2017, 11:02pm

"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

Wednesday, August 30th 2017, 12:22pm

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