Posts by Stoney

    You can code a krpano / zoomify HTML5 viewer solution that will load the better krpano viewer on platforms that support flash. Your javascript or other code would load the zoomify HTML5 viewer when it detects a non flash platform such as the Ipad or Iphone. Krpano is able to display a Zoomify image pyramid. Note, that the zoomify viewer is only able to navigate the multi resolution panorama using a flat / planar projection.

    1. Produce a zoomify image pyramid that the krpano viewer or zoomify HTML5 viewer ( Note that you could produce both types of image pyramids, but that this substantially increases your storage requirements )
    2. Modify your krpano xml file to display an image pyramid of the type ZOOMIFY.
    http://www.krpano.com/docu/xml/#image

    Code
    <image type="ZOOMIFY" hfov="..."> 
        <zoomify url="zoomifypano/ImageProperties.xml" />
    </image>


    3. Modify a zoomify template to insert into your current code or HTML
    4. Modify the browser / platform detection code such as swfkrpano.js ( this code is minified, so it will be difficult ) or an alternative embedding software to use the zoomify HTML5 viewer instead of the krpano HTML5 viewer when the Ipad or the Iphone are detected.

    I assume that krpano will probably support multi resolution panoramas on the Ipad platform in the future.

    Are you attempting to implement tagging? You should display fewer icons that communicate the fact that there are more tags in a general area. Many of the applications ruin the aesthetics and hinder performance. You should also make a good balance between a responsive application and uneccessary function calls.

    Nice panorama. I especially enjoy looking at all of the scooters at the left and right ends of the lake.
    What type of equipment did you use to capture the gigapixel panorama?
    Is that fog or is that pollution?
    Thank you for sharing it with us :)

    You should use the concept of a state machine to determine which scene is loaded. When you trigger the event which loads the next scene such as 'onclick' you should call a function that changes the state and calls another function that makes changes dependent upon the new scene. So the onclick event has a function call with the new state passed as a parameter.

    <hotsplot name="first"
    ...
    onclick="switchScene(first);"
    ...
    />

    <action name="switchScene">
    if(hotspot[
    ...

    Has anyone thought about how they are going to stitch 360 video to use in the krpano 1.0.9 alpha/beta release. I planned to do something like this during June of 2010. I was thinking of capturing with 360 fisheye lenses and extracting the frames of video using Quicktime. Then I was going to stitch the first few frames and use the alignment data to batch stitch in Ptgui. Any ideas would be welcome.

    360 video players have existed for a while. One problem is that people do not know when 360 video is a good choice. Music concerts are one good application.

    I just explored the Google labs 3D body using the Chrome 9 beta and Firefox 4 beta browsers. I have not tried the Mac Webkit which needs to be enabled on the command line. Apparently Microsoft Explorer 9 team does not intend to support WebGL which is a bummer because such a large percentage of users are on MS Internet explorer. It would be great to see some panoramic viewer use WebGL.

    Chrome 9 beta ( Currently examples work better in this implementation )
    http://www.google.com/landing/chrome/beta/
    Firefox 4 beta
    http://www.mozilla.com/en-US/firefox/beta/
    Webkit ( includes command line to enable WebGL )
    http://nightly.webkit.org/
    http://webkit.org/blog/603/webgl…bkit-nightlies/

    WebGL Experiments ( Try the Body Browser, zoom in and out, rotate, different layers, turn labels on and off )
    http://www.chromeexperiments.com/webgl

    Learning WebGL
    http://learningwebgl.com/blog/?p=2875

    Very nice presentation and programming. I love the graphics that you used to skin the panorama. I miss Madrid and Spain. Hopefully I will have time to visit after the IVRPA conference near Lisbon in June.

    The horizon does not seem that bad to me and there are things called "Colinas" that can make the horizon not be level ;) You can straighten things in Ptgui by clicking and pulling up and down in the editor in Ptgui. You can also create vertical or horizontal control points in the control point tab. At different locations through the panorama choose the same image twice. Change the control point type to vertical or horizontal. Then find a nice vertical line such as the side of a building. Click at a point on the line in the left hand tab. Then click on the line in the right hand tab. Then choose another image in the panorama that has a good vertical line. Then repeat this across the panorama. Then optimize and take a deep breath of relief as you see the better result. If you made it worse, then just click on the left arrow to undo the change. Click it a second time to remove one of the vertical control points that you added.

    For the night panorama you might use 2900 kelvin as a good compromise between tungsten and around 2160 kelvin for low pressure sodium. If you go lower things will seem too blue and muddy. If you increase the kelvin too much it will become more orange. Then slightly decrease the exposure or bring up the blacks to remove some of the haze. If the street lights are flaring too much you can also open up your diaphragm slightly especially if you do not need the depth of field or need a faster exposure.

    Ok, I added the zorder to the plugins again and I did not get a syntax error and the buttons displayed on top of the rectangular graphic. Then, I removed the "editor" plugin which is displayed at the same vertical level as the graphic and all of the buttons disappeared. What is happening?

    http://stoneyphoto.com/shots360/coral/

    Also, the image hotspot was a silly typo. Though it is necessary at times to move the mouse to the edge of a polygon in order to trigger the onover event. Often the onhover will not occur until as I pass from one edge of the polygon to the center. I must continue moving the mouse to the other edge of the polygon. Then the onhover action is triggered.

    1. I was using the skin/ buttons example as a template for adding a custom set of buttons via the "plugin" along with usage of "button" and "crop".
    a. Using a plugin to display an image of a bar behind the buttons will conceal some of the buttons and the mouse events. If I disable the bar image then all of the buttons are displayed and work well.
    b. I tried using the attribute "zorder=2" for the button plugins, but krpano throws a syntax error.
    c. The buttons concealed seems arbitrary.

    Example ( with the plugin instance "rodape" keep=false so that the buttons do not disappear. plugin splash is kept )
    http://stoneyphoto.com/shots360/coral/


    2. Also two problems with image hotspots in polygon hotspots. Sometimes a image hotspot that is made visible by a "onhover" event will not be visible. Other times it will not be visible unless you hover over precise sub region of the polygon hotspot.

    3. I find it necessary to project the image hotspots on the cube faces by using "distorted=true". Otherwise the image hotspots will move in a different trajectory than the sphere which I am trying to tag.

    You separate multiplle expressions using a semicolon. Actions are called like functions.

    Code
    <action name="foobar"
    ...
    </action>
    
    
    <hotspot name="empollon_001"
    ...
    onclick="foobar();set(hotspot[fulano].visible,true);set(plugin[descapotable].abierto,true)"
    ...
    </hotspot>