Search results
Search results 1-20 of 120.
This isn't as hard as you think, but you will have to make sure the exposed back-end is safe and sane in PHP. The interface could look something like this : Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 function dataHandler(Variable,Value,ID){ var Data = new FormData(); Data.append('ID', ID); Data.append('Value', Value); Data.append('Variable', Variable); var DBIO = new XMLHttpRequest(); DBIO.onreadystatechange = function() { if (DBIO.readyState == 4) { parseData(DBIO.responseText); } DBIO.ope...
A polygon does not use ATH and ATV because it is defined by a set of points, not a single position. You can set these variables i believe, but they will not influence the polygon itself. If you need the center of the polygon, you need to calculate it by adding all the vertical and horizontal coordinates for the polygon and divide that by the number of points. This will give you a average center of the polygon. With odd shaped poly's this does not always result in the desired effect. In this case...
Ah yes, I think I can work something out from this! Thanks Edit : Managed to make a pointer driven function that lets me move the flyout hotspot in certain cases.. Thanks again for the tip!
Hi Everyone, A client wanted text on panels in-pano which, as you all can imagine is a terrible idea on smartphone screens! So I extended the flyout functionality with a Q&D zoom function, but certain panels zoom out of view. So now I need a way to move the zoomed in flown out image around. It it possible to offset a flyout hotspot in the X and Y direction? Standard flown out hotspots are centered on screen. I need to be able to move them. Thanks in advance.
Have you tried having a hard coded hotspot with the same values in your tour file next to the dynamic one? See if it acts the same way? Could it also be a depth thing? Don't think so.. but perhaps...
Quoted from "sblack" I think that transition like zoomblend but with support of transition direction will be good enough it is very hard to realize this blending type? If the hotspots and the pano's are aligned properly, the effect is almost identical. It's trivially easy. You can get the code from the examples on the KRpano site.
Quoted from "SpinStudios" How do we close the iframe? removeChild doesn't seem to work? Never tried that before.. Perhaps you can set visibility? Use JS to set the iframe SRC to blank for neatness? Another possibility is to give the iFrame a unique ID in the action add_iframe and then use JS to remove the element from the HTML tree. I think that would be the best way.
Quoted from "localoca" I used to dynamically create hotspot,use KRPANO drag hotspot examples code to save hotspot atv and atv value,using the same ath atv value create hotspot,hotspot has big sheifted. Thanks for the help. To little information. Try to give a link or examples.
Quoted from "localoca" same question,same atv and atv value,but hotspot postion has shifted Again, there are a lot of reasons why this could be happening. Without extra detail troubleshooting it is like a shot in the dark. Is the difference small? within 1 degree or large? How are the values stored? How does the query return floats? Are the types correct? Are points replaced by commas or the other way arround? Are you sure you sampled the correct ATH and ATV values at the right time? Example co...
Then It might be a good idea to start here : http://krpano.com/docu/xml/#top Here you can get a feel for the document structure and attributes. Then this might be interesting for you : http://krpano.com/docu/actions/#top The tween I was talking about is here : http://krpano.com/docu/actions/#tween Examples are provided.
It is possible and there are a couple of forum threads that deal with this, but there are still issues with various browsers where it will not work due to the implementation of the imagebuffer of something like that. In Webkit browsers (safari/IOS), you won't get this to work for now.
Should not be much of a problem. The pulsating effect could be set with a timer or interval and using tween on the size. The picture on hover could be as simple as a url attribute replace. I see no problem implementing such a feature in a webGL panotour. Another option of course is to animate the pulsating effect with a PNG animation.
Alright, I'm interested if it works out!
Is it a big shift or a small shift? Are the decimal places the same? Is the returned decimal point of a usable character? Do you have a bit of sql code, DB structure and krpano implementation for hints?
http://krpano.com/docu/actions/#add You can't simply use opperators like that. You need to either do it in pure JS, or use the math functions like add, which you can find in the documentation.
The information you provided is a bit sparse... Could you provide an example or some code that might be connected to the problem? It could be something very local, a cache problem or perhaps something else. Can,t be sure without more input.
You could initialize a hidden iframe with the proper x and y and use that to make the dump with. It will not work on ios or safari unfortunately. Also objects rendered with css3d also will not show.
Ah yes, I see, &nbps is a none parsing entity in XML... Well, I don't know if it will work in flash, but you can also try : & #160; (without the space after the & ) It should behave like &nbps; somewhat.
Glad to be of service!.. And know that sometime the stuff I say actually does something!
Step 1 would be to study the documentation and example. Step 2 could be to FIRST search the forum for similar question and perhaps find this : Passing Current Scene hlootat, vlookat values to next scene Step 3 if all things fail, would be to post a question, which is the point where I would, in this case, direct your to step 1 or 2