tum-gis / CityGML2OBJv2

Command line converter of CityGML (.gml) to OBJ (.obj) files, while maintaining the semantics
MIT License
31 stars 3 forks source link

Geometric Distortions #3

Closed ThomasFroech closed 1 month ago

ThomasFroech commented 1 year ago

When using the triangulation, we observe strong geometric distortions for some data sets. This is particularly the case with official LOD2 datasets. These distortions can usually be avoided by skipping the triangulation. The following graphic gives an example of these distortions Error_Picture

Experiments have shown that a translation of the CityGML data set can lead to an improvement of the results. However this is not the case for all data sets with this issue. An examination of the CityGML data sets has shown that the error occurs with data sets in which the coordinates only have 2-3 decimal places.

ThomasFroech commented 1 month ago

The issue was a problem with the surface normal and plane parameter calculation.