iTowns / itowns

A Three.js-based framework written in Javascript/WebGL for visualizing 3D geospatial data
http://www.itowns-project.org
Other
1.08k stars 293 forks source link

Incomplete view of 3d-tiles #1559

Closed ikemarv closed 3 years ago

ikemarv commented 3 years ago

As you can see in the screenshot, the view of the buildings is incomplete. It looks like only the backs of the buildings are visible, even when rotating the camera around the buildings. Therefore, the geometry is fully contained, but not completely visible.

Bildschirmfoto 2021-01-21 um 10 09 01

(No elevation model is included in the example.)

We have taken the example 3dtiles_25d and modified the code (extent, camera) to other locations and included other WMS services (e.g. ESRI/ArcGIS World Imagery). The 3d-tiles (b3dm) were created with pg2b3dm.

The source files are CityGML data from Germany ( https://www.opengeodata.nrw.de/produkte/geobasis/3dg/lod2_gml/ ) but we also tried other CityGML data.

In Cesium the buildings are completely visible, but with transparency and colouring (red/brown instead of white).

If required, we can provide the converted data or also the modified code of the example.

gchoqueux commented 3 years ago

it's a normal of face problem. I think there's a error in itowns. Could you provide your data and code?

ikemarv commented 3 years ago

Thanks for the support. I created a repository for providing the code & data -> https://github.com/ikemarv/test-itowns-nrw

gchoqueux commented 3 years ago

The bug is fixed in #1566 yesterday The patch will be published soon in itowns 2.29.2