Matthew Petroff
94fa314232
Apply fixes to Travis CI configuration.
5 jaren geleden
Matthew Petroff
232e5e18bf
Add initial Travis CI configuration.
5 jaren geleden
Matthew Petroff
18f931639a
Add limited test suite.
5 jaren geleden
Matthew Petroff
1b92bf32b4
Properly handle dynamic first scene without need to manually call `setUpdate`.
5 jaren geleden
Matthew Petroff
76d2c6b2b8
Create FUNDING.yml
5 jaren geleden
Matthew Petroff
107b2a180d
Check if previous scene was loaded before trying to fade ( fixes #741 ).
5 jaren geleden
Matthew Petroff
59893bcea4
Switch to `highp` precision for equirectangular fragment shader.
This resolves pixelation issues on some mobile devices (fixes #725 ).
It also may be related to issues #301 , #496 , #683 , and #708 .
5 jaren geleden
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 jaren geleden
Matthew Petroff
34cb1a409e
Another check to make sure hot spot div exists before deleting it ( #702 ).
5 jaren geleden
Matthew Petroff
19b020dbc7
Check to make sure hot spot div exists before deleting it ( #702 ).
5 jaren geleden
Matthew Petroff
12516e69b9
Fix issue with mouse dragging causing jump around yaw limits ( fixes #698 )
6 jaren geleden
Matthew Petroff
03eb7fa131
Add check for `document.fullscreenElement` since `document.fullscreen` is deprecated.
6 jaren geleden
Matthew Petroff
bcebff27d1
Don't fire `fullscreenchange` event on resize.
6 jaren geleden
Matthew Petroff
f05615045e
Fix event listener removal regression introduced in 64c337beff
.
6 jaren geleden
Matthew Petroff
f0af9d07bf
Fix interaction between F11 and API fullscreens in Chrome ( fixes #696 ).
6 jaren geleden
Will Calderbank
4242e7c53a
Add stopMovement to stop all movement ( #690 )
Add `stopMovement` to stop all movement
6 jaren geleden
Matthew Petroff
a057211989
Allow switching to dynamic scenes ( fixes #686 ).
6 jaren geleden
Matthew Petroff
42a7a3a08d
Add documentation for new `friction` configuration parameter.
6 jaren geleden
Will Calderbank
2d7ccb5fad
Allow friction value to be set in options
6 jaren geleden
Matthew Petroff
5c36101744
Restructure how animated move callbacks are handled to fix possible race condition (see #658 ).
6 jaren geleden
Matthew Petroff
d12baa08d4
Fix mouse position for iOS ( fixes #668 ).
6 jaren geleden
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 jaren geleden
Matthew Petroff
6d8a19991d
Add documentation for new `animatefinished` event.
6 jaren geleden
Will Calderbank
a40b906ebd
Add animateFinished event fired on animations finishing
6 jaren geleden
Matthew Petroff
8b5e36e9b0
When setting view via API, reset timer for auto rotate ( fixes #664 ).
6 jaren geleden
Matthew Petroff
35b21e84a5
Fix comma splices added by pull request #652 .
6 jaren geleden
Jutinidlerz
f6ceb462a7
Add `zoomchange`, `fullscreenchange` event fired
6 jaren geleden
Matthew Petroff
a9d0d0c335
Fix mistake in last commit.
6 jaren geleden
Matthew Petroff
93fe22a4dc
Document hot spot `attribute` parameter (and remove `target` parameter).
6 jaren geleden
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 jaren geleden
Matthew Petroff
4d1c54f248
Fix Video.js controls regression in Pannellum 2.4 and add support for Video.js 7.
6 jaren geleden
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 jaren geleden
Matthew Petroff
01f932ef81
Document hot spot `target` parameter.
6 jaren geleden
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 jaren geleden
Matthew Petroff
6075298162
Check for renderer before attempting resize.
6 jaren geleden
matejsoukup
a99d4eaa1c
Partial panorama default cube size fix
Change computation of cube size - taking haov into account
6 jaren geleden
Matthew Petroff
d51ade0e2c
Add note about app frameworks to readme.
6 jaren geleden
Matthew Petroff
60c4d5d606
Don't add extra parameters to JSON config file ( fixes #624 ).
6 jaren geleden
Matthew Petroff
3bf25d528b
Merge pull request #613 from gcangussu/611-wrong-URL-decoding
Removed wrong encodings of URLs (fixes #611 ).
6 jaren geleden
Gabriel Cangussu
02a639f166
Fix double encoding URLs and better protect against XSS atacks.
6 jaren geleden
Gabriel Cangussu
465c5a0767
Removed wrong encodings of URLs ( fixes #611 ).
6 jaren geleden
Matthew Petroff
b232a6bc70
Use CSS class for setting hot spot cursor.
6 jaren geleden
Matthew Petroff
c94815ee31
Allow hot spots to be removed from scenes that aren't currently loaded ( fixes #601 ).
6 jaren geleden
Matthew Petroff
428d4d7bef
Merge pull request #600 from Sherlock-Photography/multires-parallel
Support parallel requests for multiRes panorama tiles
6 jaren geleden
Nicholas Sherlock
31e7302b92
Support parallel requests for multiRes panorama tiles
6 jaren geleden
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 jaren geleden
Matthew Petroff
ed05162933
Allow for generating large multires images with Pillow >5.0.
6 jaren geleden
Matthew Petroff
9f33510020
Fix build regression introduced in 0c92d85b11
( fixes #587 ).
6 jaren geleden
Matthew Petroff
c471a06c32
Fix regression in fallback renderer ( fixes #583 ).
6 jaren geleden
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 jaren geleden