Loading ...
Sorry, an error occurred while loading the content.

Re: ptviewer: How to display next pano with pan tilt fov already applied?

Expand Messages
  • Erik Krause
    ... [...] ... The PTViewer documentation on http://webuser.fh-furtwangen.de/~dersch/PTVJ/doc.html says: newPano( String ); Load new Panorama as specified in
    Message 1 of 2 , Jun 28, 2009
    • 0 Attachment
      Jan Martin wrote:

      > To do this the next image needs to have same pan tilt fov as the recent
      > image.
      [...]
      > pan =document.ptviewer.pan();
      > tilt=document.ptviewer.tilt();
      > fov =document.ptviewer.fov();
      >
      > document.ptviewer.newPano('{ file='+nextimage+'}')

      The PTViewer documentation on
      http://webuser.fh-furtwangen.de/~dersch/PTVJ/doc.html
      says: "newPano( String ); Load new Panorama as specified in String. The
      syntax for String is identical to that of the panorama list."

      I think it should be possible (but never tried) to specify pan, tilt and
      fov same as you specify file:
      document.ptviewer.newPano('{ file='+nextimage+'}{pan='+pan+
      '}{tilt='+tilt+'}{fov='+fov+'}')


      best regards
      --
      Erik Krause
      http://www.erik-krause.de
    Your message has been successfully submitted and would be delivered to recipients shortly.