Git Product home page Git Product logo

Comments (9)

ibgreen avatar ibgreen commented on April 28, 2024 1

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.

yocontra avatar yocontra commented on April 28, 2024

@kachkaev Did you ever find a workaround for this? Basically makes the built-in layers unusable atm :(

from deck.gl.

gnavvy avatar gnavvy commented on April 28, 2024

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.

kachkaev avatar kachkaev commented on April 28, 2024

@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.

gnavvy avatar gnavvy commented on April 28, 2024

@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.

kachkaev avatar kachkaev commented on April 28, 2024

@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.

yocontra avatar yocontra commented on April 28, 2024

@gnavvy Wobbling is visible in the demo (Chrome @ 52.0.2743.116 (64-bit), OSX)

from deck.gl.

yocontra avatar yocontra commented on April 28, 2024

Any implementation tips? I could take a whack at this if I knew where to start!

from deck.gl.

ibgreen avatar ibgreen commented on April 28, 2024

@contra - We are finalizing a general solution for high zoom levels and higher coordinate precision. Stay tuned.

from deck.gl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.