krpano and webtorrent

  • I have just started developing a Krpano and Webtorrent prototype for my website

    start code:

    1. js: select all file need in the first scene
    2. js: write a xml string with blob links
    3. js: send xml string to krpano


    the main loop

    1. user: clicks on hotspot
    2. krpano: fires off js
    3. js: select all file need in the scene
    4. js: write a xml string with blob links
    5. js: send xml string to krpano
    6. goto 1
  • the scenes look like this:

    Code
    <scene thumburl="panos/IMG_1191-HDR_Panorama.tiles/thumb.jpg"><preview url="panos/IMG_1191-HDR_Panorama.tiles/preview.jpg"/><image><cube url="panos/IMG_1191-HDR_Panorama.tiles/pano_%s.jpg"/></image></scene>

    I am trying to work out how to return blob url inplace of the the url placeholders for each image
    I might be able to hijack it though js

  • thanks Klaus

    I found this code while look around at the website examples source code *smile*

    Code
    <image><left url="tour.data/aussen.tiles/pano_l.jpg"/><front url="tour.data/aussen.tiles/pano_f.jpg"/><right url="tour.data/aussen.tiles/pano_r.jpg"/><back url="tour.data/aussen.tiles/pano_b.jpg"/><up url="tour.data/aussen.tiles/pano_u.jpg"/><down url="tour.data/aussen.tiles/pano_d.jpg"/></image>

    the multires placeholder are my main issue now

  • looks like krpano dose not like bloburls *sad*

    https://tomasparks.name/krpano-and-webtorrent/index.html

    calling @klaus.krpano

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!