Beiträge von Xirinki

    Hello,

    Im working with huge panoramic pictures (400k width...)

    When i trow the .psb file on vtour multires i only get my html5 version when the formula give mes a number between 7 and 8... and i dont understand why that happens....

    sometimes i have to crop my image to get my final result...


    here are my configs for the vtour multires setting:

    ________________________________________________________________________________________________________________
    # Virtual Tour with Multi-Resolution Panos
    # Skin with Scrolling-Thumbnails, Bingmaps, Gyroscope
    # Documentation: https://krpano.com/tools/kmakemultires/config?version=118
    # krpano 1.18


    # basic settings
    include basicsettings.config
    panotype=spherical
    hfov=360
    makescenes=true


    # output
    flash=true
    html5=true


    # convert spherical/cylindrical to cubical
    converttocube=true
    converttocubelimit=360x45


    # multiresolution settings
    multires=true
    tilesize=512
    levels=auto
    levelstep=2
    maxsize=auto
    maxcubesize=auto
    leveldownload=auto


    # output images path
    tilepath=%INPUTPATH%/vtour/panos/%BASENAME%.tiles/[c/]l%Al/%Av/l%Al[_c]_%Av_%Ah.jpg


    # preview pano settings
    preview=true
    graypreview=false
    previewsmooth=25
    previewpath=%INPUTPATH%/vtour/panos/%BASENAME%.tiles/preview.jpg


    # generate smaller mobile images
    customimage[mobile].size=1024
    customimage[mobile].path=%INPUTPATH%/vtour/panos/%BASENAME%.tiles/mobile_%s.jpg
    customimage[mobile].imagesettings=jpegquality=85 jpegsubsamp=444 jpegoptimize=true
    customimage[mobile].xml=<mobile>[NL][TAB]<cube url="[PATH]" />[NL]</mobile>


    # generate thumbnails
    makethumb=true
    thumbsize=240
    thumbpath=%INPUTPATH%/vtour/panos/%BASENAME%.tiles/thumb.jpg


    # xml output
    xml=true
    xmlpath=%INPUTPATH%/vtour/tour.xml


    # skin / xml template
    include vtourskin-scrolling-thumbnails-bingmaps-gyro.skin


    # html output/template
    html=true
    htmlpath=%INPUTPATH%/vtour/tour.html
    htmltemplate=html/embedpano.html
    htmltemplate_html5=prefer


    # include vtour editor
    xmltemplate_additional_file=xml/plugins/vtoureditor.swf
    htmltemplate_additional_file=html/tour_editor.html

    _______________________________________________________________________________________________


    And here is an example of a image:



    http://postimg.org/image/sk659tbmb/


    On this examle ill get 3,38 when making the division, by this i already know that i wont get my vtour with html5.


    Does anyone knows why?

    Ty

    Dear Clauss, is there anyway that i can revert the kr process? Turn the levels and folders, previws into a psb file?
    Ive lost the psb and the originals pics but i still have the vtour folder.


    Thank you

    Hi,

    sorry, but I don't understand what exactly you mean, but basically the type of the pano image (or if it is multires or not) doesn't depend in any way how or where it will be used in a tour.

    A tour itself is only a series of panos (either of xml files or elements) and can be build/managed in several ways.

    Best regards,
    Klaus

    Can i make a series of panos using HTML5 CONFIGS?
    Sorry for the noob question, it has been time that i dont use krpano configs.

    Dear Klauss,

    Is it possible to snapshot a html5 panorama? My company has its own player to view the hole picture, this player was build on a html5 structure.....Since we are making our pictures to suppport html 5, we are not being able to snapshot the picture and create a new imagem from that snap. Is there anyway to make this?

    Ty

    Yes, by editing the 'voffset' setting in the config files, but that would affect all panos...

    Ive opened the VTOUR MULTIRES CONFIG file and wrote:

    ''# basic settings
    include basicsettings.config
    panotype=autodetect
    hfov=360.00
    vfov=74.4
    voffset=-25.2''


    Is that the right way to adjust the fov settings, im not getting what i want for my final result, ive changed the voffset to -90 but it aint making any changes at all.

    Klaus,

    Im getting another error now.


    Here are my steps:

    1. Create a flat panorama using VTOUR MULTIRES
    2. Use the code bellow after pasting the EDITOR on the plugins folder on my xml to edit the HFOV, VFOV, and VOFFSET. (
    ''<plugin name="editor" url="plugins/editor.swf" keep="true" />
    <plugin name="options" url="plugins/options.swf" keep="true" view="true" display="true" control="true" image="true" onloaded="open();" />'' )

    3. Change my code HTML=''never'' to HTML="prefer"
    4. Paste (krpanoiphone.js) on the vtour folder
    5. Delete de (devices="flash") on my xml code.

    I get this error:

    http://postimg.org/image/6ur95icep/


    On the firefox console, it doenst show me any type of error, and on the network, i dont get any messages....

    Here is my following code:

    HTML:

    <!DOCTYPE html>
    <html>
    <head>
    <title>krpano.com - vtourteste</title>
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta http-equiv="x-ua-compatible" content="IE=edge" />
    <style>
    @-ms-viewport { width: device-width; }
    @media only screen and (min-device-width: 800px) { html { overflow:hidden; } }
    html { height:100%; }
    body { height:100%; overflow:hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#000000; }
    </style>
    </head>
    <body>

    <script src="tour.js"></script>

    <div id="pano" style="width:100%;height:100%;">
    <noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
    <script>
    embedpano({swf:"tour.swf", xml:"tour.xml", target:"pano", html5:"prefer", passQueryParameters:true});
    </script>
    </div>

    </body>
    </html>


    XML


    <krpano version="1.16" title="Virtual Tour" onstart="startup();">

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

    <!-- set skin settings: bingmaps? gyro? thumbnail controlling? tooltips? -->
    <skin_settings bingmaps="false"
    bingmaps_key=""
    bingmaps_zoombuttons="false"
    gyro="true"
    thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160"
    thumbs_opened="false"
    thumbs_text="false"
    thumbs_dragging="true"
    thumbs_onhoverscrolling="false"
    thumbs_scrollbuttons="false"
    thumbs_scrollindicator="false"
    tooltips_thumbs="false"
    tooltips_hotspots="false"
    tooltips_mapspots="false"
    controlbar_offset="20"
    />

    <plugin name="editor" url="plugins/editor.swf" keep="true" />

    <!-- set optional skin logo url -->
    <layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />


    <action name="startup">
    if(startscene === null, copy(startscene,scene[0].name));
    loadscene(get(startscene), null, MERGE);
    </action>


    <scene name="scene_vtourteste" title="vtourteste" onstart="" thumburl="panos/vtourteste.tiles/thumb.jpg" lat="" lng="" heading="" >

    <view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />

    <preview url="panos/vtourteste.tiles/preview.jpg" />

    <image type="CYLINDER" hfov="360.00" vfov="74.4" voffset="-13.2" multires="true" tilesize="512" progressive="true">
    <level tiledimagewidth="11598" tiledimageheight="2297">
    <cylinder url="panos/vtourteste.tiles/l3/%v/l3_%v_%h.jpg" />
    </level>
    <level tiledimagewidth="5799" tiledimageheight="1149">
    <cylinder url="panos/vtourteste.tiles/l2/%v/l2_%v_%h.jpg" />
    </level>
    <level tiledimagewidth="2900" tiledimageheight="575">
    <cylinder url="panos/vtourteste.tiles/l1/%v/l1_%v_%h.jpg" />
    </level>
    </image>

    <!-- place your scene hotspots here -->

    </scene>


    </krpano>


    Ty,