You are not logged in.

1

Sunday, June 9th 2013, 3:21pm

Splitscreen

Hello.Ive been trying to sync 2panoramas using javascript..It works fine for panoramas in cubestrip format but when i try to implement this on to multiresolution panoramas it doesnt work.

I get this http://www.360panoramics.gr/hosted/index.html



I have made the proper changes to the xml files, so is it a problem of the javascrip sync code maby??


the xml code :



<krpano syncother="true">

<control zoomtocursor="true"/>

<view hlookat="0" vlookat="0" fovmin="20.0" fovmax="90.0"/>


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


<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="3183" tiledimageheight="3183">
<cube url="pano1.tiles/mres_%s/l3/%v/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1536" tiledimageheight="1536">
<cube url="pano1.tiles/mres_%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="768" tiledimageheight="768">
<cube url="pano1.tiles/mres_%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="pano1.tiles/mobile_%s.jpg" />
</mobile>
</image>

<events onmousedown="set(syncother,true); events.onviewchange();"
onmousewheel="events.onmousedown();"
onviewchange="if(syncother, js( sync_1to2() ) );"
/>


</krpano>




2

Monday, June 10th 2013, 8:45pm

Hi,

your krpano viewer version is MUCH too old!
This old version doesn't know the <cube> syntax.

Best regards,
Klaus

3

Tuesday, June 11th 2013, 8:34am

Thank you! Now it works!! I have the newest version of krpano but i made a mistake and used the krpano.swf from the splitscreen example i downloaded and i didnt notice it was the old version *unsure*