SphereCorrection causes EquirectangularTilesAdapter not triggering all visible tiles
See original GitHub issueHello,
First of all, thanks for your amazing work on PSV 🔥
I’ve encoutered an issue with EquirectangularTilesAdapter combined to sphereCorrection option.
Environment
- NodeJS v16.13.2
- PSV v4.4.3
- ThreeJS 0.136.0
- Arch Linux 64 bit
- Reproduced on Firefox 91 and Chromium 96
How to reproduce
- Go to snippet https://jsfiddle.net/5qgjf1ps/
- Wait for tiles loading
What is expected : all tiles in viewer visible area should be downloaded and displayed
What happens : only tiles on the right are downloaded and displayed. On initial view, left tiles are not loaded.
The issue is not related to the server, as if you move around in viewer, tile loading is at some point triggered. But this behaviour only happen when sphereCorrection
is defined with high value for pan (here -1.92 radians). If you don’t set pan correction at all, viewer works as expected.
Hope there is enough information to check on this, let me know if there is more needed to solve this.
Best regards.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Thanks for your quick update, I did the fiddle because issue template said so (was longer than I expected) 😄
Well I’m working on a project to allow self-hosting of StreetView-like sequences, which we will be open-sourced soon (next month, I will let you know when it’s released). PSV is overloaded to mimic MapillaryJS) in its usage (easy search / go to picture by ID, high-res display). I’m glad we found it so we can focus on API development, thanks again for this amazing software 😀
@PanierAvide please keep this fiddle working! (It’s a very good POC 😃 )
PS: @nickw1 we really need to find the time to start implementing this 😉