|
X-Ptviewer<< PMWikiDraw | Cookbook-V1 | Emacs PmWiki Mode >> Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.
GoalTo enable PmWiki users to embed interactive panoramas into Wiki pages Solution
DiscussionPTViewer is a java applet for viewing panoramas in web pages. This script enables PmWiki users to easily embed interactive panoramas into Wiki Pagesusing this applet. Once installed (hopefully) the wiki markup: [[x-ptviewer:file=pano.jpg]] will insert an interactive panorama using the image file 'pano.jpg' (which should be in an Equirectangular potential) You can interact with the panorama by clicking and moving the mouse to pan and tilt; While panning, the control and shift keys zoom in and out; Alternatively, the arrow keys can be used for panning and tilting, and + and -, or > and < keys to zoom. X-Ptviewer needs at least the variable 'file'. Other (optional) variables include;-
Additional documentation is available within the script. There are far more available parameters for PTViewer see the links below. The PTViewer java program was written by Helmut Dersch, but is no longer available from his website. A slightly modified version by 'Big Ben' is available here(approve links). This has the additional pfov parameter which allows direct use of partial (<360 deg) panoramas. Exstensive documentation for Helmut's version of PTViewer is available here and some on 'Big Ben's' site(approve links) The panorama file can be created from scratch or existing panoramas can be converted to Equirectangular projection using the PanoTools(approve links) bundle of software. Note that some photo stitching software refer to Equirectangular projection as Spherical. (E.g Panoramafactory(approve links)) Files
Installation
History
Comments & BugsContributorspmwiki-2.2.0-beta68 -- Last modified by {{Chris Drew}}
|