home

Topics Topics Edit Profile Profile Help/Instructions Help Register Register  
Search Last 1 | 3 | 7 Days Search Search Tree View Tree View  

Initial viewpoint and zoom for QTVR

The Panorama Factory Forum » The Panorama Factory FAQ » Initial viewpoint and zoom for QTVR « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

John Strait
Moderator
Username: Jstrait

Post Number: 17
Registered: 5-2001
Posted on Tuesday, October 28, 2003 - 2:16 pm:   Edit PostDelete Post

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

John Strait
Moderator
Username: Jstrait

Post Number: 20
Registered: 5-2001
Posted on Tuesday, October 28, 2003 - 2:29 pm:   Edit PostDelete Post

See also

Summary of QuickTime Plug-in Parameters

and

Initial viewpoint and zoom for PTViewer

Initial viewpoint and zoom for IVR (Java viewer)

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Administration Administration Log Out Log Out   Previous Page Previous Page Next Page Next Page