hi,
i made a barebone example for the compass.js
i find it a bit stuttering still. Especialy when you look up.
look this on your ipad or iphone..
http://virtualtuur.com/krpano/compass_test/
Code
<krpano version="1.0.8" logkey="true" showerrors="true" onstart="loadscene(get(scene[0].name), null, MERGE);" >
<plugin name="gyroscope"
url="gyro.js"
keep="true"
enabled="true"
camroll="true"
friction="0.5"
velastic="0"
devices="mobile|tablet"
/>
<plugin name="compass" devices="html5"
url="compass.js"
enabled="true"
keep="true"
onavailability="copy(view.hlookat, heading);"
onchange="copy(view.hlookat, heading);"
/>
<progress showwait="none"/>
<progress showload="none" />
<scene name="scene_tulp" title="tulp" onstart="" thumburl="">
<view hlookat="0" vlookat="0" limitview="auto" fovtype="MFOV" fov="80" maxpixelzoom="1.0" fovmax="120" />
<preview url="../../singlepublish/Tulpen-2011/Tulpen-2011.tiles/preview.jpg" />
<image>
<cube url="../../singlepublish/Tulpen-2011/Tulpen-2011.tiles/pano_%s.jpg" />
<tablet>
<cube url="../../singlepublish/Tulpen-2011/Tulpen-2011.tiles/tablet_%s.jpg" />
</tablet>
<mobile>
<cube url="../../singlepublish/Tulpen-2011/Tulpen-2011.tiles/mobile_%s.jpg" />
</mobile>
</image>
</scene>
</krpano>
Display More
- is it possible to make it smoother?
- is it possible to move the picture according to the north?
Tuur