Comments (9)
In the deck.gl v3 beta releases we now have both 64 bit layers, and meter offset mode for 32 bit layers, which both solve this. Already consumable from beta releases and will be merged to master
from deck.gl.
@kachkaev Did you ever find a workaround for this? Basically makes the built-in layers unusable atm :(
from deck.gl.
This is different from the primitive distortion issue, but might be alleviated by that fix depending what coordinate system you are using.
As you mentioned, there's a tradeoff between precision (CPU 64bit floating point) and speed (GPU 32bit floating point in glsl 1.00), and we chose the latter. There are walkarounds, e.g. using multiple coordinate systems. The ideal solution is to simulate high-precision floating point operations, we have done some work on that but need more tests (1+ week(s)) before we are comfortable to release it.
from deck.gl.
@contra still no workaround unfortunately. Had to limit the zoom level to 14, but this is not possible in any app. Really looking forward for a solution by @gnavvy. Would be good if the official example was properly synced with the library upon release (see #43)!
from deck.gl.
@kachkaev could you share a slice of your data please? We didn't observe salient distortion until zoom > 18 (if we are both referring to the mapbox zoom level). wondering how your data is formatted.
from deck.gl.
@gnavvy the images and the animation above are obtained from your data, which you refer to from the example. I did not have to change anything in it to observe wobbling and distortions in all browsers I tested this in.
from deck.gl.
@gnavvy Wobbling is visible in the demo (Chrome @ 52.0.2743.116 (64-bit), OSX)
from deck.gl.
Any implementation tips? I could take a whack at this if I knew where to start!
from deck.gl.
@contra - We are finalizing a general solution for high zoom levels and higher coordinate precision. Stay tuned.
from deck.gl.
Related Issues (20)
- [Feat] Stroke a sprite/pattern for lines/polygon outlines HOT 1
- [Bug] luma.gl: Model.updateModuleSettings is deprecated. Use Model.shaderInputs.setProps() warning message in the console. Layer class HOT 1
- [Doc] Translation support in your plan? HOT 1
- [Bug]keep updating GeoJsonLayer 20 times, the CPU will reach 100% HOT 10
- A 3D tile failed to load: undefined cannot read properties of undefined (reading 'BYTES_PER_ELEMENT') HOT 2
- [Bug] v9.0 ScenegraphLayer picking is not working HOT 1
- [Bug] An exception during Tile3DLayer loading doesn't trigger DeckGL `onError` callback. HOT 3
- [Bug]: Icon is not showing HOT 3
- [Bug] v9.0 TerrainExtension picking wrong object
- [Bug]Using @deck.gl/[email protected]: When using the map.remove(layer) method, the page goes blank.
- [Feat] any plan to move bezier layer to layers folder? HOT 4
- [Bug] Filter extension soft range unexpected behavior HOT 1
- [Bug] Layer is not cleared when data is empty with version 9 HOT 2
- Add MapTiler in Supported Base Maps [Doc] HOT 10
- [Bug] ScreenGridLayer docs point at incorrect library
- [Bug] autoHighlight on a TileLayer with multiple sub layers HOT 1
- [Bug] Error: Tile3DLayer: Failed to render layer of type cmpt HOT 2
- [Doc] @deck.gl/mapbox description needs to be fixed?
- [Feat] Add a viewport buffer around TileLayer
- [Feat] Simplified peerDependencies policy HOT 7
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 deck.gl.