strarsis
225286d84d
Document hotspot `click` event types
pirms 1 gada
Matthew Petroff
2198c25996
Add and document additional standalone URL config parameters.
pirms 2 gadiem
Shawn Scofield
34f6bee35c
removing type param access from standalone url
pirms 2 gadiem
Shawn Scofield
d39a61e1be
Adding to available features within configFromUrl keys for standalone iframe
pirms 2 gadiem
Matthew Petroff
73b6d16238
Note that `orientationOnByDefault` generally does not work with `autoLoad`.
This is a result of browsers' stricter protections around accessing device
sensors.
pirms 2 gadiem
Matthew Petroff
6b6d6deac9
Fix issue with hot spots overlapping tooltips ( fixes #1125 , #1117 ).
This was an issue in Chrome >= 70.
Thanks to @KUJensen for suggesting the subsequent-sibling combinator as a fix.
pirms 2 gadiem
Matthew Petroff
7d42e49d10
Handling deprecation of ANTIALIAS by Pillow ( fixes #1119 ).
pirms 2 gadiem
Matthew Petroff
929ec8f11c
Prevent Chrome from selecting off-screen hot spot with tab ( #1120 ).
pirms 2 gadiem
Matthew Petroff
950a2ce732
Fix edge case with new method of loading multires tiles ( #1100 ).
pirms 2 gadiem
Matthew Petroff
ab9601aa34
Display orientation control button on iPads ( fixes #1093 ).
As iPads use the same user agent as Mac, we need to check if touch input is
supported instead.
pirms 2 gadiem
Matthew Petroff
71bac61e3b
Make hot spot and scene ID checking less strict ( #1088 ).
pirms 2 gadiem
Matthew Petroff
b29cbeda17
Add ability to provide a URL dictionary for multires tiles.
pirms 2 gadiem
Matthew Petroff
8a40ae1b42
Add ability to provide a hook to execute just prior to rendering.
This allows interoperability with other WebGL code.
pirms 2 gadiem
Matthew Petroff
eb50628da1
Stop loading panorama is viewer is destroyed ( fixed #1084 ).
If the viewer is destroyed, we now try to abort loading equirectangular and
cube map panoramas. This appears to work in Chrome but not in Firefox.
No attempt is made to stop loading multires images, since that process is more
complicated.
pirms 2 gadiem
Matthew Petroff
05dae19b28
Optimize multires tile display.
Previously, a single multires tile level was used for the entire viewport,
which resulted in too much resolution at the center and too little at the
edges. This was particularly noticable when zoomed out all the way.
The new approach selectively loads tiles based on their individual projected
resolution, which is more efficient and should resolve long-standing
edge-softness issues.
pirms 2 gadiem
Matthew Petroff
fa11a998a4
Remove renderer pre-execution hook.
It was added in 950942830fb531bf8faee19f85dea5cc94a23de1, but needs more work.
pirms 2 gadiem
Matthew Petroff
33bc23dba9
Bump copyright year.
pirms 2 gadiem
Matthew Petroff
e94caefa13
Add option to skip creation of multires fallback images.
pirms 2 gadiem
Matthew Petroff
b81b26f6b9
Fix CI link.
pirms 2 gadiem
Matthew Petroff
387f5fba40
Don't require extension.
pirms 2 gadiem
Matthew Petroff
20edcac0a7
Fix deprecation warnings.
pirms 2 gadiem
Matthew Petroff
c70573f4f6
Fix CI?
pirms 2 gadiem
Matthew Petroff
650fb0995a
Fix CI?
pirms 2 gadiem
Matthew Petroff
146c951c31
Fix CI?
pirms 2 gadiem
Matthew Petroff
621de7f6dd
Add function to check if base multires tiles are loaded.
pirms 2 gadiem
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.
pirms 2 gadiem
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.
pirms 3 gadiem
Matthew Petroff
0967632240
Fix regression with CSS fallback renderer.
Regression caused rendering issue for cubemaps (but not multires) when CSS
fallback render was used. The regression was introduced as an optimization in
5eab5366f6
.
pirms 3 gadiem
Matthew Petroff
2ea5f4b992
Fix bug in multires tile loading, which primarily affects Safari ( #1012 ).
Bug was introduced in 5eab5366f6
. It caused tile
loader objects of non-web-worker-based tile loading method to sometimes be
lost during scene changes.
pirms 3 gadiem
Matthew Petroff
c7f3b483ad
Add CITATION file.
pirms 3 gadiem
Matthew Petroff
dbd7f0c1bb
Fix mistake in API documentation.
pirms 3 gadiem
Matthew Petroff
37453a99b4
Expand directions for installing pyshtools.
pirms 3 gadiem
Matthew Petroff
6fc7a23007
Resize image before SHT calculation to ensure even dimensions ( fixes #1010 ).
This probably also speeds up the calculation.
pirms 3 gadiem
Matthew Petroff
4e069c768d
Fix regression with non-power-of-two equirectangular images.
This regression was introduced in 9788fc6512
.
pirms 3 gadiem
Matthew Petroff
d78ae70c16
Display thumbnail preview without SHT hash ( fixes #1002 ).
pirms 3 gadiem
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.
pirms 3 gadiem
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.
pirms 3 gadiem
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.
pirms 3 gadiem
Matthew Petroff
74b8319192
Add test to make sure hot spots are below UI.
pirms 3 gadiem
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
.
pirms 3 gadiem
Matthew Petroff
7362f5c948
Fix bug with hot spot overlap ( #975 ).
pirms 3 gadiem
Matthew Petroff
02424bdfa3
Make it clear that location hashes are preferred over location query strings.
pirms 3 gadiem
Matthew Petroff
652194695e
Removed duplicate `isLoaded` function.
pirms 3 gadiem
Matthew Petroff
5f0a1d8662
Fix issue with hot spots displaying over other UI elements.
pirms 3 gadiem
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>
pirms 3 gadiem
Matthew Petroff
d1364d0331
Revert "Fix issue with hot spots displaying over other UI elements."
This reverts commit ab423f66ea
.
pirms 3 gadiem
Matthew Petroff
ab423f66ea
Fix issue with hot spots displaying over other UI elements.
pirms 3 gadiem
Matthew Petroff
f0e6ba6067
Fix bug with displaying standalone file not found error.
pirms 3 gadiem
Matthew Petroff
a84fc56596
Add inactivity delay option to `startAutoRotate` method.
pirms 3 gadiem
Matthew Petroff
c0f74cc03c
Bump copyright year.
pirms 3 gadiem