PanoTools mailing list archive

Mailinglist:proj-imim
Sender:Daniel Maurer
Date/Time:2001-May-06 18:21:29
Subject:Auto Rotation

Thread:


proj-imim: Auto Rotation Daniel Maurer 2001-May-06 18:21:29
Dear listmembers,
I have an image which should start with an guided tour and afterwards it should do an auto rotation. The guided tour is not the problem (Thanks a lot Gummy for ATW, its great) but how do I set the autoration. You can take a look at, what it looks like at http://www.360visits.de/Viewer_html_files/carglass.htm . This is is the code i have used for, i think after the last "moveTo" command i will have to set another command for the auto rotation. But which. I have tried startAutoPan, but this only jumped to another frame.

Thanks
Daniel Maurer


 <applet name="ptviewer" archive=ptviewer.jar  code=ptviewer.class width=300 height=200 mayscript=true>
    <param name=file        value="/Viewer_images/carglass_100kb_logo.jpg">
    <param name=view_x         value=0>
    <param name=view_y         value=0>
    <param name=view_width    value=300>
    <param name=view_height  value="200">
    <param name=wait            value="viewerwaitimage.gif">
    <param name=waittime      value="10000">
    <param name=cursor         value="move">
    <param name=quality        value="3">
    <param name=fov             value="52">
    <param name=tilt             value="-90">
    <param name=pan           value="-81">
    <param name=fovmax      value="110">
    <param name=fovmin       value="35">
    <param name=inits          value="ptviewer:
gotoView(-81,-90,52);
moveTo(-81,-90,52.01,20);waitWhilePanning();
moveTo(-42,-3,52,60);waitWhilePanning();
moveTo(-42,-4,52.01,20);waitWhilePanning();
moveTo(-102,1,52,40);waitWhilePanning();
moveTo(-102,1,52.01,10);waitWhilePanning();
moveTo(-94,26,52,20);waitWhilePanning();
moveTo(-74,24,52,20);waitWhilePanning();
moveTo(-149,-1,62,40);waitWhilePanning();
moveTo(117,-2,62,40);waitWhilePanning();
moveTo(36,-1,62,40);waitWhilePanning();
moveTo(-47,-1,62,40);waitWhilePanning();
moveTo(-67,1,110,40);waitWhilePanning();">
  </applet>


Next thread:

Previous thread:

back to search page