z-fighting in fill-extrusion buildings
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Some of the buildings in the `fill-extrusion` layer manifest a z-fighting artifact as seen in the video below:
https://user-images.githubusercontent.com/67509069/175061020-e9c867c8-2b59-4d6f-aa14-1750b45f7689.mp4
### Steps to Trigger Behavior
1. Add a fill extrusion layer with `fill-extrusion-ambient-occlusion-intensity = 0.5` and `fill-extrusion-ambient-occlusion-radius = 3`.
2. Navigate to `17.49/60.171903/24.943105/-88.1/75`
Observe the artifact manifesting itself on one of the buildings as panning/zooming around.
cc @mapbox/gl-native @astojilj
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the artifact with a fill-extrusion layer using ambient occlusion intensity 0.5 and radius 3, then navigate to 17.49/60.171903/24.943105/-88.1/75 while panning and zooming. The work is done when the building no longer shows z-fighting under those settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100