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
6d8a19991d
Add documentation for new `animatefinished` event.
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 年前
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
1e61a22be6
Add `touchstart` and `touchend` events.
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
4840875186
Add event that fires when scene change fade completes.
7 年前
Matthew Petroff
15903fca94
Prep for release.
8 年前
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
c1067e5c1c
Add `mouseup` event.
8 年前
Matthew Petroff
d5d3f0b47a
Update documentation to match last commit.
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
2993e059cd
Fix mouse event handlers for HiDPI displays and add `mousedown` event handler.
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 年前