Closed robinjo78 closed 1 year ago
triangulate --sloppy
?I cannot reproduce your bug.
So I isolated one building that goes bad for you in the image you sent, get it there: https://hugoledoux.stackstorage.com/s/H4wsx4wVYXuZ2nKr
if you triangulate that one, with and without --sloppy
, you get errors?
And ninja does the same?
Describe the bug After using the triangulation function on a tile from the 3D BAG dataset, I found out that some surfaces of some of the buildings in the tile are flipped. It appears as a 'hole' when visualising in Ninja.
cjio version Version 0.7.3
To Reproduce Download this tile. Then upgrade the CiytJSON file to version 1.1 and triangulate it. The commands are:
cjio 3dbag_v210908_fd2cee53_5910.json upgrade save 3dbag_5910_v11.city.json
cjio 3dbag_5910_v11.city.json triangulate save 3dbag_5910_v11_triangulated.city.json
Visualise the last cityjson file in Ninja.Expected behavior Some surfaces of some buildings are expected to be flipped in orientation. This appears as a hole in the building.
Screenshots
Desktop: