Pārlūkot izejas kodu

Prep for release.

tags/2.5.0
Matthew Petroff pirms 5 gadiem
vecāks
revīzija
967378312f
7 mainītis faili ar 52 papildinājumiem un 6 dzēšanām
  1. +1
    -1
      COPYING
  2. +1
    -1
      VERSION
  3. +46
    -0
      changelog.md
  4. +1
    -1
      package.json
  5. +1
    -1
      readme.md
  6. +1
    -1
      src/js/libpannellum.js
  7. +1
    -1
      src/js/pannellum.js

+ 1
- 1
COPYING Parādīt failu

@@ -1,4 +1,4 @@
Copyright (c) 2011-2018 Matthew Petroff
Copyright (c) 2011-2019 Matthew Petroff


Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in this software and associated documentation files (the "Software"), to deal in


+ 1
- 1
VERSION Parādīt failu

@@ -1 +1 @@
2.4.1
2.5.0

+ 46
- 0
changelog.md Parādīt failu

@@ -2,6 +2,52 @@ Changelog
========= =========




Changes in Pannellum 2.5.0 (2019-07-13)
---------------------------------------

New Features:
- The background color can be set for partial panoramas
(`backgroundColor` parameter)
- Partial panoramas are now supported for the multiresolution format
- An author URL can now be added (`authorURL` parameter)

New API functions:
- Added `fullscreenchange`, `zoomchange`, and `animatefinished` events
- Added `stopMovement` function for stopping all viewer movement

Improvements:
- Equirectangular images are now automatically split into two separate
textures if they're too big (images up to 8192px wide should now be
widely supported)
- Improved render quality for equirectangular images on mobile (using `highp`
for fragment shader)
- Keyboard events for keys not used by the viewer are no longer captured, and
the list of captured keys is configurable (`capturedKeyNumbers` parameter)
- Multiresolution tiles can now be generated from cylindrical panoramas
- Hot spots can now be removed from scenes that aren't currently loaded
- Hot spot cursor is now set via CSS class (so it can be overridden)
- Hot spot link attributes can now be set (`attributes` parameter)
- The "friction" that slows down the viewer motion can now be configured
(`friction` parameter)
- Dynamic scenes are now properly supported for tours

Bugfixes:
- Fixed regression in fallback renderer
- Fixed bug with URL encoding
- Fixed regression in Video.js plugin
- Fixed auto-rotate bug that was manifested when using API to set view
- Fixed full screen bug in Chrome
- Fixed bug with removing event listeners
- Fixed issue with mouse dragging causing jump around yaw limits
- Fixed bug with deleting hot spots
- Fixed bug with fading between scenes

Other:
- Added limited test suite / continuous integration
- Removed `requestAnimationFrame` shim, dropping support for some
older browsers


Changes in Pannellum 2.4.1 (2018-03-03) Changes in Pannellum 2.4.1 (2018-03-03)
--------------------------------------- ---------------------------------------




+ 1
- 1
package.json Parādīt failu

@@ -1,7 +1,7 @@
{ {
"name": "pannellum", "name": "pannellum",
"description": "Pannellum is a lightweight, free, and open source panorama viewer for the web.", "description": "Pannellum is a lightweight, free, and open source panorama viewer for the web.",
"version": "2.4.1",
"version": "2.5.0",
"bugs": { "bugs": {
"url": "https://github.com/mpetroff/pannellum/issues" "url": "https://github.com/mpetroff/pannellum/issues"
}, },


+ 1
- 1
readme.md Parādīt failu

@@ -4,7 +4,7 @@


## About ## About


Pannellum is a lightweight, free, and open source panorama viewer for the web. Built using HTML5, CSS3, JavaScript, and WebGL, it is plug-in free. It can be deployed easily as a single file, just 15kB gzipped, and then embedded into pages as an `<iframe>`. A configuration utility is included to generate the required code for embedding. An API is included for more advanced integrations.
Pannellum is a lightweight, free, and open source panorama viewer for the web. Built using HTML5, CSS3, JavaScript, and WebGL, it is plug-in free. It can be deployed easily as a single file, just 21kB gzipped, and then embedded into pages as an `<iframe>`. A configuration utility is included to generate the required code for embedding. An API is included for more advanced integrations.


## How to use ## How to use
1. Upload `build/pannellum.htm` and a full equirectangular panorama to a web server. 1. Upload `build/pannellum.htm` and a full equirectangular panorama to a web server.


+ 1
- 1
src/js/libpannellum.js Parādīt failu

@@ -1,6 +1,6 @@
/* /*
* libpannellum - A WebGL and CSS 3D transform based Panorama Renderer * libpannellum - A WebGL and CSS 3D transform based Panorama Renderer
* Copyright (c) 2012-2018 Matthew Petroff
* Copyright (c) 2012-2019 Matthew Petroff
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal


+ 1
- 1
src/js/pannellum.js Parādīt failu

@@ -1,6 +1,6 @@
/* /*
* Pannellum - An HTML5 based Panorama Viewer * Pannellum - An HTML5 based Panorama Viewer
* Copyright (c) 2011-2018 Matthew Petroff
* Copyright (c) 2011-2019 Matthew Petroff
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal


Notiek ielāde…
Atcelt
Saglabāt