mapbox / mapbox/mapbox-gl-js

Some fill extrusions are broken when terrain is enabled

Open
#12,432 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3d :triangular_ruler: bug :lady_beetle:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

**mapbox-gl-js version**: v2.11.0 (latest main)

**browser**: Google Chrome 107.0.5304.110

### Steps to Trigger Behavior

1. Open `terrain-debug.html`
2. Have buildings and terrain enabled
3. Go to the location in the URI: http://localhost:9966/debug/terrain-debug.html#17.67/37.76276/-122.457225/-122.1/54

### Expected Behavior

Expecting the fill extrusion to look solid. Otherwise if terrain is disabled it looks correct.

### Actual Behavior

See image:

Screenshot 2022-12-01 at 16 11 22

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 with debug/terrain-debug.html and reproduce the report at the provided URI with buildings and terrain enabled. Compare the fill extrusion there with terrain disabled; done means the extrusion renders solid in the terrain-enabled case without regressing the existing appearance.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
computer-graphics, web-dev
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.