Matthew Petroff
1b92bf32b4
Properly handle dynamic first scene without need to manually call `setUpdate`.
преди 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 години
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 години
Jutinidlerz
f6ceb462a7
Add `zoomchange`, `fullscreenchange` event fired
преди 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
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 години
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 години
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 години
Nicholas Sherlock
31e7302b92
Support parallel requests for multiRes panorama tiles
преди 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 години
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 години
Matthew Petroff
c979ff362e
Add background color support for multires panoramas.
преди 6 години
Jonathan Bowman
e67c946f5e
Added config option to adjust the drag speed by a factor ( #556 )
преди 6 години
David von Oheimb
d402e4afd5
fix a copy&paste error on check for movement stop if opposite controls are pressed ( #564 )
преди 6 години
Matthew Petroff
97daf7d186
Revert "start supporting backgroundColor for Cube and Mulitres panoramas"
This reverts commit 2491c2b4dc
.
преди 6 години
David von Oheimb
2491c2b4dc
start supporting backgroundColor for Cube and Mulitres panoramas
преди 6 години
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 години
Matthew Petroff
46b6b9c073
Change `usedKeyNumbers` parameter to `capturedKeyNumbers` to be more descriptive.
преди 6 години
Daniel Morgenstern
7a8892b7c6
fixes Make `usedKeyNumbers` configurable #554
преди 6 години
Matthew Petroff
2031720700
Fix touch input issue on Chrome for Android ( fixes #551 ).
преди 6 години
Matthew Petroff
2f64204a16
Allow method to work when no scene has been loaded yet ( fixes #549 ).
преди 6 години
Matthew Petroff
2341ef6b2b
Bump copyright year.
преди 6 години
Matthew Petroff
67cd2f5c93
Add method to retrieve viewer's container element (implements #463 ).
преди 6 години
Matthew Petroff
2de1706be0
Allow CORS setting to be configured (implements #515 ).
преди 6 години
Matthew Petroff
14a7032a52
Add method to check if device orientation control is active (implements #524 ).
преди 6 години
Matthew Petroff
aa8636227d
Use WebGL context size instead of canvas size.
преди 7 години
Matthew Petroff
3cdadaa42f
Fix bug where default image type argument didn't work for libpannellum.
преди 7 години