Matthew Petroff
71bf642860
Properly remove event listeners from container element ( fixes #710 ).
For three event listeners added to the container elements weren't being
removed properly, since `removeEventListener` was mistakenly being called on
`uiContainer` instead. This was preventing garbage collection.
5 years ago
Matthew Petroff
34cb1a409e
Another check to make sure hot spot div exists before deleting it ( #702 ).
5 years ago
Matthew Petroff
19b020dbc7
Check to make sure hot spot div exists before deleting it ( #702 ).
5 years ago
Matthew Petroff
12516e69b9
Fix issue with mouse dragging causing jump around yaw limits ( fixes #698 )
6 years ago
Matthew Petroff
03eb7fa131
Add check for `document.fullscreenElement` since `document.fullscreen` is deprecated.
6 years ago
Matthew Petroff
bcebff27d1
Don't fire `fullscreenchange` event on resize.
6 years ago
Matthew Petroff
f05615045e
Fix event listener removal regression introduced in 64c337beff
.
6 years ago
Matthew Petroff
f0af9d07bf
Fix interaction between F11 and API fullscreens in Chrome ( fixes #696 ).
6 years ago
Will Calderbank
4242e7c53a
Add stopMovement to stop all movement ( #690 )
Add `stopMovement` to stop all movement
6 years ago
Matthew Petroff
a057211989
Allow switching to dynamic scenes ( fixes #686 ).
6 years ago
Matthew Petroff
42a7a3a08d
Add documentation for new `friction` configuration parameter.
6 years ago
Will Calderbank
2d7ccb5fad
Allow friction value to be set in options
6 years ago
Matthew Petroff
5c36101744
Restructure how animated move callbacks are handled to fix possible race condition (see #658 ).
6 years ago
Matthew Petroff
d12baa08d4
Fix mouse position for iOS ( fixes #668 ).
6 years ago
Matthew Petroff
3151cafb1c
Split equirectangular images into two textures if too big.
This allows for equirectangular images on a given device to be twice as big as
they were previously, so (almost) all devices now support equirectangular
images up to 8192px across.
This technique could be extended to double the maximum size again (using eight
textures), but images bigger than 8192px should be converted to the
multi-resolution format anyway, so there's little point in implementing this
extension.
6 years ago
Matthew Petroff
6d8a19991d
Add documentation for new `animatefinished` event.
6 years ago
Will Calderbank
a40b906ebd
Add animateFinished event fired on animations finishing
6 years ago
Matthew Petroff
8b5e36e9b0
When setting view via API, reset timer for auto rotate ( fixes #664 ).
6 years ago
Matthew Petroff
35b21e84a5
Fix comma splices added by pull request #652 .
6 years ago
Jutinidlerz
f6ceb462a7
Add `zoomchange`, `fullscreenchange` event fired
6 years ago
Matthew Petroff
a9d0d0c335
Fix mistake in last commit.
6 years ago
Matthew Petroff
93fe22a4dc
Document hot spot `attribute` parameter (and remove `target` parameter).
6 years ago
DLar
f07910d3b6
Customizable attributes for Hotspots
Sometimes more than just the target attribute needs to be customized on the hotspot. Expansion of ba35ea8
Hotspots now accept an object with a list of attributes to append to the anchor tag.
6 years ago
Matthew Petroff
4d1c54f248
Fix Video.js controls regression in Pannellum 2.4 and add support for Video.js 7.
6 years ago
Matthew Petroff
35083170d5
Add config parameter to use `minHfov` for `multires` panoramas.
Normally, the value of `minHfov` is ignored for said panoramas, and an
automatically calculated value is used instead.
6 years ago
Matthew Petroff
01f932ef81
Document hot spot `target` parameter.
6 years ago
Hrumpa
ba35ea8ffe
Let customize target attribute for URL HotSpots
Sometimes it is needed to open HotSpot link right in the same frame ("_self") or in a named one.
6 years ago
Matthew Petroff
6075298162
Check for renderer before attempting resize.
6 years ago
matejsoukup
a99d4eaa1c
Partial panorama default cube size fix
Change computation of cube size - taking haov into account
6 years ago
Matthew Petroff
d51ade0e2c
Add note about app frameworks to readme.
6 years ago
Matthew Petroff
60c4d5d606
Don't add extra parameters to JSON config file ( fixes #624 ).
6 years ago
Matthew Petroff
3bf25d528b
Merge pull request #613 from gcangussu/611-wrong-URL-decoding
Removed wrong encodings of URLs (fixes #611 ).
6 years ago
Gabriel Cangussu
02a639f166
Fix double encoding URLs and better protect against XSS atacks.
6 years ago
Gabriel Cangussu
465c5a0767
Removed wrong encodings of URLs ( fixes #611 ).
6 years ago
Matthew Petroff
b232a6bc70
Use CSS class for setting hot spot cursor.
6 years ago
Matthew Petroff
c94815ee31
Allow hot spots to be removed from scenes that aren't currently loaded ( fixes #601 ).
6 years ago
Matthew Petroff
428d4d7bef
Merge pull request #600 from Sherlock-Photography/multires-parallel
Support parallel requests for multiRes panorama tiles
6 years ago
Nicholas Sherlock
31e7302b92
Support parallel requests for multiRes panorama tiles
6 years ago
Matthew Petroff
8934629cbb
Generate all multires tiles when using full panorama, and when skipping tiles, make sure the tile color matches the background color.
6 years ago
Matthew Petroff
ed05162933
Allow for generating large multires images with Pillow >5.0.
6 years ago
Matthew Petroff
9f33510020
Fix build regression introduced in 0c92d85b11
( fixes #587 ).
6 years ago
Matthew Petroff
c471a06c32
Fix regression in fallback renderer ( fixes #583 ).
6 years ago
David von Oheimb
0c92d85b11
support also partial cubemap/fallback images: backgroundColor for missing face(s) ( #570 )
* support also partial cubemap/fallback images: backgroundColor for missing face(s)
* extend multires/generate.py to cylindrical input and partial panoramas
* fixed a few typos in new help strings of generate.py
* Missing cubemap faces now need to be defined as null in the configuration
* made generate.py strict again on existing output directory, printing descriptive error message
* replaced unsafe eval by ast.literal_eval in generate.py
* a couple of minor improvements regarding 'undefined' in libpannellum.js
* made generate.py allow existing output directory in debug mode
for convenience, no need to delete output directory every time while testing
6 years ago
David von Oheimb
edc587cd89
avoid showing out-of-range areas of partial (cylindrical) panoramas ( #567 )
* prevent display of out-of-range areas of partial (cylindrical) panoramas
by adaping min/may yaw and max horizontal fov, this no background (empty space) shown
* improvements as requested: made view restrictions optional, etc.
* extend documentation to describe new avoidShowingBackground option
6 years ago
Matthew Petroff
c979ff362e
Add background color support for multires panoramas.
6 years ago
Jonathan Bowman
e67c946f5e
Added config option to adjust the drag speed by a factor ( #556 )
6 years ago
David von Oheimb
d402e4afd5
fix a copy&paste error on check for movement stop if opposite controls are pressed ( #564 )
6 years ago
Matthew Petroff
97daf7d186
Revert "start supporting backgroundColor for Cube and Mulitres panoramas"
This reverts commit 2491c2b4dc
.
6 years ago
David von Oheimb
2491c2b4dc
start supporting backgroundColor for Cube and Mulitres panoramas
6 years ago
David von Oheimb
034d27a22b
avoid loading invisible files for partial panos of any image type ( #562 )
Avoid loading invisible files for partial panos of any image type.
6 years ago