mapbox / mapbox/mapbox-gl-js

Building extrusion with 3D terrain produces some unexpected artifacts

Open
#11,891 1 comment 0 reactions 0 assignees View on GitHub
3d :triangular_ruler: bug :lady_beetle: needs investigation :mag:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

When I turn on building extrusions and enable 3D terrain, I get some unexpected artefacts at least in this one location in Helsinki.

**mapbox-gl-js version**:
The one that the latest production version of Mapbox Studio is using.

### Steps to Trigger Behavior

1. Add building layer and turn on extruded buildings
2. Enable 3D terrain
3. Zoom to `#16.41/60.17908/24.960457/25.6/81`

### Screenshot

![building-extrusion-bug](https://user-images.githubusercontent.com/13899537/168235693-5f90e036-fcdc-4a4c-bd78-592e90c60a95.gif)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in mapbox-gl-js with extruded buildings and 3D terrain, using the Helsinki camera location #16.41/60.17908/24.960457/25.6/81 and the attached screenshot as a reference. Investigate the terrain and building-rendering path; done means the reported artifacts no longer appear at this location.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.