Beiträge von vsh

    Hey, Klaus!

    We've created a sample app on heroku with configuration similar to our servers: https://immense-ridge-8144.herokuapp.com/

    So, there are two requests for each tile:
    First goes to our server: https://immense-ridge-8144.herokuapp.com/panoramas/1/tiles/f/1/0_0.jpg
    Server responds with 302 and Location to image on S3:
    https://krpano-test.s3-us-west-2.amazonaws.com/uploads/panora…5510d8a6ea4cc24

    For the first request there is Origin header being set to domain name https://immense-ridge-8144.herokuapp.com
    And for the second there's Origin set to null, and as result, S3 doesn't send Access-Control-Allow-Origin header in response


    It works fine in Firefox, but not under webkit-based browsers. But worked fine few time ago and we didn't make any changes to our codebase

    Hello!

    We're using Krpano 1.18 html5 player with tiles stored on Amazon S3. Last month our customers reported that player does not work properly on latest Chrome.

    We have CORS enabled and properly configured (according to manuals that appear on this forum) on S3. Everything works fine under Firefox and oldest versions of Chrome(42) and Safari (8.0.6). But doesn't work on Chrome 44-45(canary), Safari 8.0.7 and mobile browsers, that got updates some time ago.

    We've noticed that browser sends Origin: null header instead of domain name and as result S3 doesn't send Allow-Access-Origin header in response. We've temporary switched player to Flash-version, but our customers aren't happy with that, cause they also need krpano player on their mobile devices.

    Can anyone help? Thanks!

    Hi, Klaus! Thanks for your response! We still have problem on our side.

    So, we generate tiles with krpano and then generate krpano xml on back-end side.

    How should we calculate tiledimagewidth and tiledimageheight for each level correctly? In our xml config we have these parameters divided by 2 for each level but default krpano.xml (flat dropplet) has tiledimagewidth=512 and 256 for last two levels.

    Our original image size is 3744x5616.

    Hi there!

    We’ve switched to WebGL version some time ago and found some issues related to rendering images on canvas. Right part of image duplicates to the right. We also noticed that sometimes it appear on init, sometimes after zoom-in/zoom-out operations. There are no such glitches on source tiles. Flash version of Krpano works correct with our tiles. Switching config param from “prefer” to “prefer+css3d” didn’t help. On our side bug reproduces in Chrome (35, 36, win, mac), Firefox (33.0a2, 32), Safari 7.0.5

    Here are some krpano.xml parts:

    <control mousetype="drag2d"/>
    <view vlookat="0" maxpixelzoom="1.0" fovmax="110" limitview="fullrange" fovtype="VFOV"/>
    <image type="cylinder" hfov="1.0" multires="true" tilesize="512" progressive="true" baseindex="0">
    <level tiledimagewidth="3744" tiledimageheight="5616">
    <cylinder url="/photos/102/tiles/5/%x_%y.jpg"/>
    </level>
    <level tiledimagewidth="1872" tiledimageheight="2808">
    <cylinder url="/photos/102/tiles/4/%x_%y.jpg"/>
    </level>
    <level tiledimagewidth="936" tiledimageheight="1404">
    <cylinder url="/photos/102/tiles/3/%x_%y.jpg"/>
    </level>
    <level tiledimagewidth="468" tiledimageheight="702">
    <cylinder url="/photos/102/tiles/2/%x_%y.jpg"/>
    </level>
    <level tiledimagewidth="234" tiledimageheight="351">
    <cylinder url="/photos/102/tiles/1/%x_%y.jpg"/>
    </level>
    </image>

    Unfortunately, I can’t provide access to the page. But ready to provide any additional information that can be useful. Any ideas?

    Thanks!