You are not logged in.

Search results

Search results 1-20 of 1,000. There are even more results, please redefine your search.

Friday, November 27th 2020, 3:58pm

Author: klaus.krpano

Transition Effect for Krpano and Panotour Pro

Hi, it should come with version 1.21 and hopefully still this year. Best regards, Klaus

Friday, November 27th 2020, 3:56pm

Author: klaus.krpano

Question about example makescreenshot

Hi, sure, with tools like NW.js or Electron you can have file-system access (that's why I wrote 'in the browsers' ). For resolving placeholders like %VIEWER% the parsepath function can be used: https://krpano.com/docu/plugininterface/#parsepath but that gives you the server-paths, not the local-file-systems ones of course. Best regards, Klaus

Friday, November 27th 2020, 3:53pm

Author: klaus.krpano

[solved] How to use get(name) in JS code

Hi, is the variable 'name' even set here: Source code 1 var hint = krpano.get("hotspot[get(name)].userdescription"); Best regards, Klaus

Friday, November 27th 2020, 3:51pm

Author: klaus.krpano

includexml -- getting it to work

Hi, for overwriting variables, just 'set' them after loading (in the loaddone callback). The 'vars' settings in the loadpano call is doing the same (that vars is mainly there for backward compatibility, technically is simply setting the variable after loading). That means: Source code 1 loadpano(test.xml, var1=abc, var2=xyz); is the same as: Source code 1 2 3 loadpano(test.xml); set(var1,abc); set(var2,xyz); and for includexml it would look like this: Source code 1 2 3 4 includexml(test.xml, set...

Friday, November 27th 2020, 3:47pm

Author: klaus.krpano

krpanotools.exe on Windows Server 2012 R2

Hi, I would say that's just a misinterpretation of the Windows Resource Monitor output: https://devblogs.microsoft.com/oldnewthi…101-00/?p=97685 About staying 'running' - is maybe panotyoe=auto, waitkey=true or askforxmloverwrite=true set: https://krpano.com/docu/tools/config/#panotype https://krpano.com/docu/tools/config/#askforxmloverwrite https://krpano.com/docu/tools/config/#waitkey In these cases the tools might wait for user-input... Beside of that there exists no reason why the krpanotool...

Wednesday, November 25th 2020, 10:15am

Author: klaus.krpano

krpano 1.20.9 - New MAKE VTOUR Droplet, Panotype-Editor, Leveling, Chroma-Key/Transparent-Videos, Updates for macOS Big Sur and iOS 14

Quoted from "martyhr" limitview different from previous version Hi, this change was intentional - in the previous version the bouncing limits setting was always set automatically by the vtourskin.xml depending on the current viewing limits. And the problem with that 'automatic' was, that it was not possible to manually set a different behavior for a scene. Now each <scene> contains its own setting in the xml and so allows manual adjustments: Source code 1 <control bouncinglimits="false" /> And ...

Wednesday, November 25th 2020, 9:59am

Author: klaus.krpano

Question about example makescreenshot

Hi, not in the browsers today. Maybe in future with the 'File System Access API', but even there probably only after the user had selected manually the folder with a dialog: https://web.dev/file-system-access/ Best regards, Klaus

Tuesday, November 24th 2020, 1:30pm

Author: klaus.krpano

includexml -- getting it to work

Hi, loading a file from a server always takes some time. Blocking everything until the included file would be loaded would be a bad experience and slow. The viewer can load and decode images in the meantime or process other things. Simple put code that depends on the included xml into the loaddone callback, e.g. Source code 1 2 3 4 5 6 includexml('otherxml.xml', code_that_depends_on_the_included_xml(); ... ); code_that_does_NOT_depends_on_the_included_xml(); ... If you want to include multiple x...

Tuesday, November 24th 2020, 1:19pm

Author: klaus.krpano

<include> via Javascript brokes the krpano player

Hi, the onready callback will be called when the krpano viewer itself is ready and running, it doesn't relate to the loading of any xml files. For that you could use the onxmlcomplete event: Source code 1 2 3 4 5 6 7 8 9 embedpano({xml:"...", ..., onready:krpanoonready}); function krpanoonready(krpano) { krpano.set("events.onxmlcomplete", function() { console.log("the startup xml files is loaded now"); }); } Best regards, Klaus

Tuesday, November 24th 2020, 1:16pm

Author: klaus.krpano

Error .PSB

Hi, krpano supports only 'flatten' psd/psb files - that means when all layers are flatten down to the background layer. You could select that either directly in PTGUI when stitching or flatten the image later in Photoshop. The reasons is that otherwise krpano would need to support all kind of Photoshop layer operations to reconstruct the image before it could actually start processing it. But that's not new to the new droplet, that was always the case. About 'hyper photos' - sorry, I have never ...

Monday, November 23rd 2020, 6:31pm

Author: klaus.krpano

Transition Effect for Krpano and Panotour Pro

Hi, that transition looks like the 3d translation movements plus a motion-blur post-processing filter. Will provide such filter too with the next releases. Best regards, Klaus

Monday, November 23rd 2020, 6:29pm

Author: klaus.krpano

Error: txtreplace

Hi, what error do you get? I have just tested again and it is working as it should. And there were no changes to that function since several releases, so it would be strange when there would be an error there. Here a test example that works: Source code 1 2 3 4 set(test,'Hello world'); txtreplace(result, test, 'world', 'krpano'); trace('test=',test); trace('result=',result); That should output that: Source code 1 2 INFO: test=Hello world INFO: result=Hello krpano Best regards, Klaus

Monday, November 23rd 2020, 6:28pm

Author: klaus.krpano

<include> via Javascript brokes the krpano player

Hi, is that error really from krpano itself? About your problem: to be able to use a variable as url placeholder it would need to be defined BEFORE actually using it. And for that these variables would need to be passed via 'initvars', not via 'vars' (the 'vars' will be set AFTER loading the xml - to be able to overwrite setting from xml) - please see here: https://krpano.com/docu/html/#vars https://krpano.com/docu/html/#initvars Best regards, Klaus

Sunday, November 22nd 2020, 10:12am

Author: klaus.krpano

Krpano WebVR cursor position

Hi, it can/need to be calculated. The depth/distance of the target position need to be given from somewhere, e.g. when hitting a hotspot there is the hitd variable which defines the distance to the hitpoint on the hotspot plane. See the in webvr.xml the 'vrcontroller_target_point' action as example. Best regards, Klaus

Sunday, November 22nd 2020, 10:07am

Author: klaus.krpano

Toggle Autotour with button?

Hi, switching autorotate.enabled works, but there is also a slightly better solution: Source code 1 onclick="if(autorotate.isrotating, autorotate.stop(), autorotate.start() );" This way the autorotate/autotour starts instantly when enabling it, otherwise it would wait the waittime before it starts after enabling. Documentation: https://krpano.com/docu/xml/#autorotate.start Best regards, Klaus

Sunday, November 22nd 2020, 10:00am

Author: klaus.krpano

How to get the 3d position of mouse in 3D Models?

Hi, there is no such as a '3d position of a mouse' - the mouse has only a 2d position on the screen. For hit-testing a ray, projected from the view/camera-center to the mouse cursor position, need to be tested against each triangle of a 3d model. And when the ray and the triangle hit, it would be possible to calculate a 3d position. krpano support such hit-testing for hotspots, but not for 3d-models yet. Best regards, Klaus

Sunday, November 22nd 2020, 9:56am

Author: klaus.krpano

Play a video inside a 3D model

Hi, sorry, but your code confuses me - why two videoplayer hotspots? And about positioning - they don't have the same positions in your code, one has depth=0 the other not, additionally one has a size defined and the other not. Best regards, Klaus

Sunday, November 22nd 2020, 9:52am

Author: klaus.krpano

includexml -- getting it to work

Hi, WHEN do you evaluate the values? Do you use the loaddone callback of the includexml action? If yes, please show your full example code. Best regards, Klaus

Saturday, November 21st 2020, 12:08pm

Author: klaus.krpano

spheretoscreen - screentosphere

Hi, works correctly as it should. What do you expect? Or are you confused by the near zero numbers in exponential notation? (e.g. values like 1.2345e-9) Due rounding errors the result can't be exactly 0/0 again, but they are very near to 0. Maybe add a rounding like this, then the results should be always 0.0. Source code 1 calc(layer[info].html, ' h=' + roundval(h,1) + '[br] v=' + roundval(v,1) ); Best regards, Klaus

Saturday, November 21st 2020, 12:04pm

Author: klaus.krpano

Call a javascript action that is in html

Hi, please see here: https://krpano.com/docu/actions/#jscall Best regards, Klaus