mapbox / mapbox/martini

Please guide in rendering the mesh?

Open
#5 20 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation question
Dominant language
JavaScript
Stars
658
Forks
41
PR merge metrics
No merged PRs in 30d

Description

I've tried different attempts using https://github.com/andreasplesch/aframe-triangleset-component but I get this from the Mount Fuji 256 data:

![imagen](https://user-images.githubusercontent.com/199755/64091631-ac960c00-cd16-11e9-9f92-df60260daba5.png)
Which doesn't look to me like the input image:
![fuji256](https://user-images.githubusercontent.com/199755/64091663-d8b18d00-cd16-11e9-8463-a3033f07da30.png)

Mainly because of the pointy spikes.
I'm using
``

Where this.vertices and this.triangles come from a Vue component that uses the data from tile.getMesh(80) to make these attribute data.

Please advise what am I doing wrong?
Thanks for your guidance.

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 the Vue component that turns tile.getMesh(80) into vertices and triangles, then inspect the A-Frame triangleset invocation shown in the issue. Done means identifying why the Mount Fuji 256 result has pointy spikes and documenting or correcting the relevant input or rendering usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.