Sie sind nicht angemeldet.

Suchergebnisse

Suchergebnisse 1-20 von insgesamt 120.

Sonntag, 23. April 2017, 15:21

Forenbeitrag von: »Timescale«

data to an from KRpano

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 : Quellcode 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.open(...

Sonntag, 23. April 2017, 14:51

Forenbeitrag von: »Timescale«

Poygon ath atv

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...

Freitag, 9. Dezember 2016, 14:33

Forenbeitrag von: »Timescale«

Thank

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!

Freitag, 9. Dezember 2016, 13:21

Forenbeitrag von: »Timescale«

Flyout hotspot offset

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.

Sonntag, 10. Juli 2016, 20:30

Forenbeitrag von: »Timescale«

same atv ath value,hotspot has shifted

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...

Sonntag, 10. Juli 2016, 15:59

Forenbeitrag von: »Timescale«

Matterport

Zitat von »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.

Sonntag, 10. Juli 2016, 15:54

Forenbeitrag von: »Timescale«

Example: iframes (or any other html content) as distorted hotspot

Zitat von »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.

Sonntag, 10. Juli 2016, 15:49

Forenbeitrag von: »Timescale«

same atv ath value,hotspot has shifted

Zitat von »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.

Sonntag, 10. Juli 2016, 15:47

Forenbeitrag von: »Timescale«

Hotspot ath atv not giving correct position on retrieve from database

Zitat von »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 code...

Montag, 4. Juli 2016, 14:42

Forenbeitrag von: »Timescale«

How to create hotspot animation by using webGL

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.

Montag, 4. Juli 2016, 13:45

Forenbeitrag von: »Timescale«

Take a Screenshot on Current Scene

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.

Montag, 4. Juli 2016, 13:36

Forenbeitrag von: »Timescale«

How to create hotspot animation by using webGL

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.

Sonntag, 26. Juni 2016, 16:39

Forenbeitrag von: »Timescale«

"generated" high-res screenshot

Alright, I'm interested if it works out!

Sonntag, 12. Juni 2016, 00:15

Forenbeitrag von: »Timescale«

Hotspot ath atv not giving correct position on retrieve from database

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?

Sonntag, 12. Juni 2016, 00:10

Forenbeitrag von: »Timescale«

how can I do this? height + height (Solved)

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.

Sonntag, 12. Juni 2016, 00:06

Forenbeitrag von: »Timescale«

Hotspot Issue

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.

Samstag, 11. Juni 2016, 23:59

Forenbeitrag von: »Timescale«

"generated" high-res screenshot

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.

Samstag, 4. Juni 2016, 17:47

Forenbeitrag von: »Timescale«

Cutting off last letter of scene title.

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.

Samstag, 4. Juni 2016, 16:18

Forenbeitrag von: »Timescale«

Cutting off last letter of scene title.

Glad to be of service!.. And know that sometime the stuff I say actually does something!

Samstag, 4. Juni 2016, 16:14

Forenbeitrag von: »Timescale«

Steps to success

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