Suchergebnisse
Suchergebnisse 1-20 von insgesamt 108.
Hello friends, maybe this post is related to my post I have just written: https://krpano.com/forum/wbb/index.php?page=Thread&threadID=19413 Is this what kabkee is talking about? Cheers, hyung
Hello, I just came across an issue with soundinterface's oncomplete event. I have a simple hotspot which plays a sound. Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 <hotspot onclick="hs_clicked('myString', 10);"></hotspot> <action name="hs_clicked" scope="local" args="var1, var2"> js(console.log(get(caller.name))); // output: hs1 js(console.log(get(var1), get(var2))); // output: myString, 10 tween(caller.ath, 30, 1, default, on_complete1(get(var1), get(var2))); playsound(mysound, "s...
Dear Tuur, I have just sent you private message. Thank you very much for your help!! Best Regards, Hyung Zitat von »Tuur« Hi, yes I have this, for years already. Please send me private message or email for further details. Tuur
Hello, I am trying to create krpano contents especially for Oculus Quest 2 and came across following questions. 1. MobileVR Setup in Oculus Quest 2? - MobileVR Setup is supported in norma vr-mode but I don't find this feature in Oculus Quest 2. I want fov to be sligtly larger than the default one -> Would be this possible by krpano coding? 2. Recommened cube size for Oculus Quest 2? - I know I can find this though trial and error.. but I am curious if there's certian formula to achieve this (bas...
Hello, I have just realized that the 360 video controller disappears when entering VR-Mode. - https://krpano.com/releases/1.21/examples/#videopano Is there any 360 video controller out in the market? At least I want to play/pause, adjust volume in VR-Mode. Best Regards, Hyung
Yes, I think I should wait for the next version of documentation. Thank you for your replies! Cheers! Hyung
Hello, I was reviewing krpano examples code and found one line which I couldn't understand. Example - https://krpano.com/viewsource.html?releases/1.20.11/examples/../viewer/examples/control-mode/example.xml Zitat onclick="set(control, mouse=drag, touch=drag);.." I have just learned that I could set multiple values to an object, but In the code above, the "control" object does not have mouse/touch attributes and it seems that the "drag" values belong to "control.mode" attribute. So the shouldn't ...
Hello indexofrefraction! Thank you very much for your answer. calc:calc('loc[goodbye].'+language) -> I have never ever imaginged this expression! @Klaus shouldn't this work? (it doesn't) title="get:calc('loc[goodbye].'+language) -> I am very curious too. Have a nice day! Best Regards, hyung Zitat von »indexofrefraction« Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 embedpano({ ... initvars:{ language: "en" }, ... }); ... ... ps. calc:calc('loc[goodbye].'+language) --> calc:loc[goodbye].en --> "G...
Hello, I want to set XML attribue's value dynamically, but not sure whether this is possible without using events (and actions). From my html document, I am passing a parameter "langauge". Zitat <script> embedpano( { id:'vr', xml:"tour.xml", target:"pano", html5:"only", mobilescale:1.0, initvars:{ langauge: en } } ); </script> And I have multilanguage set in krpano XML format. Zitat <multi_language> <welcome name="welcome" en="Welcome" de=Wilkommen" it="Benvenuti" .../> ... </multi_language> I w...
Hi Tuur! Short codes but tell me lot of things! Thank you for your example! Best Regards, hyung Zitat von »Tuur« Hi, here a simple example: https://www.virtualtuur.com/krpano/120/help/hotspot_array/1/ xml: https://www.virtualtuur.com/krpano/120/h…rray/1/tour.xml Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 for(set(i,0),i LT arr[htsp].item.count,inc(i), copy(h, arr[htsp].item[get(i)]); if(get(h.sc) == xml.scene, addhotspot(get(h.name), hs); hs.loadstyle(htsp); set(hs, ath=calc(h.ath), atv=calc(h...
Hello Tuur, Zitat or when you have them all defined in an array. -> do you mean krpano array? Can you show an example of this? Best Regards, hyung Zitat von »Tuur« Zitat You can get hotspot data if it is global, i.e. keep="true" or when you have them all defined in an array. Tuur
Hello indexofrefraction! Thank you very much for your super clear explanation!! I believe Klaus built it this way for efficient memory management. I think I can solve my problem by using hotspotname+events(onnewpano). Thank you again for your explanation! Best Regards, hyung Zitat von »indexofrefraction« Zitat von »hyung« I thought all the XML information are accessible like JavaScript DOM -> Am I wrong? yes... its not that simple. the scenes are special... only the active scene is in the memory...
Hello, I want to retrieve other scene's hotspot attributes and tried following code: Zitat hotspot[hotspotname].url); This works only for the hotspots which are in the current scene. So I tried adding scene information like this but doesn't work: Zitat get(scene[scenename].hotspot[hotspotname].url); I thought all the XML information are accessible like JavaScript DOM -> Am I wrong? Could someone explaing how this works? Best Regards, hyung
OK I see, Thank you Klaus :) hyung
Hello, I have just found out "Cardboard Device Parameter Database (DPDB)". - https://krpano.com/plugins/webvr/#mobilevr_database_url The database is json code which looks as follows: "format": 1, "last_updated": "2018-02-20T22:55:10Z", "devices": [ { "type": "android", "rules": [{ "mdmh": "asus/*/Nexus 7/*" }, { "ua": "Nexus 7" }], "dpi": [320.8, 323], "bw": 3, "ac": 500 } I tried searching for documentation for these parameters but couldn't find it. I can see "ua" is "user-agent" but parameters...
Hi, Recently (probably after I have updated krpano version), it seems that loading speed of panorama tiles have become slower. I have found out Klaus's answer (year 2012) https://krpano.com/forum/wbb/index.php?p…d&threadID=7952 I can't find "downloadqueues", "decodequeues" options in recent XML documentation. Maybe these options are only for Flash Player? Does anybody have know to where I can set these options? (Or is this even possible now?) Or is there any other way to improve loading speed of...
I found the reason. It was the difference between HTML5 vs Flash. Flash offers more rain like effect, whereas in HTML5 the snow and rain effects are basically the same. Hope HTML5 offers more rain like effect like Flash in near future. Cheers, hyung
Hi, I have tried both snow & rain effect but found no difference. I remember years ago rain effect looked really like rain.. But now, even if I set the mode to "rain" I see same effect as snow and the rainwidth and rainalpha don't seem to be working.. Below is my code. Quellcode 1 <plugin name="snow" url.flash="%SWFPATH%/plugins/snow.swf" url.html5="%SWFPATH%/plugins/snow.js" blendmode="normal" mode="rain" imageurl="" imagescale="1.0" flakes="4000" color="0xFFFFFF" floor="0.3" speed="10.0" sprea...
Hi Alaxey! Thanks for your reply! So I have to loop through all the layers/hotspots in order to change the common attribute. I really wish there was a selector based on regular expression (or like jquery style). maybe I should ask Klaus to implement this feature. Best Regards, hyung
Hi, I have a style which has attributes such as "url", "scale" and so on.. I have many layer object which use this style. What I want to do is to change the attribute value of this style (for example "scale" attribute value) so all the layers which use this style are affected by this change. When I trace the value of the style's attribute, I can see the change is applied but nothing changes visually. Is this normal or is there any workaround? Any comments are appreciated. Best Regards, hyung