Gigapanorama from football with Facebook tagging

  • Impressing. I'd love to know more about that facebook functionality, too.

    0100011101101100011001010110100101100011 0110100000100000011010110110110001100001 0111010001110011011000110110100001110100 0110010101110100001011000010000001001010 0111010101101110011001110110010100101110 0010000001000101011000110110100001110100 0010000001101010011001010111010001111010 0111010000101110

  • Hi


    I am responsible only for KRPano part of this job . All external code is made by my friend , Piotr Galas .


    Here is his answer for that question :



    Thanks


    Radek

  • I've had the honor to do the front-end for Jeffrey Martin's Wembley360 project. I made the decision to keep as much as possible within the krpano environment (ie: no external javascripts, custom plugins where needed), and have written two plugins for loading hotspots into the current scene and for communicating with Facebook (friends lists, wallposts, that sort of stuff). It still needs a server-side back-end, which I have also designed, but which was heavily optimised by the 360cities guys.

    A propos, tagging in photos... A friend just sent me a link to this article:
    http://www.insidefacebook.com/2011/05/17/fac…-photo-tagging/
    Zuckerberg et al have just been awarded a patent on tagging "stuff" in photos and other media. Interesting to see how that pans out...

  • I have some weird behaviour with the tour. In Firefox 5.0 (windows 7) the spots load, then dissapear, I try to turn, Firfox freezes, Spots show again, I click a spot zoom a bit in, then It reset back to orginal view, freeze again etc

    But nice USP :) Combining Social with panorama to make it more attractive for this age :)

  • A workaround would be loading less spots at the same time, or not to update the spots to often. When the panorama starts, you're almost maximum zoomed out, showing over a 100 hotspots (that's probally gotten from a db, live). If I just turn 15-30 degrees, it loads another 100. If I zoom in a bit, it subdivides the spots. In other words, the littliest change, forces 100 hotspots to reload. A solution would be showing a max of 40 spots and update when you have moves (pan/tilt/zoom) in a greater degree.

    I wonder if it would be faster if the xml gets build before instead of using ajax @ every +/- 15 degree. An xml is quickly loaded. Even it was a large xml of 1 mb (compared to the photo it would be nothing)

  • I did a simular project (not panorama tagging, but with phototagging). Instead of ajax calling all the facebook stuff, I did a cronjob every half hour that gets all the facebook id's from the db, and fills the db with the latest info. Plus side, instant data, no lag. Downside data was an half hour old. you could build an xml of all the spots this way. you only need to update the one the user fills in that moment. that would be 2 db requests, and not a 100 every 15 degree ;)

  • DB isnt buttleneck for whole solution (at least at current stage). We can export all data to static files but "total cost of reqest" wont change dramaticly and what is the worst - whole solution is less flexible. Loading XML generates bigger traffic what affects speed of whole solution and is not too efficient.

    Currently cron jobs are used for refreshment of clusters structure and top taggers. Development installation is running with new optimization which we will use for next project. Ive got ideas for next stage of optimizations but probably for next, next project (if it will be still needed).

    Anyway, thx for inspiration and constructive discussion - thats the point!

  • Today there was publication of the newest project made for Red Bull Poland and it is gigapanorama from polish edition of Red Bull X-Fighters - Poznań 2011.
    We have made really big progress (i.e. there is needed less resources for DB server, it works faster, its better integrated with social media and so on).

    You can watch it here:

    http://www.redbull.pl/cs/Satellite/p…001243051318018

    PS Right now number of tagged people isnt big as we are still waiting for all information/marketing actions.

  • Hi people, I need to implement something exactly like this.

    How can i start my first app with Krpano?

    I have onde doudts:

    - how can i integrate krpano in my code as3?
    - how can i create a 360 gigapan?

    tks

  • hi,

    how can i save the position ath and ath when i click at one point x,y of the pano image?

    My Code:


    private function onMouseDown(e:MouseEvent):void
    {
    // mouse action

    if (_isExist)
    {
    return;
    }
    else
    {
    var spotname:String = "spot1";
    _krPano.call("addhotspot(" + spotname + ")");
    var spot:Object = _krPano.get("hotspot["+ spotname + "]");
    spot.url = _urlImage;
    _krPano.call("screentosphere(mouse.x,mouse.y,toh,tov);");
    spot.ath = mouseX;
    spot.atv = mouseY;
    spot.zoom = false;
    spot.onclick = function():void { _krPano.call("showlog()"); _krPano.trace(1, "cliquei aqui..."); };
    _isExist = true;
    }

    but then i wanna save the position mouseX and mouseY in a fixed point? How i can do that please?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!