« Return to Thread: ptviewer: How to display next pano with pan tilt fov already applied?

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

by Erik Krause :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: ptviewer: How to display next pano with pan tilt fov already applied?