You are not logged in.

Search results

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

Friday, September 29th 2023, 3:19pm

Author: klaus.krpano

Gyro2 and field of view

Gyroscope and limitview

Friday, September 29th 2023, 3:18pm

Author: klaus.krpano

copy url issue

Hi, hmm... that doesn't happen when I test it... Beside that - that would mean that Safari was putting that text with the surrounding the html code into the clipboard... and when pasting then just that text was inserted... Somehow filtering pasted content would be a bad idea, what if such code was intended to be pasted? Best regards, Klaus

Friday, September 29th 2023, 3:12pm

Author: klaus.krpano

Using async await in javascript action

Sure, just like in any other Javascript code - the code only need to be inside a 'async' function: Source code 1 2 3 4 5 6 7 8 9 10 <action ... type="js"><![CDATA[ async function asyncCall() { ... inside a async function you could use await ... } asyncCall(); ]]></action> or just run directly an anonymous function: Source code 1 2 3 4 5 6 <action ... type="js"><![CDATA[ (async function() { ... inside a async function you could use await ... })(); ]]></action> But note - async, await is only synt...

Friday, September 29th 2023, 3:02pm

Author: klaus.krpano

Hide or disable menu bar

Hi, e.g. add these lines anywhere in the tour.xml: Source code 1 2 3 <action autorun="onstart"> skin_hideskin(instant); </action> Best regards, Klaus

Friday, September 29th 2023, 2:56pm

Author: klaus.krpano

Gyroscope and limitview

Hi, the view-limitations are getting disabled by default when enabling gyro-control or the VR-mode. There is a way to re-enable them, but if that result would be acceptable depends on the actual pano - please see here for more: vlookatmin / vlookatmax not working with gyro2 before the first loadscene call Best regards, Klaus

Friday, September 29th 2023, 2:46pm

Author: klaus.krpano

Assign left click events to krpano

Hi, either check for the current mouse button - e.g: Source code 1 if(mouse.button == 1, ...); or Source code 1 if(mouse.leftbutton, ...); See: https://krpano.com/docu/actions/#mouse.button https://krpano.com/docu/actions/#mouse.leftbutton or change the control.panomousebuttons setting to 1: https://krpano.com/docu/xml/#control.panomousebuttons E.g. Source code 1 <control panomousebuttons="1" /> Best regards, Klaus

Wednesday, September 20th 2023, 7:12pm

Author: klaus.krpano

Tour crashing on mobile

Quoted from "insideplaces" try to use this plugin you suggested. ...no plugin, just change 'playsound' to 'streamsound' in your html file... a simple and easy change...

Wednesday, September 20th 2023, 7:10pm

Author: klaus.krpano

Load scenes one by one in order

Hi, look in the vtourskin.xml for 'skin_nextscene_loop' for example code. Best regards, Klaus

Wednesday, September 20th 2023, 7:09pm

Author: klaus.krpano

Editing north, without affecting hotspots?

Hi, add prealign="true" to each <hotspot> in the xml. (but note - the is a bug in the current version 1.21, distorted webgl-hotspot would have a wrong position in this case, this will be fixed in the next release). Best regards, Klaus

Wednesday, September 20th 2023, 7:08pm

Author: klaus.krpano

Too many hotspots to add manually

Hi, geo-location could be a solution... E.g. create a list with of all mountains with their latitude/longitude/altitude, also find the latitude/longitude/altitude + orientation for your pano-images, then you could try to create the hotspots automatically based on these information. E.g. search for some math to convert latitude/longitude/altitude to x/y/z, then calc the x/y/z deltas to the current pano position, and then convert the delta values to the actual ath/atv angles of the hotspot... Best...

Wednesday, September 20th 2023, 7:01pm

Author: klaus.krpano

Full screen not working on iPhone

Hi, E.g. add lines like these in your xml: Source code 1 2 <include url="..." devices="ios" /> <include url="..." devices="no-ios" /> See here for more information: https://krpano.com/docu/xml/#devices Btw - the include is a xml-parsing element, not a variable that can be set. That's why your code isn't working. Additionally - your js-detection only per userAgent isn't very reliable, the iOS browsers also have 'desktop' mode... Best regards, Klaus

Tuesday, September 19th 2023, 9:18pm

Author: klaus.krpano

Tour crashing on mobile

Hi, I think it might your .mp3 sound file - it is huge (~58MB). Note - the playsound action uses the WebAudio API and that API fully loads and decodes the sound file before playing - and a compressed 58MB mp3 files needs as decoded sound samples surely an huge amount of memory (in your case: 2428sec * 44100hz * 32bit * 2stereo = ~817MB). Try using streamsound instead - that will load and play the file chunk-wise and use much less memory. Best regards, Klaus

Friday, September 15th 2023, 10:34am

Author: klaus.krpano

Combine limitview.fullrange and limitview.range

Hi, try this: Source code 1 <events onloadcomplete="set(view.limitview,'fullrange');" /> Best regards, Klaus

Friday, September 15th 2023, 10:28am

Author: klaus.krpano

Bouncinglimits

Sorry, the bouncinglimits parameters are currently not adjustable - but I have added this now as feature request.

Friday, September 15th 2023, 10:23am

Author: klaus.krpano

Panotour Pro Update Package

Quoted from "Loro" When using a panotour on iOS devices and switch on gyro mode, the image is upside down. Is there any workaround for this? @Klaus: Will you provide a fix for this sometime? That's already fixed, use the latest version: https://krpano.com/news/#news121_ios164 krpano 1.21 (pre-release)

Friday, September 15th 2023, 10:21am

Author: klaus.krpano

Editing north, without affecting hotspots?

Hi, actually the hotspots don't move, the pano does Try adding prealign="true" to the hotspots. Best regards, Klaus

Friday, September 15th 2023, 10:20am

Author: klaus.krpano

Reverse engineering matteport coordinates

That just a 90 degree rotation around the y-axis. We have probably used different axes/position mappings when trying. When the pano-mapping fits, that doesn't matter that much. For the model I have used: axis="+x+y+z" (the default) and for the pano positions: origin.x = -position.x * 100 origin.y = -position.z * 100 origin.z = -position.y * 100

Friday, September 15th 2023, 10:14am

Author: klaus.krpano

use3dtransition doesn't work on website

Hi, the transitions seems to be working, but some settings in the vtourskin.xml doesn't make sense... Look in the your vtourskin.xml in the 'skin_scene3dtransition' action and change there these values: Source code 1 2 motionblur = 5; transitiondelay = 2.0; back to their defaults: Source code 1 2 motionblur = 0.5; transitiondelay = 0.0; Then clear the browser cache and load/try again. Best regards, Klaus

Thursday, September 14th 2023, 11:24pm

Author: klaus.krpano

How to convert quaternions to depthmap.align

See here: Reverse engineering matteport coordinates