Hello,
I have faced to an issue when I call "stoplookto()".
When user touch the viewer, I am calling "stoplookto" and later when I want to call "lookto()", it is not working.
Please let me know if I am missing something.
Best regards,
Mudin
Hello,
I have faced to an issue when I call "stoplookto()".
When user touch the viewer, I am calling "stoplookto" and later when I want to call "lookto()", it is not working.
Please let me know if I am missing something.
Best regards,
Mudin
Hello,
I have an issue in UIWebView in IOS when I enter VR mode.
The white screen video is playing and restarting again and again.
I have checked krpano example, the same issue.
What could be the reason?
Thanks
Mudin
Hello Mudin,
I'm not quite sure what you mean - Did you optimize the original 2:1 aspect ratio panoramic source image via Photoshop or the like? Now you want to replace the panoramic image part of your KRPANO virtual tour only and keep all the rest? That should be easy enough. All you'd have to do is create the tiles again and replace the complete tiles folder.
Yours,
Michael
Hello Michael,
I run this command
And I got xml file, html, thumbnail, image tiles. Even original_pano_file is not optimized, the result tiles are optimized.
If I optimize it using other tools like Photoshop and run the command, the result of tiles are same.
It means krpano is optimizing the original image and making tiles.
If possible I wanna save that image which is optimized by krpano.
If I optimize it using php, it takes more time again.
Hope I could explain well.
Thank you
Best regards,
Mudin
Hello,
Is it possible to replace panorama image with optimized one?
I am calling krpano tool command using php and making tiles with image optimization.
And I would like to have the optimized panorama image.
I only have optimized tile images.
Any suggestions are very welcome
Best regards,
Mudin
That's the buggy CSS3D software rendering of Chrome.That means Chrome can't use the GPU hardware of your system and renders the 3d graphics with its buggy CSS3D software renderer.
Unfortunately it's not possible to detect that case to show an error that your system/browser combination wouldn't be supported...To avoid such case you could force required webgl support via html5=only+webgl in html file - then you will get an error message.
Or manually disable the GPU blacklisting in Chrome via chrome://flags/#ignore-gpu-blacklist.
Thank you for answering!
Then it was because I updated Chrome, not krpano.
I will wait new chrome update I guess.
Mudin
Hi everyone! Yet another stupid newbies question.
I created the container like a control bar in v1.19 skin, used special skin settings. But I'm don't see the container in tour. Whats wrong?
Hi!
First, try with bgalpha
Then, make sure you have databar_offset/width/height in ur skin settings
Hope it will help
Best regards,
Mudin
Hello!
Thank you very much for new support!
After updating to this version, I got an issue as described the picture that I am attaching.
It is fine in Macbook Pro(core i7), but problem in lower CPU (MacbookPro core i5).
Thanks in advance.
Best regards,
Mudin
Hi Mudin,
Have you tried destroying the pano object when leaving the state which displays the viewer ?
We have successfully implemented an Angular JS app that displays different pano viewers and we fixed the behavior you describe by calling removepano from the krpano js library. Just make sure that removepano is called when the user leaves the state, for example in a scope destruction event.Hope this helps,
Cheers
Hello Dreummeur,
Thank you for your suggestions.
I have not tried to remove the pano.
Cuz I guess it is already removed as html template is changed.
I call embedpano function with some timeout in the controller.
The controller runs everytime the route state comes to this controller.
Still not sure it is good solution or not.
Best regards,
Mudin
Display MoreInstead of brute-forcing it by cycling through every hotspot, you could use a more targeted approach.
1.
First of all, you don't want to even consider other hotspots, that is just a waste of time. Instead, when the scene is done, you could build an array of all the hotspots you need. You only have to do this once per scene and it would resemble the function that you are using now, but instead of setting the alpha, you would put the hotspot into an array.Now you only have to run through the hotspots that you know you actually could need, but this still is far from optimal. Perhaps this is all you really need, but there is something else you could then do.
2.
To really optimize this, you should consider sorting your data in such a manner that you can easily exclude hotspots that are, at that point, not interesting. This can be done in variety of ways, but I would probably index the array by ath values. This means that you don't have to process any hotspot that are behind you or just to far from the center. (this implementation is edging towards a bit more advanched data-mangling and perhaps isn't necessary for your purposes)3.
Lastly, I would suggest implementing most of it in Javascript, not a pure KRpano action. There is nothing wrong with scripting KRpano actions, but is just is another abstraction layer which by default is a bit slower than doing it 1 level up in javascript. The calls you have to make to KRpano won't be much slower themselves I believe.If there is something here that you would like to try, but don't really know how to set up, I'd be happy to try something.
Thank you very much for your suggestions and opinions!
That time, it was so slow,so I gave up with doing this feature in my project.
I have just seen this post and ur reply.
And I think I was so silly to try to use actions instead of JavaScript.
I already have array of all real hotspots (not arrows) in DB and json data.
Now also I need to find the nearest hotspot to the center when users zoom in to open next scene.
I will try what you suggested!
Thanks a lot
Best regards,
Mudin
Should be fixed in 1.19-pr6:
krpano 1.19-pr4 / 1.19-pr5 / 1.19-pr6
Hello, Klaus
Thank you for answering and new release!
I will check it
Best regards,
Mudin
Hello, Klaus!
I am still needing a solution for this.
a display=none might lead to a 0x0 viewer size and that might be problematic... (I haven't tested that case, but I will do).
have you tested the case display=none?
It would be decent of you if you could give me some hands upon tackling this matter!
Thank you,
Mudin
Hello,
I've been trying to find the solution for this kinda coordinates.
I also asked question here:
lookto 3d hotspot
But I only success with ath, not atv.
I also used this example:
Example/Tutorial - interactive area in the pano (aligned distorted hotspot)
ath = hotspot.ath + atan(hotspot-width/original-cubeface-width);
if I do the same for atv, it is only working for bottom center, not bottom/top left/right.
Kindly let us know if you found or will find any solution.
thank you,
Mudin
Hello, Klaus
Thank you very much for your reply.
I am already using viewer removing.
But I am developing a single page app which changes leaflet map and krpano viewer a lot.
I need to embed viewer again every time when users want to see the viewer.
When embedding it, I need to call a function onready. It is slower than just hiding using css (dislay=none).
Kindly let us know if there will be other solution.
Thank you,
Best regards,
Mudin
hello!
I used the same thing! But I also need better solution.
My solution is:
Quote
lookto(get(hotspot[h54].ath),get(hotspot[h54].atv),,smooth(20,20,20),true,true,
tween(hotspot[h54].alpha,'1.0', 3); lookto(get(hotspot[h52].ath),get(hotspot[h52].atv),,smooth(20,20,20));tween(hotspot[h52].alpha,'1.0', 3));
lookto has donecall, but looktohotsot does not.
it is working for me.
Hope it helps!
Hello everyone,
What could be the reason why onviewchange event is occurring continuously when krpano div's dislay is none?
I need to hide it sometimes, but when I hide it, it makes performance low.
Any hint appreciated!
Mudin
Hello everyone,
I am using AngularJS and changing routes often, and embedded krpano div is becomes empty after route changes.
If I refresh page, it is perfect, but if I go back and come the page again, the viewer is lost.
If anybody has an experience to use krpano with Angulat ui-route, kindly give some opinions.
Thank you in advance.
Mudin
I got answer in github :) Thanks,Lorenz
And it is working
Quote
scenePlayer.krpano.call('addlayer(connections)');
scenePlayer.krpano.set('layer[connections].connection[s'+id+'].hdir',ath);
Mudin
Hello,
Thanks for the nice plugin!
I am using it in my project, and I have a question:
is it possible to edit/add/remove arrows using javascript or just action?
Thanks,
Mudin
Hello,
Yes you are right, that's what I am trying to do!
And also floor plan enable is false, it doesnt call 'onclick'.
Quote
<style name="floor_plan_style" distorted="true" enabled="false" zorder="1" width="512" height="512" alpha="0.7"/>
<hotspot name="fp_1" style="floor_plan_style" ath="0" atv="0" url="floor_plan.jpg" onclick="js(pvrPlayer.fire('f_click'))"/>
If it is 'true', it calls the js, and I may know that the floor_plan is clicked even in vr mode.
But in this case, since it is big hotspot, it doesnt let me change view, i always have to use out of it for moving.
This is one more issue I got now .
And Sorry, currently I don't have online demo link.
Thank you very much for your help.
Mudin