visgl / deck.gl

WebGL2 powered visualization framework
https://deck.gl
MIT License
12.04k stars 2.07k forks source link

[Bug]Use MapboxLayer to add 3dtiles, some tiles twinkle #6722

Open ronancheng opened 2 years ago

ronancheng commented 2 years ago

Description

In my project, I need add 3dtiles in mapbox, and I used MapboxLayer to add it such as Official website example; In fact it aloaded successfully,but I saw something unusual in the project: when I rolled mouse to zoom in and out, the new tiles would be load, but some tiles twinkle. some conjectures: That looks like before the new tile loaded, the old tile uninstalled, so I can see the block tiles disappear for an instant. what should i do?

Flavors

Expected Behavior

No response

Steps to Reproduce

1.Use MapboxLayer to add 3dtiles 2.Rolled mouse to zoom in and out 3.See some tiles twinkle

Environment

Logs

No response

ronancheng commented 2 years ago

when I used DeckGL react component to add 3dtiles, it did well. why does the MapboxLayer has such problem?

ronancheng commented 2 years ago

1.the 3dTiles loaded(use mapboxlayer) 1 2.zoom in to see more details,during the update rendering time, we can see some tiles disappear for an instant. 2 3 3.the tiles loaded well after a while 4