Comments (16)
I didn't investigate at all, but I saw you use OffscreenCanvas
a lot. This is still considered an experimental feature, is not supported by Safari and only partially by Firefox : https://developer.mozilla.org/fr/docs/Web/API/OffscreenCanvas.
from geo-three.
@xawill That could be the reason for the height data to be missing.
I will patch the lib to use regular canvas object whenever OffscreenCanvas is not available.
Thanks a lot!
from geo-three.
Hello
The library supports 3D terrain tiles it is the main focus in this library.
You can open the example of the library and switch between modes and tile providers to experiment the multiple configurations.
Thanks a lot!
from geo-three.
Thank you for your reply.
I think the issue is with the demo at https://tentone.github.io/geo-three. Try to load the page and check the console. A lot of "Failed to load height node data" errors display. I guess that we cannot test the 3D part of your library on the demo website due to this.
But most likely the issue is due to an error in authentication with MapBox height tiles server or something on the demo. I'll give it a try locally with my own tiles providers. Pretty sure it will work :)
from geo-three.
The demo is not broken it is working correctly. These errors are caused by missing tiles for ocean regions and can be ignored.
from geo-three.
Well, it doesn't work for me, over Switzerland, a very mountainous country in the Alps in Europe.
I am using Safari latest public version on macOS latest public version.
from geo-three.
This is over Mont-Blanc (4809m):
from geo-three.
Can you please provide a height "not shader" screenshot of these areas?
I have no way of testing with mac os, do you have any shader related error?
from geo-three.
No problem. I might be able to test on my side on Windows to try to narrow down what the issue is.
Here is the screenshot you requested: Mont-Blanc area again, with height "not shader". You can also see the output of the console, which is filled with hundred of such errors (one per tile, I would guess). I have no other error (no shader issue reported).
PS: After writing this, I tested on Chrome on macOS and it works as expected (except from the gap at tiles edges, but I guess this is a complicated issue to solve, right ?):
So apparently the issue is with Safari on macOS exclusively.
from geo-three.
Thanks a lot for this information this has to be fixed. The errors you're getting should not be related but i have to take a closer look maybe using a VM i can reproduce the error.
Thanks!
from geo-three.
Thanks a lot. I didn't have the chance to integrate your library in my project yet, but will in the following hours/days. I will then have more extensive access to the debugger and will let you know if I can better identify the issue.
I thought at first that the issue might be related to Safari not supporting webgl2, but I don't think you use it. And I had Safari webgl2 experimental feature enabled.
from geo-three.
I also have this issue on macOS running Firefox 89.0 (64-bit); so this isn't exclusive to Safari.
from geo-three.
Removed the need for OffscreenCanvas in new version. Should be working correctly in safari now!
Thanks a lot!
from geo-three.
Hi @tentone it's not working on my ipad, maybe we need to reopen this!
thank you
from geo-three.
Hello @laraduarte please open a new issue regarding this problem.
Include the version of the browser and OS that youre running and any content from the console please.
Thanks a lot!
from geo-three.
Hello @tentone
System: Ipad, iOS 15.6
Browser: Google Chrome
No errors in the console.
Thank you!
from geo-three.
Related Issues (20)
- Usage with Normal JS Project HOT 2
- LOD issue HOT 7
- height shader HOT 5
- wrong tile coordinates using react-fiber and fiber/drei HOT 3
- get all tiles that are in viewspace HOT 2
- 2 questions: "confusion about EPSG:900913" and "performance of Equirectangular projection" HOT 4
- How to load tiles with a resolution of 512 * 512 or 1024 * 1024? HOT 1
- Location problems HOT 1
- integration with react-three-fiber HOT 2
- Clipping map plane HOT 1
- sth wrong when "UnitsUtils.datumsToSpherical(la, lo)" HOT 1
- Implementing a Map Overlay HOT 2
- How to load 3D terrain by loading geotiff data HOT 2
- Shadow is not working on terrain mesh HOT 1
- how to get bbox of map ?? HOT 2
- Support for 3D Tiles HOT 1
- is there any method to set dynamic ZoomLevel ? HOT 1
- Google Maps, createSession fails HOT 1
- Multiple maps over the same area HOT 2
- No support material transparent HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geo-three.