Releases: mpetroff/pannellum
Pannellum 2.3.1
Bugfixes:
- Removed use of poorly supported ES6
Math.sign
function - Fixed fullscreen bug in Internet Explorer
- Fixed framerate issue with device orientation control enabled
Improvements:
- Better handling of view limits when both limits are in view
Pannellum 2.3.0
New Features:
- Device orientation support for mobile devices
- Event framework for API
- Partial panorama background color can now be set using
backgroundColor
parameter - Custom hot spots are now supported as are hot spot click handlers
- Hot spots can now specify target HFOV (
targetHfov
parameter) - Parameter to hide all controls (
showControls
) - Parameter to disable mouse zooming (
mouseZoom
)
New API functions:
- Destructor (
destroy
) - Look at position (
lookAt
) - Get current scene ID (
getScene
) - Load scene (
loadScene
) - Add and remove scenes (
addScene
andremoveScene
) - Add and remove hot spots (
addHotSpot
andremoveHotSpot
) - Auto rotate start / stop (
startAutoRotate
andstopAutoRotate
) - Retrieve current configuration (
getConfig
) - Toggle fullscreen (
toggleFullscreen
) - Get and set north offset (
getNorthOffset
andsetNorthOffset
)
Improvements:
- Pitch and yaw limits are now applied to edge of viewer instead of center
- Panorama extents can now be set using URL parameters
- Individual XMP metadata parameters can now be overridden
- Horizon pitch and roll can now be manually set (was previously only
supported via XMP metadata) - When auto rotate restarts, the pitch and HFOV now return to their
original values - API movements can now be animated
- Standalone viewer is more mobile friendly
- Improved touch panning interaction
- Fragments identifiers can now be used for standalone viewer configuration
- Blob URLs are now supported
- Added hot spot debug indicator
- Video.js plugin now accepts a Pannellum configuration
Bugfixes:
- Fixed numerous auto rotate bugs
- Auto rotate speed is now actually in degrees per second
- Long error URLs are now properly wrapped
- Fixed mobile device orientation change bug
- Fixed Safari fullscreen bug
- Fullscreen now works in IE
- Fixed Chrome bug where hot spots appeared above controls
- Scene fades with multires now work properly
- Hot spot target pointing now works when set to zero
- Hot spots without text are now properly handled
- Fixed memory leaks
- Fixed multires tile loading error
- Fixed a few URL handling bugs
- Fixed multires zoom jumping when viewer was resized
- Title and author are now reset when changing scenes
- Mouse handlers now work with Hi-DPI displays
- Minimum and maximum HFOV can now both be set to the same value
Backwards-Incompatible Configuration Parameter Changes:
- The deprecated
tour
parameter was removed; tour JSON configuration files
can be used with theconfig
parameter
Pannellum 2.2.1
The new features in this release are:
- NPM support
Improvements include:
- Set
Accept
header to request images - Ensure
hfov
is a number - Better restriction on yaw range
Pannellum 2.2.0
New features in this release include:
- An experimental API, instead of just a standalone viewer, for better integration with external code
- Support for the
PosePitchDegrees
andPoseRollDegrees
XMP tags, as used by the Ricoh Theta S - An optional fade animation for tour transitions
- A debug parameter to assist with placing hot spots
Improvements include:
- Vastly improved equirectangular video support
- High-DPI support
- Unifying regular and tour configuration files.
There are also numerous bugfixes, most notably a fix for zoom out jerkiness in Chrome. For a complete list of changes, see the changelog.
Pannellum 2.1.1
This forces subpixel rendering of hot spots in Chrome.
Pannellum 2.1.0
This release includes a number of improvements including a loading bar for equirectangular panoramas, "inertia," configuration from Photo Sphere XMP data, more descriptive error messages, and more documentation. Numerous bugs have also been fixed, and a few backwards incompatible parameter name changes have been made. For a complete list of changes, see the changelog.
Pannellum 2.0.1
This fixes a bug with keyboard controls in Safari.
Pannellum 2.0
Two years in the making, this is a near complete rewrite of Pannellum. The renderer was replaced with raw WebGL, and multiresolution panorama support was added, along with a fallback CSS 3D renderer. Other additions include support for JSON configuration files, hotspots, tours, compass headings, CORS, partial panoramas, and cubic panoramas.