Matthew Petroff
c7f3b483ad
Add CITATION file.
3 years ago
Matthew Petroff
dbd7f0c1bb
Fix mistake in API documentation.
3 years ago
Matthew Petroff
37453a99b4
Expand directions for installing pyshtools.
3 years ago
Matthew Petroff
6fc7a23007
Resize image before SHT calculation to ensure even dimensions ( fixes #1010 ).
This probably also speeds up the calculation.
3 years ago
Matthew Petroff
4e069c768d
Fix regression with non-power-of-two equirectangular images.
This regression was introduced in 9788fc6512
.
3 years ago
Matthew Petroff
d78ae70c16
Display thumbnail preview without SHT hash ( fixes #1002 ).
3 years ago
Matthew Petroff
f9ccdda5bd
Multires thumbnail must be a power of two.
WebGL 1 doesn't support REPEAT clamp mode for non-power-of-two images, which
is needed to avoid some rendering artifacts for small previews.
3 years ago
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 years ago
Stefan Keim
383e73cdbd
add %l0 placeholder for 0 based level numbering in MultiresNode
I'm using an 3rd party tool to produce the tiles for the faces - it offers 4 patterns for file and folder hirarchy/naming but all start at level 0.
This is an easy fix that may come handy for others as well.
3 years ago
Matthew Petroff
74b8319192
Add test to make sure hot spots are below UI.
3 years ago
Matthew Petroff
c187f689ab
Revert "Fix bug with hot spot overlap ( #975 )."
This reverts commit 7362f5c948
.
The bug in question was actually already fixed in
5f0a1d8662
.
3 years ago
Matthew Petroff
7362f5c948
Fix bug with hot spot overlap ( #975 ).
3 years ago
Matthew Petroff
02424bdfa3
Make it clear that location hashes are preferred over location query strings.
3 years ago
Matthew Petroff
652194695e
Removed duplicate `isLoaded` function.
3 years ago
Matthew Petroff
5f0a1d8662
Fix issue with hot spots displaying over other UI elements.
3 years ago
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 years ago
Matthew Petroff
d1364d0331
Revert "Fix issue with hot spots displaying over other UI elements."
This reverts commit ab423f66ea
.
3 years ago
Matthew Petroff
ab423f66ea
Fix issue with hot spots displaying over other UI elements.
3 years ago
Matthew Petroff
f0e6ba6067
Fix bug with displaying standalone file not found error.
3 years ago
Matthew Petroff
a84fc56596
Add inactivity delay option to `startAutoRotate` method.
3 years ago
Matthew Petroff
c0f74cc03c
Bump copyright year.
3 years ago
Matthew Petroff
6afcee4c13
Increase zoom friction for very wide HFOV (related to #946 ).
3 years ago
Jonas Petersen
9ccf60b88e
Fixed typo.
3 years ago
Matthew Petroff
50ea593a09
Fix bug in multires performance improvements ( fixes #935 ).
This seems to be caused by a race condition, but adding a check to make sure
the node is defined seems to fix it.
4 years ago
Matthew Petroff
4382de1604
Make opening of links in new tabs configurable.
Default to not doing so except for in standalone viewer.
4 years ago
Matthew Petroff
776775f1d8
Add `rel="noopener"` to `target="_blank"` links to improve security ( #929 ).
4 years ago
Matthew Petroff
7278d9a3b8
Tweak keyboard pan / zoom speeds.
4 years ago
Andras Elso
14208198aa
Add support for initial view settings ( #918 )
* Add support for initial view settings
* Independent pitch/yap/hfov configure from xmp
4 years ago
Matthew Petroff
7f2041c9cf
Fix regression in Safari caused by PR #881 .
4 years ago
Andras Elso
2d529c5fac
Dockerfile tweak ( #919 )
* Upgrade dockerfile to ubuntu 20.04
* Delete apt list files
4 years ago
Matthew Petroff
a7a8b85c34
Use `ImageBitmap` for fades and allow for other image return formats.
This should improve scene transition performance with fades enables,
particularly for high resolution displays.
4 years ago
Matthew Petroff
3a10b89937
Load multires image tiles in worker thread.
4 years ago
Matthew Petroff
5eab5366f6
Numerous performance improvements for multiresolution panoramas ( #911 ).
* Use typed arrays where possible to reduce heap usage by more than half,
which greatly reduces number of frames dropped due to garbage collection.
* Synchronize texture loading to rendering, which avoids dropped frames caused
by texture loading happening just before rendering event was going to fire.
* Reduce number of WebGL calls by eliminating unneeded binding and by not
rendering tiles that are completely obscured by higher resolution tiles.
4 years ago
Matthew Petroff
1d951e3d03
Fix hot spot positioning on page with right-to-left text ( fixes #903 ).
4 years ago
Matthew Petroff
44e878f307
Use ResizeObserver to fix issues with leaving full screen in Chrome ( fixes #897 ).
For some reason, Chrome returns incorrect element sizes when the
`fullscreenchange` fires after leaving full screen when using the Video.js
plugin. It seems the event fires before the element is properly sized. Using a
ResizeObserver on the container element fixes this issue.
4 years ago
Matthew Petroff
9df0b8bd98
Convert load button to <button> element ( fixes #890 ).
4 years ago
Matthew Petroff
2986c78231
Also add statement about English to contributing guidelines.
4 years ago
Matthew Petroff
28ca2bb4f0
Add note to contributing guidelines about writing in English.
Multiple people have now opened issues in other languages, so I guess I need
to be explicit. I thought it was obvious that English should be used given
that all the documentation is written in English, but apparently it isn't.
4 years ago
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 years ago
Matthew Petroff
b4a12929d0
Update Travis CI badge.wq
4 years ago
Matthew Petroff
1f9f0cd3fd
Fix typos in docstrings / comments.
4 years ago
praefectius
825861a633
startAutoRotate | possible improvement ( #883 )
* pannellum.js | possible improvement
startAutoRotate = function(speed, pitch, hfov)
Use case:
1. by using "getPitch()" and "getHfov()" as parameter you can just rotate your panorama with the current view.
2. if origHfov is set to a small value (eg. to start with a highlight inside a big panorama) you still can use startAutoRotate with a wider view
* Update pannellum.js
4 years ago
Matthew Petroff
1a390dfdb0
Fix typo in March's `DeviceMotionEvent` fix.
4 years ago
Matthew Petroff
6075769935
Trigger click handler functions with touch input ( fixes #861 ).
4 years ago
Matthew Petroff
28144ad301
Fix issue with `avoidShowingBackground` without `minPitch` / `maxPitch` defined ( fixes #851 ).
4 years ago
Matthew Petroff
0158f757df
Bump copyright year.
4 years ago
Matthew Petroff
9592d2ab7b
Fix issue with `orientationOnByDefault` with macOS version of Safari ( #846 ).
4 years ago
Matthew Petroff
becd096819
Document `doubleClickZoom` parameter (see #842 ).
4 years ago
Matthew Petroff
862cd450e5
Handle case where only one of `horizonRoll` / `horizonPitch` is defined (see #402 ).
4 years ago
Matthew Petroff
15e0d09fec
Clean up the pull request that was just merged.
5 years ago