pan0 is a spherical panorama viewer, based on Flash 9 and Papervision3D engine and meant to be embedded in a web page.
pan0 is the new name of the formerly known fspp - Flash Spherical Panorama Player since version 0.10.
pan0 is the engine of pan0.net.
pan0's goals are to be simple, effective and easy to use player for spherical panoramas.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="100%" height="100%" title="Hello, Panorama">
<param name="allowFullScreen" value="true" />
<param name="movie" value="pan0.swf?panoSrc=pano.jpg" />
<param name="quality" value="high" />
<param name="BGCOLOR" value="#AAAAAA" />
<embed src="pan0.swf?panoSrc=pano.jpg" allowFullScreen="true"
width="100%" height="100%" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" bgcolor="#DDDDDD">
</embed>
</object>| Parameter | Description | |
|---|---|---|
| panoSrc | pano.jpg | Panorama image to display. Must be in equirectangular projection. |
| tesselation | 30 | Tesselation of the sphere where panorama image is projected. More is smoother, but slower. |
| PA | 0 | Initial pitch angle in degrees. Default points to the horizon. |
| minPA | -90 | Minimal pitch angle in degrees. Default points to the nadir. |
| maxPA | 90 | Maximal pitch angle in degrees. Default points to the zenith. Note: If you set minPA and maxPA to 0 you can display cylindrical panoramas with pan0 |
| (Removed since 0.03) zoom | 1.5 | Initial zoom. |
| (Removed since 0.03) minZoom | 1 | Minimal zoom. |
| (Removed since 0.03) maxZoom | 5 | Maximal zoom. |
| (Added in 0.03) FOV | 70 | Vertical field of view in degrees |
| (Added in 0.03) minFOV | 40 | Minimal vertical field of view in degrees |
| (Added in 0.03) maxFOV | 120 | Maximal vertical field of view in degrees |
| (Added in 0.10) mirrorImage | false | Mirror image horizontally. For compatibility with versions before 0.10, which had a bug and displayed horizontal flipped panorama. |
| allowFullScreen | true | Allow fullscreen mode. |
ChangeLog:
-----------------------------------------------------------------------------------------------------------
dd.mm.yy version description
-----------------------------------------------------------------------------------------------------------
20.10.08 0.10 - fixed horizontal panorama mirroring issue
- added commandline parameter:
mirrorImage - preserve old behaviour, e.g. image is mirrored horizontally,
this is for compatibility with old versions
- added help panel
- added pan0.net logo
- added double click toggle fullscreen functionality
-----------------------------------------------------------------------------------------------------------
29.07.08 0.03 - removed zoom, minZoom, maxZoom parameters, they are obsolete now
- added commandline parameters:
FOV - set initial vertical field of view in degrees, default = 70
minFOV - set minimal FOV, default = 40
maxFOV - set maximal FOV, default = 120
- field of view now is consistent, regardless of windows size or fullscreen mode
- added load progress indicator
- Papervision3D engine is now bundled with the source for easier maintaining
-----------------------------------------------------------------------------------------------------------
09.06.08 0.02 added commandline parameters:
tesselation - tesselation of the pano sphere - default = 30, more is smoother,
but slower
PA - initial pitch angle - default = 0 degrees, points to horizon
minPA - min pitch angle - default = -90 degrees, camera points to nadir
maxPA - max pitch angle - default = 90 degrees, camera points to zenith
zoom - initial zoom - default = 1.5
minZoom - min camera zoom - default = 1
maxZoom - max camera zoom - default = 5
allowFullScreen - allow fullscreen mode - default = true
-----------------------------------------------------------------------------------------------------------
06.06.08 0.01 initial revision