Matthew Petroff
71bac61e3b
Make hot spot and scene ID checking less strict ( #1088 ).
2年前
Matthew Petroff
950942830f
Add ability to provide existing WebGL context to renderer.
Also add ability to provide a hook to execute just prior to rendering.
2年前
Matthew Petroff
308d86ecd9
Remove "fallback" parameter, since Flash-based viewers no longer work.
It doesn't make much sense to provide a URL to a non-WebGL viewer anymore.
3年前
Matthew Petroff
9788fc6512
Add support for multires SHT and thumbnail previews.
Spherical harmonic transform (SHT) previews are display instead of a solid
background color before the base multires tiles are loaded. If a thumbnail is
provided, it will be displayed instead of the SHT preview. If the thumbnail is
provided as a Base64-encoded string, the SHT preview may be briefly displayed,
since image loading is asynchronous, while the SHT preview is loaded
synchronously.
3年前
strarsis
a6c71665a7
UI confirmation (touch/mouse wheel) ( #952 )
* 64c337b
* Update build.
* Build 05837fd
.
* Build d1555b3,
* Build eb41687
.
* Build b232a6b
.
* Build 233b100
.
* Build ab7b859
.
* Build 805f6da
.
* Build 25e3d6d
.
* Build 54a8dc6
.
* Build 0d32eea
.
* Build eeb9383
.
* Add code.
* Improve/fix interaction message fade.
Fix indentations.
* Build for UI confirmation (40ffc37
).
* Ignore build/ again.
* Change interation message text and style.
* Don't display interaction messages while in fullscreen.
* Don't change defaults and add documentation for interation messages.
* Disable `ctrl` / `shift` zoom when `ctrl` is required for mouse wheel zoom.
* Show interaction key based on platform.
* Cleanup.
* Remove pre-built files.
* Use `<div>` for interaction message.
* Fix case without drag confirm and show proper message for `both`.
Also switch back to using separate `dragConfirm` parameter.
* Document interaction message events.
Co-authored-by: Matthew Petroff <matthew@mpetroff.net>
3年前
Matthew Petroff
4382de1604
Make opening of links in new tabs configurable.
Default to not doing so except for in standalone viewer.
4年前
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年前
Matthew Petroff
28144ad301
Fix issue with `avoidShowingBackground` without `minPitch` / `maxPitch` defined ( fixes #851 ).
4年前
Matthew Petroff
becd096819
Document `doubleClickZoom` parameter (see #842 ).
4年前
Matthew Petroff
f6ac45ba7f
Add note about HTTPS being needed for device orientation.
5年前
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年前
Matthew Petroff
de08b9d7a8
Add `authorURL` configuration parameter (implements #751 ).
5年前
Matthew Petroff
d02cedcc4e
Document that the viewer pans to the initial pitch before starting auto rotation (see #744 ).
5年前
Matthew Petroff
a057211989
Allow switching to dynamic scenes ( fixes #686 ).
6年前
Matthew Petroff
42a7a3a08d
Add documentation for new `friction` configuration parameter.
6年前
Matthew Petroff
a9d0d0c335
Fix mistake in last commit.
6年前
Matthew Petroff
93fe22a4dc
Document hot spot `attribute` parameter (and remove `target` parameter).
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年前
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年前
Matthew Petroff
9ba4c93c3c
Clarify documentation for `targetHfov` parameter.
6年前
Matthew Petroff
46b6b9c073
Change `usedKeyNumbers` parameter to `capturedKeyNumbers` to be more descriptive.
6年前
Matthew Petroff
2de1706be0
Allow CORS setting to be configured (implements #515 ).
6年前
Matthew Petroff
499fff145d
Add option to disable keyboard controls.
7年前
Matthew Petroff
93f3df1431
Add translation support (implements #147 ).
7年前
Matthew Petroff
07c9140548
Add documentation for hot spot ID.
7年前
Matthew Petroff
12f578a433
Document new `draggable` parameter.
7年前
Matthew Petroff
624c1c1124
Add `loadButtonLabel`, `previewTitle`, and `previewAuthor` configuration options (implements #334 ).
7年前
Matthew Petroff
0b00ea5886
Allow HTML in configuration strings when using API.
7年前
Matthew Petroff
b0b7a77cbb
Add option for only enabling mouse wheel zoom while fullscreen (implements #333 ).
7年前
Matthew Petroff
ded506d22d
Add `animationTimingFunction` parameter that allows custom timing functions to be used for animations (implements #331 ).
7年前
Matthew Petroff
540c907d09
Improve documentation of `targetPitch` and `targetYaw` parameters.
8年前
Matthew Petroff
79738fabfa
Documentation I forgot to add to the last commit.
8年前
Matthew Petroff
e8e7353f27
Document custom hot spot options.
8年前
Matthew Petroff
1bbbb675bc
Update documentation / defaults ( fixes #220 ).
8年前
Matthew Petroff
13cd182f82
Add option to turn device orientation control on by default.
8年前
Matthew Petroff
c95d12527d
Add option to disable all controls.
8年前
Matthew Petroff
715866b67d
Allow partial panorama background color to be set (implements #185 ).
8年前
Matthew Petroff
9db49fae2e
Clarify configuration parameter documentation.
8年前
Matthew Petroff
f21d3b614d
Change `horizonPitch` and `horizonRoll` parameters from radians to degrees to match other parameters.
8年前
Matthew Petroff
2ca29f7b7e
Add type information to JSON configuration parameter documentation.
8年前
Matthew Petroff
234201ea41
Make horizon pitch and roll configurable instead of only support through metadata.
8年前
Janne Cederberg
3e0250eb72
Add configuration option to make it possible to disable mouse zooming.
Implementation of https://github.com/mpetroff/pannellum/issues/151 .
8年前
Matthew Petroff
06d398e350
Allow hot spots to specify target HFOV and add `loadScene` method to API.
8年前
Matthew Petroff
7c5f230203
Remove `header` parameter from documentation; it has been superseded by the API.
9年前
Matthew Petroff
eb5a0891cd
Greatly improve video support.
9年前
Matthew Petroff
704e9ad12e
Add missing `preview` parameter to documentation.
9年前