visgl / visgl/deck.gl

[Bug] Strange occlusion happening when using PolygonLayer below z=0 version 9.0.38

Open
#9,742 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
14.6k
Forks
2.3k
Avg merge
2d 9h
Merged PRs (30d)
42

Description

Description

I'm working on displaying a frustum. However there is some strange behavior occurring when the rendered polygon is pointing downward. As you can see in the provided video. there seems to be some occlusion occurring but it seems at random and changes based on the zoom level. If the frustum is rendered pointing upwards there there is no issue at all. I have disabled the map layer entirely to make it easier to see the issue.

https://github.com/user-attachments/assets/1db17ace-a3d9-4a0c-ba00-178672a41036

Flavors
  • Script tag
  • React
  • Python/Jupyter notebook
  • MapboxOverlay
  • GoogleMapsOverlay
  • CARTO
  • ArcGIS
Expected Behavior

The polygons are consistently rendered instead of being randomly occluded.

Steps to Reproduce

Render a PolygonLayer below z=0

Environment
  • Framework version: 9.0.38
  • Browser: Chrome
  • OS: OSX
Logs

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the PolygonLayer case in the React flavor with the layer below z=0, comparing downward and upward frustums across zoom levels in Chrome on OSX. The issue is resolved when polygons render consistently without random occlusion; no source file or test is identified in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.