Matthew Petroff
badf8812c3
Install pyshtools build dependencies if binary wheel doesn't exist.
há 3 meses
Matthew Petroff
9beb4184e3
Update Ubuntu and pyshtools version for container.
há 3 meses
Matthew Petroff
f361b36a13
Make fixed scaling a separate parameter ( #1150 ).
Since it was introduced, the `scale` parameter could be set to `true` to
enable dynamic scaling. In 57ca64e741bde04efb039c7d58adcdbf6693c61c, it was
modified to instead set a fixed scaling if it were set to a number, but this
didn't allow for a fixed scaling to be set on top of the dynamic scaling.
This change restores the original behavior of the `scale` parameter and moves
fixed scaling to a new `scaleFactor` parameter. This change breaks the
previous fixed scaling behavior, but this was never in a released version.
há 4 meses
Matthew Petroff
83084e892c
Ignore `autoRotateInactivityDelay` if `autoRotate` isn't set ( #1222 ).
há 4 meses
Matthew Petroff
011497a7bd
Don't override pitch / yaw / hfov from GPano XML.
Regression in 14208198aa
.
há 5 meses
Matthew Petroff
1c7e9f6f71
Fix edge case ( fixes #1214 ).
há 6 meses
Matthew Petroff
5ad3745c3a
Cleanup.
há 9 meses
Matthew Petroff
150dfae33b
Use a list of missing multires tiles to avoid trying load them.
This avoids the 404 errors that would previously result.
A compact encoding is used, with `!` plus the face letter used to specify a
new face, `>` plus a base83-encoded number used to specify a new level, and a
list of base83-encoded numbers used to specify x and y tile coordinates, where
the base83 encoding uses the minimum number of characters to encode the
maximum tile number for the level in question. The base83 encoding is the same
as the one used for SHT hashes.
há 9 meses
Matthew Petroff
2d8ab26c36
Bump copyright year.
há 9 meses
Ruslan Kabalin
8bc4798a9d
Pin pyshtools to 4.9.1 in multires generator Dockerfile.
Latest version of pyshtools uses Meson for building and does not build
in 20.04.
há 9 meses
Matthew Petroff
021b512fa8
Further optimize not drawing tiles that have all their children drawn.
Previously, tiles with fewer than four children were always drawn, even if
all their children were also drawn.
há 9 meses
Matthew Petroff
8f7a888c3a
Fix bug in optimization that caused tiles to not be rendered ( fixes #1204 ).
The optimizations introduced in 05dae19b28
contained a bug, which caused a regression.
há 9 meses
Matthew Petroff
a56b1c43c1
Fix generate.py script for Python 3.12.
It now no longer works with Python <3.2.
há 1 ano
Matthew Petroff
6391a28a31
Make it clear that web frameworks are not officially supported.
há 1 ano
Matthew Petroff
57ca64e741
Allow hot spot `scale` parameter to set a fixed scale ( fixes #1150 ).
há 1 ano
Matthew Petroff
5656fe6f07
Allow `loadScene` to be called from `load` event handler ( fixes #1144 ).
há 1 ano
Matthew Petroff
9623f77ad6
Actually fix it this time.
há 1 ano
Matthew Petroff
3d271c83d5
Fix bug in last commit.
While the last commit prevented a race condition, it also broke the
`updateOnce` function.
há 1 ano
Matthew Petroff
3aab61fd2a
Avoid race condition between `updateOnce()` and `setUpdate(true)`.
há 1 ano
Matthew Petroff
204241e715
Add function to update dynamic content once ( #1135 ).
há 1 ano
Matthew Petroff
6c639ae033
Don't reload dynamic texture when `update` is false ( #1135 ).
há 1 ano
Matthew Petroff
54b7b22d03
Improve documentation of hot spot click events (see #1133 ).
Thanks to @strarsis .
há 1 ano
Matthew Petroff
2198c25996
Add and document additional standalone URL config parameters.
há 2 anos
Shawn Scofield
34f6bee35c
removing type param access from standalone url
há 2 anos
Shawn Scofield
d39a61e1be
Adding to available features within configFromUrl keys for standalone iframe
há 2 anos
Matthew Petroff
73b6d16238
Note that `orientationOnByDefault` generally does not work with `autoLoad`.
This is a result of browsers' stricter protections around accessing device
sensors.
há 2 anos
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.
há 2 anos
Matthew Petroff
7d42e49d10
Handling deprecation of ANTIALIAS by Pillow ( fixes #1119 ).
há 2 anos
Matthew Petroff
929ec8f11c
Prevent Chrome from selecting off-screen hot spot with tab ( #1120 ).
há 2 anos
Matthew Petroff
950a2ce732
Fix edge case with new method of loading multires tiles ( #1100 ).
há 2 anos
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.
há 2 anos
Matthew Petroff
71bac61e3b
Make hot spot and scene ID checking less strict ( #1088 ).
há 2 anos
Matthew Petroff
b29cbeda17
Add ability to provide a URL dictionary for multires tiles.
há 2 anos
Matthew Petroff
8a40ae1b42
Add ability to provide a hook to execute just prior to rendering.
This allows interoperability with other WebGL code.
há 2 anos
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.
há 2 anos
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.
há 2 anos
Matthew Petroff
fa11a998a4
Remove renderer pre-execution hook.
It was added in 950942830fb531bf8faee19f85dea5cc94a23de1, but needs more work.
há 2 anos
Matthew Petroff
33bc23dba9
Bump copyright year.
há 2 anos
Matthew Petroff
e94caefa13
Add option to skip creation of multires fallback images.
há 2 anos
Matthew Petroff
b81b26f6b9
Fix CI link.
há 2 anos
Matthew Petroff
387f5fba40
Don't require extension.
há 2 anos
Matthew Petroff
20edcac0a7
Fix deprecation warnings.
há 2 anos
Matthew Petroff
c70573f4f6
Fix CI?
há 2 anos
Matthew Petroff
650fb0995a
Fix CI?
há 2 anos
Matthew Petroff
146c951c31
Fix CI?
há 2 anos
Matthew Petroff
621de7f6dd
Add function to check if base multires tiles are loaded.
há 2 anos
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.
há 2 anos
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.
há 3 anos
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
.
há 3 anos
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.
há 3 anos