deck.gl
deck.gl copied to clipboard
[Bug] Accuracy issues in ClipExtension
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
- Framework version: [email protected]
- Browser: Chrome/Firefox
- OS: MacOS 14.5
Logs
No response
@Pessimistress Some ideas I tried:
- Passing the bounds as
centerandhalfSizefor better accuracy (didn't work) - Using
sub_fp64to perform the operation (didn't work)