To check a xml file for valid xml syntax (independent of krpano now) just open the xml file directly in the browser.a) I constantly reports xml parsing errors in included files, when these are files that worked for years and do not appear to have any errors. There do not appear to be any diagnostics I can find about what line or tag it is finding the errors on. In the end, I got it to work by changing the name of the include file to not have a dash in it (even though the second file does have a dash.) It was reporting syntax errors even when I would entirely delete every line in the file! This makes no sense.
You might use tiled spherical panos, but they are not supported in the html5 viewer yet:b) Once I got past the syntax errors, it now displays the preview, but does not display the real tiles. Any hints on diagnostics to figure out why? Presuming something had changed, I used the droplet to create a multires on a windows machine (the one on linux fails, demanding the obsolete libudev.so.0 when Ubuntu moved to libudev.so.1 some time ago and does not support the old one.) However, when I try to view that multires it insists on the flash player, which is installed but does not seem to run, so I changed the html5 tag from never to auto, and it displays the preview again, and not the tiles.
There are no license files anymore since version 1.17 (2014) - please see here for more:c) It is always saying "demo mode" even though I copied krpano.licence into the directory with all krpano files on the web server. In addition, the tools request a licence key, which I don't have, I only have the binary ".licence" file
What is logkey?
A pano with hfov=1 defines a flat-pano in krpano. Tiled/multires spherical panos with hfov greater 1.0 are not supported in the html5 viewer yet.BTW, playing around I found that on the flat pano, if you set the HFOV to be greater than 1, you get the same result, it only shows the blurry preview, not the tiles. The one built by the multires droplet gets this problem.
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »bradtem« (21. März 2018, 04:34)
That's not right - that can be done also from command line:Got the licence to work -- you need to use the UI based tool to create new versions of krpano.js and swf with your key embedded in them
The xml attribue device checks could be used for that:But I would like to make it more elegant. Rather than have to completely duplicate the <image> tag with all its layers, I would like to say <image hfov="%CFOV%" ... > where CFOV is a variable that I set to be either 1.0 if in html5 (ie. flat) and the right field of view if on flash.
|
|
Quellcode |
1 |
<image hfov.html="1.0" hfov.flash="360"> |
That will definitely come, but unfortunately still need to some time.Of course it would be nice if html5 was able to wrap a cylinder around in a 360 view, but I presume that's for a later version.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »bradtem« (29. März 2018, 02:46)