<krpano onstart="turn_to_view()">
<action name=" turn_to_view">
set(view.vlookat, 0);
set(view.hlookat, 0);
lookto(33,-22,30,smooth(8,8,8));
</action>
33 = the pan,
-22 = the tilt,
30 = fov
smooth(8,8,8) is the speedhttp://https://krpano.com/docu/actions/#lookto
Thanks, but nothing seems to happen:
<krpano version="1.0.8">
<include url="skin/defaultskin.xml" />
<krpano onstart="turn_to_view()">
<action name=" turn_to_view">
set(view.vlookat, 0);
set(view.hlookat, 0);
lookto(33,-22,30,smooth(8,8,8));
</action>
<preview url="kamer1_sphere.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="728" progressive="false">
<level tiledimagewidth="2546" tiledimageheight="2546">
<left url="kamer1_sphere.tiles/l2_l_%0v_%0h.jpg" />
<front url="kamer1_sphere.tiles/l2_f_%0v_%0h.jpg" />
<right url="kamer1_sphere.tiles/l2_r_%0v_%0h.jpg" />
<back url="kamer1_sphere.tiles/l2_b_%0v_%0h.jpg" />
<up url="kamer1_sphere.tiles/l2_u_%0v_%0h.jpg" />
<down url="kamer1_sphere.tiles/l2_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="1273" tiledimageheight="1273">
<left url="kamer1_sphere.tiles/l1_l_%0v_%0h.jpg" />
<front url="kamer1_sphere.tiles/l1_f_%0v_%0h.jpg" />
<right url="kamer1_sphere.tiles/l1_r_%0v_%0h.jpg" />
<back url="kamer1_sphere.tiles/l1_b_%0v_%0h.jpg" />
<up url="kamer1_sphere.tiles/l1_u_%0v_%0h.jpg" />
<down url="kamer1_sphere.tiles/l1_d_%0v_%0h.jpg" />
</level>
<mobile>
<left url="kamer1_sphere.tiles/mobile_l.jpg" />
<front url="kamer1_sphere.tiles/mobile_f.jpg" />
<right url="kamer1_sphere.tiles/mobile_r.jpg" />
<back url="kamer1_sphere.tiles/mobile_b.jpg" />
<up url="kamer1_sphere.tiles/mobile_u.jpg" />
<down url="kamer1_sphere.tiles/mobile_d.jpg" />
</mobile>
<tablet>
<left url="kamer1_sphere.tiles/tablet_l.jpg" />
<front url="kamer1_sphere.tiles/tablet_f.jpg" />
<right url="kamer1_sphere.tiles/tablet_r.jpg" />
<back url="kamer1_sphere.tiles/tablet_b.jpg" />
<up url="kamer1_sphere.tiles/tablet_u.jpg" />
<down url="kamer1_sphere.tiles/tablet_d.jpg" />
</tablet>
</image>
</krpano>