NiHoel
6758d060f7
Add hot spot dragging and a few more minor changes ( #881 ).
* Hotspot dragging (hot spot attribute draggable + dragHandler function)
* Allow Image and ImageData and ImageBitmap as parameter panorama for equirectangular scenes
4 vuotta sitten
Matthew Petroff
28144ad301
Fix issue with `avoidShowingBackground` without `minPitch` / `maxPitch` defined ( fixes #851 ).
4 vuotta sitten
Matthew Petroff
becd096819
Document `doubleClickZoom` parameter (see #842 ).
4 vuotta sitten
Matthew Petroff
f6ac45ba7f
Add note about HTTPS being needed for device orientation.
5 vuotta sitten
Will Calderbank
3bbc5574cb
Add scale option to hot spot ( #760 )
* Add scale option to hot spot
When `true`, the hot spot is scaled to match the fish eye effect of the image.
Hot spots then appear to be embedded in the panorama instead of floating on top.
5 vuotta sitten
Matthew Petroff
de08b9d7a8
Add `authorURL` configuration parameter (implements #751 ).
5 vuotta sitten
Matthew Petroff
d02cedcc4e
Document that the viewer pans to the initial pitch before starting auto rotation (see #744 ).
5 vuotta sitten
Matthew Petroff
a057211989
Allow switching to dynamic scenes ( fixes #686 ).
6 vuotta sitten
Matthew Petroff
42a7a3a08d
Add documentation for new `friction` configuration parameter.
6 vuotta sitten
Matthew Petroff
6d8a19991d
Add documentation for new `animatefinished` event.
6 vuotta sitten
Matthew Petroff
35b21e84a5
Fix comma splices added by pull request #652 .
6 vuotta sitten
Jutinidlerz
f6ceb462a7
Add `zoomchange`, `fullscreenchange` event fired
6 vuotta sitten
Matthew Petroff
a9d0d0c335
Fix mistake in last commit.
6 vuotta sitten
Matthew Petroff
93fe22a4dc
Document hot spot `attribute` parameter (and remove `target` parameter).
6 vuotta sitten
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 vuotta sitten
Matthew Petroff
01f932ef81
Document hot spot `target` parameter.
6 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Matthew Petroff
c979ff362e
Add background color support for multires panoramas.
6 vuotta sitten
Jonathan Bowman
e67c946f5e
Added config option to adjust the drag speed by a factor ( #556 )
6 vuotta sitten
Matthew Petroff
9ba4c93c3c
Clarify documentation for `targetHfov` parameter.
6 vuotta sitten
Matthew Petroff
46b6b9c073
Change `usedKeyNumbers` parameter to `capturedKeyNumbers` to be more descriptive.
6 vuotta sitten
Matthew Petroff
2de1706be0
Allow CORS setting to be configured (implements #515 ).
6 vuotta sitten
Matthew Petroff
499fff145d
Add option to disable keyboard controls.
7 vuotta sitten
Matthew Petroff
93f3df1431
Add translation support (implements #147 ).
7 vuotta sitten
Matthew Petroff
07c9140548
Add documentation for hot spot ID.
7 vuotta sitten
Matthew Petroff
1e61a22be6
Add `touchstart` and `touchend` events.
7 vuotta sitten
Matthew Petroff
12f578a433
Document new `draggable` parameter.
7 vuotta sitten
Matthew Petroff
624c1c1124
Add `loadButtonLabel`, `previewTitle`, and `previewAuthor` configuration options (implements #334 ).
7 vuotta sitten
Matthew Petroff
0b00ea5886
Allow HTML in configuration strings when using API.
7 vuotta sitten
Matthew Petroff
b0b7a77cbb
Add option for only enabling mouse wheel zoom while fullscreen (implements #333 ).
7 vuotta sitten
Matthew Petroff
ded506d22d
Add `animationTimingFunction` parameter that allows custom timing functions to be used for animations (implements #331 ).
7 vuotta sitten
Matthew Petroff
4840875186
Add event that fires when scene change fade completes.
7 vuotta sitten
Matthew Petroff
15903fca94
Prep for release.
8 vuotta sitten
Matthew Petroff
540c907d09
Improve documentation of `targetPitch` and `targetYaw` parameters.
8 vuotta sitten
Matthew Petroff
79738fabfa
Documentation I forgot to add to the last commit.
8 vuotta sitten
Matthew Petroff
e8e7353f27
Document custom hot spot options.
8 vuotta sitten
Matthew Petroff
c1067e5c1c
Add `mouseup` event.
8 vuotta sitten
Matthew Petroff
d5d3f0b47a
Update documentation to match last commit.
8 vuotta sitten
Matthew Petroff
1bbbb675bc
Update documentation / defaults ( fixes #220 ).
8 vuotta sitten
Matthew Petroff
13cd182f82
Add option to turn device orientation control on by default.
8 vuotta sitten
Matthew Petroff
2993e059cd
Fix mouse event handlers for HiDPI displays and add `mousedown` event handler.
8 vuotta sitten
Matthew Petroff
c95d12527d
Add option to disable all controls.
8 vuotta sitten
Matthew Petroff
715866b67d
Allow partial panorama background color to be set (implements #185 ).
8 vuotta sitten
Matthew Petroff
9db49fae2e
Clarify configuration parameter documentation.
8 vuotta sitten
Matthew Petroff
f21d3b614d
Change `horizonPitch` and `horizonRoll` parameters from radians to degrees to match other parameters.
8 vuotta sitten
Matthew Petroff
2ca29f7b7e
Add type information to JSON configuration parameter documentation.
8 vuotta sitten
Matthew Petroff
234201ea41
Make horizon pitch and roll configurable instead of only support through metadata.
8 vuotta sitten
Janne Cederberg
3e0250eb72
Add configuration option to make it possible to disable mouse zooming.
Implementation of https://github.com/mpetroff/pannellum/issues/151 .
8 vuotta sitten
Matthew Petroff
8ade302e7a
Add events for errors (implements #164 ).
8 vuotta sitten