Sie sind nicht angemeldet.

Suchergebnisse

Suchergebnisse 1-20 von insgesamt 21.

Dienstag, 2. Juli 2013, 21:17

Forenbeitrag von: »electronicpanda«

Android Jellybean problem

Greetings, I've finished one web based application's panorama module with krpano. Thanks for that. Now I am working on a mobile application that will include panoramic views. Therefore I will be using krpano in html5. I already have read the explanation about krpano Android OS problems. That happens to my application as well, sometimes cube's parts look divided from each other and sometimes it works fine. I can provide screenshots when I get back to office. I want to ask that if there any kind o...

Samstag, 22. Juni 2013, 12:34

Forenbeitrag von: »electronicpanda«

Is it possible to place flying hotspot on different place than center normally?

I am trying to make 3d direction arrows, When I make hotspot flying (which is not documented I guess) it puts the hotspot on the center. When I set ath, atv, nothing changes. There is no x,y property. Only way is changing ox, oy. However changing ox and oy cannot change hotspot's rotatation origin. When I use rotate, hotspot still rotates around the center. Plugin is not a solution since it is not possible to set rx,ry,rz properties for plugins.

Freitag, 21. Juni 2013, 15:30

Forenbeitrag von: »electronicpanda«

snapshot of some part or what you see on panorama as a picture.

Yes I did check that plugin, however it only gives built in functions for php and doesn't export generic functionality for different purposes. Also I checked one of the old posts which was written by chinese (or japanese) user but it was embedded to flash. The problem is a person who knows nothing about actionscript cannot use that plugin for his requirements. Therefore I decided and managed to achieve that on serverside. It would be great if we had a plugin which will get bounding box start and...

Samstag, 15. Juni 2013, 09:40

Forenbeitrag von: »electronicpanda«

snapshot of some part or what you see on panorama as a picture.

Greetings, I am not familiar to the action script therefore this problem makes me confused. Right now working on a project and the last part is creating reports. For this I need to take some part (and the hotspot on that part) from the panorama as a picture and add it to the printable report. However with using javascript explicitly there is no way to get picture from panorama. Therefore, I am pretty hopeless :) Is there any kind of way, plugin or any other method in clientside to take pictures ...

Dienstag, 11. Juni 2013, 09:41

Forenbeitrag von: »electronicpanda«

[resolved] when does hotspot[name].onloaded gets fired in javascript

I found the issue, the problem was in the next pano photograph hotspots were coming earlier than picture load. now problem is solved after binding hot spot loading function to events.onloadcomplete. Thanx for the help.

Montag, 10. Juni 2013, 16:38

Forenbeitrag von: »electronicpanda«

[resolved] when does hotspot[name].onloaded gets fired in javascript

As an example these codes doesn't work right after krpano().call('loadxml(... row, after that when I check console I see spotTest hotspot is placed but point coordinates weren't: krpano().call("wait(LOAD)"); krpano().call("addHotSpot(spotTest)"); krpano().set("hotspot[spotTest].point[0].ath", 35); krpano().set("hotspot[spotTest].point[0].atv", 35); krpano().set("hotspot[spotTest].point[1].ath", 37); krpano().set("hotspot[spotTest].point[1].atv", 37); krpano().set("hotspot[spotTest].point[2].ath"...

Donnerstag, 6. Juni 2013, 16:17

Forenbeitrag von: »electronicpanda«

[resolved] when does hotspot[name].onloaded gets fired in javascript

Hello, I am trying to draw polygons after getting data from server (geometry points). When I try following rows it doesn't fire test() function: Test case: function test(){ console.log("fired"); } krpano().call("addhotspot(testhotspot)"); krpano().set("hotspot[testhotspot].onloaded","js(test())"); When I can exactly know if hotspot is loaded to put it's points or it's picture? If I try to put its points right after addhotspot() function with: krpano().set("hotspot[testhotspot].point[0].ath","22"...

Dienstag, 4. Juni 2013, 09:20

Forenbeitrag von: »electronicpanda«

hotspot rotation and plugin rotation difference

Greetings, While hotspots are rotating with respect to center point, plugins can be rotated from top left corner. Is there a way to rotate plugin with respect to it's center point? Or is there a better way to do direction icons that will be always in user's vision? Best regards,

Mittwoch, 29. Mai 2013, 08:46

Forenbeitrag von: »electronicpanda«

Few more questions :)

Thank you for the answers, For question 2, the only part for me is cropping some part of of the panorama main image and save it or hold to somewhere, canvas is not so important. Best regards,

Dienstag, 28. Mai 2013, 08:09

