John Strait
Moderator Username: Jstrait
Post Number: 17 Registered: 5-2001
| Posted on Tuesday, October 28, 2003 - 2:16 pm: | |
The current release of The Panorama Factory (V3.1) does not provide a direct method for controlling the initial viewpoint and zoom factor for panoramic viewers. Happily, with the QuickTime viewer you can set the initial viewpoint and zoom by editing the HTML code in the web page. You set the initial zoom, pan and tilt by using the FOV, PAN and TILT parameters to the QuickTime viewer. The zoom factor is determined by setting the vertical field of view in degrees. A larger field of view corresponds to a smaller zoom setting. You set the initial view point by setting the pan angle (left-right) and tilt angle (up-down). Each of these parameters must be added to the HTML code in two places, once for Internet Explorer and a second time for Netscape Navigator. You use the FOV parameter to set the zoom scale. For example, to set the initial field of view to 22.5 degrees: 1. Add the line: <param name="FOV" value="22.5"> after the line <param name="controller" value="true"> 2. Add the line: FOV="22.5" after the line autoplay="false" controller="true" bgcolor="ffffff" You can also control the initial view point by setting the PAN and TILT parameters in a similar way. For example, to set the initial view point to 60 degrees from the left hand end of the panorama and 15 degrees above the midline: 1. Add the lines: <param name="PAN" value="60.0"> <param name="TILT" value="15.0"> after the line <param name="controller" value="true"> 2. Add the lines: PAN="60.0" TILT="15.0" after the line autoplay="false" controller="true" bgcolor="ffffff" FOV sets the vertical field of view in degrees. The valid range for is dependent on the panorama. Smaller values increase the zoom, larger values decrease the zoom. PAN sets the initial pan angle, in degrees. The valid range depends on the movie and is 0-360 for full 360 panoramas. 0 is the left hand end of the image. TILT sets the initial vertical tilt angle, in degrees. The valid range is dependent on the movie. Negative values tilt down, positive values tilt up and 0 is the midline.
|