3rd party batch model (b3dm) in Mapbox v3?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, is there some information/minimal sample (without compression) of visualizing a b3dm in Mapbox v3?
I'm retrieving the b3dm using:
```
map.addSource('tiles', {
"type": "batched-model",
"maxzoom": 14,
"minzoom": 14,
"tiles": [
"https://myserver/{z}-{x}-{y}.b3dm"
]
}
)});
```
questions:
- What is the axis ordening in the glTF's? (z up? in meters?)
- What x, y coordinates to use in the glTF? epsg:3857? absolute or relative to the tile? Relative to what?
- How does it work when enabling terrain? Are batched models hidden by the terrain (like Cesium setting depthTestAgainstTerrain)?
Any other requirements in the glTF? Draco compression? MAPBOX_mesh_features extension? mapbox:footprint:id/mapbox:coordinate-space/mapbox:footprint-quantized/mapbox:footprint-version/mapbox:tile-version?
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 from the reported addSource('tiles', ...) batched-model setup and the listed glTF, terrain, coordinate-system, and extension questions. Check the repository's existing documentation or examples for b3dm support and verify the behavior with the supplied tile URL pattern. Done means documented answers and a minimal uncompressed sample.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100