Posts by Krx

    Hi

    I'm playing with snow plugin atm, HTML5 version only.

    Is it possible to get these:
    1. random flakes, atm only one flake can be shown
    2. instead of just appearing and disappearing in a blink, flakes would fade in and fade out to be more realistic?
    3. ability to change roof, like floor. Many times flake just appears in n the middle of pano, and I'd like em to appear far above horizontal line.
    4. sometimes flake start to flicker for no reason. I wonder why it does it and how to prevent it.

    Thanks,
    Regards

    Hello

    I just purchased Flash to HTML5 license upgrade and I'm in the process of adapting my system so that instead of Flash only - HTML5 with fallback to Flash is used. I used Equirectangualr images for Flash.


    I use php to read folder content and if finds images it creates buttons which opens lightbox window and passes directory name and equi file name to file wioth Flash viewer.

    So I would like to use same principle but with HTML5 support included, and to avoid any other image format to retain simplicity for my user.

    Buttons opens this file with this code:


    This is code in xml file:

    Code
    <krpano>
    	<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" fovmin="60" fovmax="120" />
    </krpano>


    Questions:

    1. What can I do to keep function like above but with added HTML5 support?
    (HTML5 should load 1st and fallout to Flash if not supported)

    We have a TON of Equirectangular images created by one click 360 pano camera and software setup.
    Process is easy: Click to take a torus shaped photo -> batch converted to Equirectangular via pre-set software - Equirectangular file is uploaded on server.

    2. Is it possible to embed part (or setting) of XML file (which contains path to spherical image ) into my php file so that I can pass dir and filename variable into my php file?

    I did it for Flash only version with code above but I'm struggling atm with HTML5 adaptation.

    Any suggestions?

    Thanks,
    Regards

    Some digging trough forum resulted with this:

    PHP
    <script type="text/javascript">
    	var swf = createswf("panorama.swf");
    	swf.addVariable("image.type", "SPHERE");
    	swf.addVariable("image.sphere.url", "<?php echo $pano ?>");
    	swf.addVariable("xml","panorama.xml");
    	swf.embed("krpanoDIV");
    </script>

    So Ill use XML to store all other possible settings and above for my purpose.

    Regards

    Hello

    What would be the code for embedding krpano in HTML if need to achieve this:

    1. I wrote PHP script to read directory with equirectangular panorama jpegs.
    2. according to amount of jpeg files my script creates same amount of buttons.
    3. when clicked, each button opens same HTML page in lightbox manner, and passes jpg file name as url parameter into krpano.swf

    I'm already using shadowbox for poping up html windows with non-krpano panoramas here: http://www.krk360.com

    Questions:
    - How to embed krpano.swf into html so that it can grab filename from passed URL parameter, without needing for XML file?
    - I've looked into all examples but all are using XML files.

    Thanks
    Regards