3dcitydb / importer-exporter

3D City Database client for high-performance import and export of 3D city model data
Apache License 2.0
126 stars 53 forks source link

COLLADA export issue #76

Closed DanMurtin closed 5 years ago

DanMurtin commented 5 years ago

Hello, I am having issues with COLLADA export and viewing in citydb_web_map. I import the files, manage to export and view geometry file in citydb_web_map, but when it comes to Collada, i stumble upon an issue. At first, I had no themes at all (rgbTexture), but now I managed to get FMETheme (i used FME to export GML file), but when i open it in citydb_web_map, it shows the data, but it is all black.

untitled

And here is the collada file opened in FME Inspector: sd

Here is the object I am showing: object.zip

Thank you.

Son-HNguyen commented 5 years ago

Hi,

apologies for the late reply. I see you have improved the data set since the last email. 👍 Using the latest version of the Importer/Exporter and the 3DCityDB Web Map Client, I managed to export and visualize the glTF files: image

For reference, here are the COLLADA/KML/glTF settings that I used: image

Is there any error in the browser's developer mode? Are the web client and the glTF files hosted on the same domain/machine?

DanMurtin commented 5 years ago

Not late at all :) Checked the preferences, and the Generate Surface normals was not checked, and I also scaled the textures to 0.1 (dont mind the lower quality), and I succeeded. Thanks for the help :)

Son-HNguyen commented 5 years ago

Glad it helped! :)