deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

[Bug] Accuracy issues in ClipExtension

Open felixpalmer opened this issue 1 year ago • 1 comments

Description

ClipExtension clips points which should remain visible due to numerical accuracy in shader code. The behavior is only present when using clipByInstance: true.

Flavors

  • [ ] Script tag
  • [ ] React
  • [ ] Python/Jupyter notebook
  • [ ] MapboxOverlay
  • [ ] GoogleMapsOverlay
  • [ ] CartoLayer
  • [ ] ArcGIS

Expected Behavior

No response

Steps to Reproduce

https://jsfiddle.net/felixp/ngt2oz4e/

Environment

Logs

No response

felixpalmer avatar Jul 31 '24 11:07 felixpalmer

@Pessimistress Some ideas I tried:

  • Passing the bounds as center and halfSize for better accuracy (didn't work)
  • Using sub_fp64 to perform the operation (didn't work)

felixpalmer avatar Jul 31 '24 11:07 felixpalmer