PanoTools mailing list archive

Mailinglist:PanoTools
Sender:Robert Bilsland
Date/Time:2006-Jul-06 11:20:26
Subject:Re: Linking pans

Thread:


PanoTools: Re: Linking pans Robert Bilsland 2006-Jul-06 11:20:26
Ian,

I'm guessing that this is some sort of display presentation where it's
left by itself showing the panoramas?

Try the following code, I think it does what you want, if I've
understood what you want that is! (If not let me know whats wrong).

<html>
  <head></head>
  <body>
    <applet width="500" height="375" archive="ptviewer.jar"
code="ptviewer.class">
      <param name="pano0"
value="{file=panorama1.jpg}{fov=70}{fovmin=70}{fovmax=70}{autoTime=60}{autoNumTurns=1}{auto=0.33}{inits=ptviewer:waitWhilePanning();newPanoFromList(1);}{shotspot0=x0
y0 a499 b375 u'ptviewer:newPanoFromList(1);}" />

      <param name="pano1"
value="{file=panorama2.jpg}{fov=70}{fovmin=70}{fovmax=70}{autoTime=60}{autoNumTurns=1}{auto=0.33}{inits=ptviewer:waitWhilePanning();newPanoFromList(2);}{shotspot0=x0
y0 a499 b375 u'ptviewer:newPanoFromList(2);}" />

      <param name="pano2"
value="{file=panorama3.jpg}{fov=70}{fovmin=70}{fovmax=70}{autoTime=60}{autoNumTurns=1}{auto=0.33}{inits=ptviewer:waitWhilePanning();newPanoFromList(0);}{shotspot0=x0
y0 a499 b375 u'ptviewer:newPanoFromList(0);}" />

      <param name="file" value="ptviewer:0" />

      <param name="showToolbar" value="true" />

      <param name="imgLoadFeedback" value="false" />
    </applet>
  </body>
</html>

My example uses PTViewer and has 3 panoramas linked together looping
round. After a single rotation it loads the next. If the panorama is
clicked on it jumps to the next. I've locked the field of view at 70
degrees. The autoTime param is the minimum number of seconds for a
single rotation (if your machine can't keep up it'll be slower).
AutoNumTurns is the number of turns to be done. auto is the auto
rotation pan angle increment for each frame (in degrees). Just replace
the file parameter with your panorama names and duplicate so that you
have enough for your 7 panoramas and I think that'll be it. Don't
forget if you change the size of the applet window to change the size
of the static hotspot to match.

Bob Bilsland.
http://www.panoramasunlimited.com

--- In #removed#, "iankerrphotography"
<photography@...> wrote:
>
> Hi everyone.  I have been watching and learning for 12 months or so,
> thank you to everyone for the valuable pieces of information which
> have enabled me to place a foot on the ladder of VR panoramic
photography.
> 
> I have been presented with a problem, which I do not recall seeing
> mentioned in posts, I hope someone can offer a solution:
> 
> I have a series of 7 pans, the request is to link them so that the
> show opens on pan 1, a complete revolution is performed (maybe on
> autopilot but perhaps on manual), then we move straight into pan 2
> where we perform  the revolution and move straight into pan 3, and so
> on until the end of Pan 7 where we return to Pan 1.
> 
> I am grateful for every assistance.
> 
> Ian Kerr
>






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/PanoTools/

<*> To unsubscribe from this group, send an email to:
    #removed#

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Next thread:

Previous thread:

back to search page