Forenbeitrag von: »electronicpanda«

Few more questions :)

Hello there, 1- Does krpano throws exceptions to javascript side? How can I catch krpano's exceptions from javascript (chrome/firefox console doesn't show any error or exception) 2- Is it possible to crop some part of the panorama image and paste it into html 5 canvas? 3- Is it possible to put "double click" event on hotspots? In documentation I could see on click on hover etc but double click is not possible? Best Regards,

Samstag, 25. Mai 2013, 20:04

Forenbeitrag von: »electronicpanda«

[resolved] The list of variables and their values

if you are holding your data in text files or in database etc, in my opinion: 1- You can create a script to create xml dynamically up to your data, there are various ways to create xml strings and adding elements into them. 2- You can get your data and programmatically create panorama/hotspots/buttons or add panoramic pictures etc. I don't know action script much but even in javascript you can do it easily. I saw in some topics, people suggest action script because of performance benefits. Which...

Mittwoch, 22. Mai 2013, 16:50

Forenbeitrag von: »electronicpanda«

changing the name (or id whichever is identity) of hotspot

Hello, I changed from 1.16.1 to 1.16.3 I tryed once more and it works correctly now. I am not sure actually if it was because of version or my mistake to be honest. But if anyone finds time to try in 1.16.1 my test is: var originalAth=krpano().get("hotspot[spot783d78f7-f3ca-44f4-adf7-e63e1a5727dc].point[0].ath"); console.log(originalAth); krpano().set("hotspot[spot783d78f7-f3ca-44f4-adf7-e63e1a5727dc].name", "spottestcase"); setTimeout(function(){checkTheChange();},2500); function checkTheChange...

Montag, 20. Mai 2013, 13:32

Forenbeitrag von: »electronicpanda«

changing the name (or id whichever is identity) of hotspot

Greetings, I want to change the id of hotspot with another id. I use this code (in javascript): krpano().set("hotspot[" + hotspotIdToBeChanged + "].name", "spot"+newUniqueId); A hotspot with newUniqueId can be created but It doesn't have the same properties of original hotspot, plus original hotspot stands still, therefore, I guess I am not successful to change the name of the hotspot. Is there a way to clone hotspot with another id/name or can I change the hotspot's name programmatically? Best ...

Freitag, 17. Mai 2013, 17:01

Forenbeitrag von: »electronicpanda«

how to get coordinates of mouse position on whole picture

Let's say my panoramic picture is width: 1600px, height:1400px I am capturing mouse.x and mouse.y -> 55,65 Now I go to left 200 degree in panoramic view I put mouse pointer to exactly same position on the screen and capture mouse.x and mouse.y -> 55,65 v and h values differ. However I cannot find out the position of my mouse on the 1600 x 1400 picture (for example like x: 1200px y: 600px) if at the middle top of picture v=90degree and h=0degree I guess I can convert these values with javascript ...

Freitag, 17. Mai 2013, 16:26

Forenbeitrag von: »electronicpanda«

how to get coordinates of mouse position on whole picture

Hi there, I can get mouse.x mouse.y with respect to my looking direction, and h and v values. However I couldn't find a place to get the mouse positions's real position on the picture. mouse.stagex gives same value with mouse.x.

Dienstag, 14. Mai 2013, 14:11

Forenbeitrag von: »electronicpanda«

krpano editor plugin question

Thank you, I could manage creating polygonal hotspots and rectangles with listening mouse events, right now I am working on elliptical surfaces...

Montag, 13. Mai 2013, 10:33

Forenbeitrag von: »electronicpanda«

krpano editor plugin question

Greetings, There is so little documentation about krpano editor plugin. I am trying to make it possible to put polygonal hotspots by the user with using javascript. But the page about editor plugin is this: http://krpano.com/plugins/editor/ Could anyone tell me where can I find editor plugin methods to use them explicitly? like startDrawingPolygon or polygonEnds methods/callbacks etc. I think I am looking at wrong documentation, or was it meant to be embedded as it is and no explicit usage is al...

Montag, 13. Mai 2013, 09:53

Forenbeitrag von: »electronicpanda«

Flash button to close the ancestor div

Zitat von »klaus.krpano« Hi, note - some browsers are closing the Flashplayer when using display=none on it - and when showing again, they will restart and with a new instance. Best regards, Klaus I see, thank you for the answer. After creating this post I realized that in Internet Explorer 9 and 10 when you try to hide the parent div it erases all the methods because of Internet Explorer's bug. Unfortunately, since I cannot enforce my customers to use different browsers (government foundation)...