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