Beiträge von Bonoman

    It's working...thanks, for all your help!
    Last question, I wan to change the start and the endpoint. What are my options?

    -----

    <krpano onstart="turn_to_view()">

    <action name=" turn_to_view">
    set(view.vlookat, 0);
    set(view.hlookat, 90);
    lookto(10,-1,100,smooth(30,30,30));
    </action>


    <preview url="kamer1_sphere.tiles/preview.jpg" />

    ---------

    Still no luck... *cursing*

    ----
    <krpano version="1.0.8">

    krpano onstart="turn_to_view()">

    <action name=" turn_to_view">
    set(view.vlookat, 0);
    set(view.hlookat, 90);
    lookto(33,-22,90,smooth(8,8,8));
    </action>


    <preview url="index.tiles/preview.jpg" />

    <image type="CUBE" multires="true" tilesize="573" progressive="false">
    <level tiledimagewidth="2865" tiledimageheight="2865">
    <left url="index.tiles/l3_l_%0v_%0h.jpg" />
    <front url="index.tiles/l3_f_%0v_%0h.jpg" />
    <right url="index.tiles/l3_r_%0v_%0h.jpg" />
    <back url="index.tiles/l3_b_%0v_%0h.jpg" />
    <up url="index.tiles/l3_u_%0v_%0h.jpg" />
    <down url="index.tiles/l3_d_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="1433" tiledimageheight="1433">
    <left url="index.tiles/l2_l_%0v_%0h.jpg" />
    <front url="index.tiles/l2_f_%0v_%0h.jpg" />
    <right url="index.tiles/l2_r_%0v_%0h.jpg" />
    <back url="index.tiles/l2_b_%0v_%0h.jpg" />
    <up url="index.tiles/l2_u_%0v_%0h.jpg" />
    <down url="index.tiles/l2_d_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="717" tiledimageheight="717">
    <left url="index.tiles/l1_l_%0v_%0h.jpg" />
    <front url="index.tiles/l1_f_%0v_%0h.jpg" />
    <right url="index.tiles/l1_r_%0v_%0h.jpg" />
    <back url="index.tiles/l1_b_%0v_%0h.jpg" />
    <up url="index.tiles/l1_u_%0v_%0h.jpg" />
    <down url="index.tiles/l1_d_%0v_%0h.jpg" />
    </level>
    <mobile>
    <left url="index.tiles/mobile_l.jpg" />
    <front url="index.tiles/mobile_f.jpg" />
    <right url="index.tiles/mobile_r.jpg" />
    <back url="index.tiles/mobile_b.jpg" />
    <up url="index.tiles/mobile_u.jpg" />
    <down url="index.tiles/mobile_d.jpg" />
    </mobile>
    <tablet>
    <left url="index.tiles/tablet_l.jpg" />
    <front url="index.tiles/tablet_f.jpg" />
    <right url="index.tiles/tablet_r.jpg" />
    <back url="index.tiles/tablet_b.jpg" />
    <up url="index.tiles/tablet_u.jpg" />
    <down url="index.tiles/tablet_d.jpg" />
    </tablet>
    </image>

    </krpano>

    Code
    <krpano onstart="turn_to_view()">
    
    
    <action name=" turn_to_view">
     set(view.vlookat, 0);
    set(view.hlookat, 0);
    lookto(33,-22,30,smooth(8,8,8));
    </action>


    33 = the pan,
    -22 = the tilt,
    30 = fov
    smooth(8,8,8) is the speedhttp://https://krpano.com/docu/actions/#lookto

    Thanks, but nothing seems to happen:

    <krpano version="1.0.8">

    <include url="skin/defaultskin.xml" />

    <krpano onstart="turn_to_view()">

    <action name=" turn_to_view">
    set(view.vlookat, 0);
    set(view.hlookat, 0);
    lookto(33,-22,30,smooth(8,8,8));
    </action>

    <preview url="kamer1_sphere.tiles/preview.jpg" />

    <image type="CUBE" multires="true" tilesize="728" progressive="false">
    <level tiledimagewidth="2546" tiledimageheight="2546">
    <left url="kamer1_sphere.tiles/l2_l_%0v_%0h.jpg" />
    <front url="kamer1_sphere.tiles/l2_f_%0v_%0h.jpg" />
    <right url="kamer1_sphere.tiles/l2_r_%0v_%0h.jpg" />
    <back url="kamer1_sphere.tiles/l2_b_%0v_%0h.jpg" />
    <up url="kamer1_sphere.tiles/l2_u_%0v_%0h.jpg" />
    <down url="kamer1_sphere.tiles/l2_d_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="1273" tiledimageheight="1273">
    <left url="kamer1_sphere.tiles/l1_l_%0v_%0h.jpg" />
    <front url="kamer1_sphere.tiles/l1_f_%0v_%0h.jpg" />
    <right url="kamer1_sphere.tiles/l1_r_%0v_%0h.jpg" />
    <back url="kamer1_sphere.tiles/l1_b_%0v_%0h.jpg" />
    <up url="kamer1_sphere.tiles/l1_u_%0v_%0h.jpg" />
    <down url="kamer1_sphere.tiles/l1_d_%0v_%0h.jpg" />
    </level>
    <mobile>
    <left url="kamer1_sphere.tiles/mobile_l.jpg" />
    <front url="kamer1_sphere.tiles/mobile_f.jpg" />
    <right url="kamer1_sphere.tiles/mobile_r.jpg" />
    <back url="kamer1_sphere.tiles/mobile_b.jpg" />
    <up url="kamer1_sphere.tiles/mobile_u.jpg" />
    <down url="kamer1_sphere.tiles/mobile_d.jpg" />
    </mobile>
    <tablet>
    <left url="kamer1_sphere.tiles/tablet_l.jpg" />
    <front url="kamer1_sphere.tiles/tablet_f.jpg" />
    <right url="kamer1_sphere.tiles/tablet_r.jpg" />
    <back url="kamer1_sphere.tiles/tablet_b.jpg" />
    <up url="kamer1_sphere.tiles/tablet_u.jpg" />
    <down url="kamer1_sphere.tiles/tablet_d.jpg" />
    </tablet>
    </image>

    </krpano>

    I added the following script in my project to open the panorama in a html table. But when I open the page on my iPad I get the ' get the flashplayer' above the displayed panorama. How do I get it displayed on the iPad without the message? Bye the way, you can see the pano on the ipad. Thanks for your help


    -----
    <script type="text/javascript">
    // <![CDATA[
    if (typeof(deconcept) !== 'undefined')
    {
    if (deconcept.SWFObjectUtil.getPlayerVersion().major >= 6)
    {
    var so = new SWFObject("index.swf", "krpanoSWFObject", "930", "460", "9.0.28");

    so.addParam("allowFullScreen","true");
    so.addParam("wmode","transparent");
    so.useExpressInstall("media/script/expressinstall.swf");
    so.setAttribute("xiRedirectUrl", window.location);

    so.addVariable("pano", "index.xml");

    if ( so.write("krpanoDIV") ) { var mousewheelfixes = new SWFkrpanoMouseWheel(so); }
    }
    else
    {
    document.getElementById("krpanoDIV").innerHTML = '<div class="player">ERROR:<br><br>Adobe Flash Player 9 needed<br><br><br><a href="http://www.adobe.com/go/getflashplayer/" target="_blank"><img src="http://www.macromedia.com/images/shared/…lash_player.gif" border="0" alt="Flash Player"></a><br>...click here to download...<br><br><br><br></div>';
    }
    }
    else
    {
    document.getElementById("krpanoDIV").innerHTML = '<div class="player">ERROR:<br><br><b>./swfobject/swfobject.js</b> not found<br><br><br><br><br></div>';
    }

    </script>
    -----

    Still trying to make a virtual tour. What to put on the dots to switch to another pano???? Thanks for your help!!

    <hotspot name="hs0"
    keep="false"
    visible="true" enabled="true" handcursor="true" capture="true" children="true"
    zorder="0"
    fillcolor ="0xffffff" fillalpha ="0.00" borderwidth ="0.0" bordercolor ="0xffffff" borderalpha ="0.00"
    fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="4.0" bordercolorhover="0xffffff" borderalphahover="0.80"
    fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
    onover=""
    onhover=""
    onout=""
    ondown=""
    onup=""
    onclick="......................................................................"
    details="8"
    devices="all"
    effect=""
    flying="0"
    inverserotation="false"
    usecontentsize="false"

    Jarred,

    Thanks for your help. I followed your instructions at work on a Windows Pc, And guess what...It works.
    At home at my Mac, it doesn't work.
    There is a difference in the image output. On the Windows Pc there are 6 jpg files for Flash, 6 for iPad and 6 for iPhone.
    On the mac there are 6 for iPad, 6 for iPhone and 294 (?) for Flash. Something is going wrong on my Mac.

    Thanks,

    Marcel

    What I do:

    Make cubes from a panorama (Convert SPHERE to CUBE (JPEG) droplet)
    Make a Pano Multires with the droplet (MAKE PANO (MULTIRES) droplet)
    Publish including: swfkrpano.js, krpanoiphone.js in the webdirectory


    Marcel