mapbox / mapbox/mapbox-scenekit

Jumping map height - only vertically

Open
#47 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
232
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Height is applied in stripes horizontally. Vertically there is a 0 height each 2nd step. Visible if you try to open following coordinates:

```let terrainNode = TerrainNode(minLat: 54.511607741673, maxLat: 54.542808297769, minLon: -3.27453444107799, maxLon: -3.14963894570278)```

![mapbox example proj - side](https://user-images.githubusercontent.com/1477880/45366692-b42d4400-b5df-11e8-8d5e-27df1d038397.png)
![mapbox example proj - front](https://user-images.githubusercontent.com/1477880/45366693-b42d4400-b5df-11e8-87ad-46a4d538a52e.png)

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 locating the TerrainNode implementation and reproduce the issue with the coordinates in the report. Inspect how terrain height is assigned across vertical steps, then verify that adjacent rows no longer alternate with zero height and that the example map renders evenly.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.