3dcitydb / 3dcitydb-web-map

Cesium-based 3D viewer and JavaScript API for the 3D City Database
Apache License 2.0
377 stars 125 forks source link

Building and Room color #70

Closed ozaapt closed 3 years ago

ozaapt commented 3 years ago

Hello, i want the building and room color show in 3dcitydb-web-map have same color with the building in gml file, is there any method to do that?

WhatsApp Image 2021-09-09 at 17 07 07 image

thank you.

thomashkolbe commented 3 years ago

When your objects have Appearance elements assigned in the CityGML file, you should choose to export them in COLLADA/glTF format. Be sure to connect to your database by fetching the available appearance themes and choosing the relevant one. This can all be done on the main tab of the visualization exporter. See https://3dcitydb-docs.readthedocs.io/en/latest/impexp/export-vis.html

However, this only works, when appearances have been assigned to the objects in the CityGML file and the appearance theme has not been left empty.

ozaapt commented 3 years ago

thank you.