http://beenseen.ru/wp-content/uploads/tours/temp/tour.html
Please help!
xml code:
Code
<krpano>
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="3183" tiledimageheight="3183">
<cube url="panos/IMG_9644_Panorama.tiles/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1536" tiledimageheight="1536">
<cube url="panos/IMG_9644_Panorama.tiles/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="768" tiledimageheight="768">
<cube url="panos/IMG_9644_Panorama.tiles/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/IMG_9644_Panorama.tiles/mobile_%s.jpg" />
</mobile>
</image>
<view hlookat="90" vlookat="15" fov="100"/>
<!-- water hotspot hfov = 150 (values from PTGUI/Hugin) yaw = -90 pitch = -4 roll = -30 -->
<hotspot name="water" url="2.jpg" distorted="true" onloaded="calc_pos_from_hfov_yaw_pitch_roll(49, -170, 0, 0); animation()" enabled="false" alpha="0.0" animation="sub(newalpha,1,alpha); tween(alpha,get(newalpha), 3.0, easeInSine, animation());"/>
<!-- lower resolution images for HTML5 and mobile devices -->
<hotspot name="water" url="pool_extract_html5desktop.jpg" devices="html5+desktop"/>
<hotspot name="water" url="pool_extract_html5mobile.jpg" devices="mobile|tablet"/>
<action name="calc_pos_from_hfov_yaw_pitch_roll">
div(hfov,%1,57.295779); div(yaw,%2,-57.295779); div(pitch,%3,57.295779); div(roll,%4,-57.295779);
<!-- calc width -->
mul(hfov,0.5); Math.tan(hfov); mul(width,hfov,1000); set(height,'prop');
<!-- calc ath,atv,rotate -->
Math.cos(ch,yaw); Math.sin(sh,yaw); Math.cos(ca,pitch); Math.sin(sa,pitch); Math.cos(cb,roll); Math.sin(sb,roll); mul(m0,ca,ch); mul(tmp,cb,sa); mul(tmp,ch); mul(tmp2,sb,sh); add(m3,tmp,tmp2); mul(m4,cb,ca); mul(tmp,cb,sa); mul(tmp,sh); mul(tmp2,sb,ch); sub(m5n,tmp,tmp2); mul(m5n,-1); mul(tmp,sb,sa); mul(tmp,ch); mul(tmp2,cb,sh); sub(m6n,tmp,tmp2); mul(m6n,-1); Math.atan2(yaw,m6n,m0); Math.atan2(roll,m5n,m4); Math.asin(pitch,m3); mul(ath,yaw,57.295779); mul(atv,pitch,57.295779); mul(rotate,roll,57.295779);
</action>
</krpano>
Alles anzeigen
Its the same as described, alignment is ok, but its dynamic! why is it changing?
how can i use this example in make vtour multires?