mapbox / mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
https://docs.mapbox.com/mapbox-gl-js/
Other
11.04k stars 2.21k forks source link

Support custom 3D landmark building models #13007

Open exotfboy opened 9 months ago

exotfboy commented 9 months ago

The official mapbox map example load a 3d building tile source with glb format for the 3D landmark buildings generated by Mapbox team.

I'd like to know:

1 What is the original format for the 3d models?

2 How is the glb tile data organized from the original model?

3 And open source tool can be used to generated our own 3d tiles?

Thanks.

stepankuzmin commented 9 months ago

Hi @exotfboy,

The model layer is still an experimental feature, and its public API is currently under development.

enersis-pst commented 9 months ago

really nice 3d objects. would be nice to see some converters in the near future (for example of cityGml).

enersis-pst commented 6 months ago

hey @exotfboy someone create its own models from lod2 city dataset. https://bertt.wordpress.com/2023/08/21/exploring-3d-options-of-mapbox-v3 he has also created a converter https://github.com/geodan/pg2b3dm

for me now is the question what is right now possible and what will come.

exotfboy commented 6 months ago

@enersis-pst Amazing! Thanks。

astojilj commented 6 months ago

This topic is discussed also in https://github.com/mapbox/mapbox-gl-js/issues/12861.