You are not logged in.

Search results

Search results 1-20 of 425.

Monday, June 17th 2019, 4:51pm

Author: jordi

Merge krpano sources into one file

You can easily do that in php for example. Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 $location = "/yourLocation/toFiles/" $destination = "/yourDestination/" $krpanoFiles = ["fileA","fileB",...]; foreach ($krpanoFiles as $file) { $mergedFile = $mergedFile."\n".file_get_contents($location.$file.'.xml'); ... do any extra function you need } file_put_contents($destination.'yourMergedXML.xml', $mergedFile); You can execute that php directly on your computer without a server. If you would like some cu...

Monday, May 13th 2019, 9:47am

Author: jordi

VR 360 documentary

Congrats, that's one of the best pieces of 360 video work I've seen, well done !

Sunday, January 20th 2019, 8:08pm

Author: jordi

Makescreenshot

Quoted from "jvh" I want to capture part of the pano for the crop parameter but I can't obtain the x and y position for the crop that is with layer[imagecamera] Check that action to get the layer position in the screen https://krpano.com/docu/actions/#layertoscreen Did not check both UI s but as Jerome says copying exactly that UI should be avoided.

Tuesday, November 27th 2018, 2:39pm

Author: jordi

working with 1000+ hotspot [solved]

If what you look is performance go for a good C

Monday, November 26th 2018, 8:18am

Author: jordi

js event/callback to handle when view moves/changes [resolved]

you have a couple of events for that, find them here onviewchange onviewchanged

Friday, November 23rd 2018, 12:42pm

Author: jordi

hotspot getcenter()

Hi Kim, probably you already found how to solve that. any way the solution is here : Source code 1 2 3 var hs = krpano.get("hotspot[" + hsName + "]"); var center = hs.getcenter(); console.log('ath:',center.x,'atv:',center.y);

Tuesday, October 23rd 2018, 11:35am

Author: jordi

Cubestripe edge issue

Why are you using such image size for cubestrip ? why not just using cube sides ?

Friday, October 12th 2018, 9:40am

Author: jordi

MakeScreenShot not working

You need to upload the FileSaver.js file. on your screenshot.xml file you call it here : krpano.loadFile("%CURRENTXML%/FileSaver.js", function(file) but it is not there. I think once uploaded everything will work as expected

Wednesday, August 1st 2018, 9:53am

Author: jordi

How cann i run Krpano bat file from php code on win10

Hi, I would try something like this Source code 1 2 3 4 5 6 7 8 9 10 $inputfile = "C:\xampp\htdocs\krpano\22.jpg"; $outputfile = "C:\xampp\htdocs\krpano\22_cube.jpg"; $preview = str_replace("http://localhost:82/krpano/","C:\xampp\htdocs\krpano\krpano",$path); $thisfile = str_replace(".jpg","_b.jpg",$preview); //we check if the cubes are not already created, if not then, call krtransform if (!file_exists($thisfile)) { exec("/home1/path/krpanotools sphere2cube cube $inputfile $outputfile", $output...

Friday, July 27th 2018, 4:52pm

Author: jordi

pass parameters to testing server

won't it be just easier to create a custom exe/dmg and there you can have control of every varibale ?? https://krpano.com/forum/wbb/index.php?p…75291#post75291

Monday, July 23rd 2018, 4:01pm

Author: jordi

Krpano tools on server

What does output says ? you can make Source code 1 file_put_contents('/var/www/omuzee/data/www/vr.omuzee.ru/test/output.log', $output); you should make sure issues about roles and permission chmod / chown you can actually test all that code in your teminal directly, no need for server...

Saturday, July 14th 2018, 5:49pm

Author: jordi

CSS background-blend-mode for Layers

You can not use - you have to use camel case notation when setting css attributes from JavaScript

Wednesday, July 11th 2018, 7:17am

Author: jordi

show expiry date

You should use unix time, so if you don't want to make it dynamic go this web page and transform your expiration date into unix timesatamp https://www.unixtimestamp.com/ then set in your krpano tag the expirationDate atribute Source code 1 <krpano expirationDate="1594451340" onstart="checkExpiration();" > then it comes the action that you will probably need to execute on start Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 <action name="checkExpiration" type="javascript"><![CDATA[ var expirationDate ...

Saturday, July 7th 2018, 4:34pm

Author: jordi

device detection

For Android you can check Android version.. when it's 4.0 it's quite old...

Thursday, July 5th 2018, 11:20am

Author: jordi

Krpano tools on server

are you connecting to your server via ssh ? if so try to execute directly the code there without using php also check if path are correct, you can navigate through the server using cd (change directory) So when you make : Source code 1 cd /var/www/omuzee/data/www/vr.omuzee.ru/test/krpano/krpanotools then Source code 1 ls -l you should see the krpano files there

Thursday, July 5th 2018, 11:17am

Author: jordi

Krpano tools on server

yes you need to register in order to not have watermark, but that cannot be the reason as you should be able to execute it without registration done. maybe it's something on permits. you should be able to check if owner and permits are set properly (chown chmod) Of course printing some vars and checking if files exists on that path would help you... but some php/systems/linux skills are needed there helping blind is a bit dificult.

Thursday, July 5th 2018, 10:01am

Author: jordi

Krpano tools on server

Hi Alexey seems you have some path problems. for example the path of the config file seems not to be correct. you can just start always from /var also you can remove , $return_var the $output is where you will get the response. You are almost there ! If you did not change krpano structure this should work Source code 1 2 3 exec("/var/www/omuzee/data/www/vr.omuzee.ru/test/krpano/krpanotools makepano -config=/var/www/omuzee/data/www/vr.omuzee.ru/test/krpano/krpanotools/templates/normal.config /var...

Monday, July 2nd 2018, 9:28pm

Author: jordi

show expiry date

Fernando, you can already do that. Just set a variable with the value of expiration and check if current time is lower or bigger...

Wednesday, June 27th 2018, 5:55pm

Author: jordi

Oculus GO & KRpano

Quoted from "indexofrefraction" but can you preinstall a tour? for offline usage If you do not hack it, you cannot have local files

Wednesday, June 27th 2018, 1:51pm

Author: jordi

Oculus GO & KRpano

Quoted from "indexofrefraction" preinstalled in a foolproof state for non it/vr people to "just use it" Nothing need to be preinstalled, just go to the browser and navigate to URL like always, that's all