Open JordanOlivet opened 4 years ago
Looks funny! Thanks a lot for the report. We will te time to take a deeper look.
Great work, we are using Helix-Toolkit in my compary by the way.
Oh nice ! Thanks @kimkulling.
I also use Helixtoolkit for my company. In fact, I found this issue at work =).
I hope you'll find what's going wrong.
Hey guys,
I'm using Assimp throught Helixtoolkit in order to load and display IFC files. I'm currently making a migration from the xBim viewer to Helixtoolkit.SharpDX viewer.
I found a file that is rendered differently between the two viewers (xBim and Helix). So I tested this file in few IFC viewers in order to find what's going on.
Bim Vision :![bim_vision](https://user-images.githubusercontent.com/46482319/72811877-d1a50000-3c60-11ea-881a-5929fb22306a.png)
Solibri :![solibri](https://user-images.githubusercontent.com/46482319/72811914-dff31c00-3c60-11ea-8a7d-33850ce7ba94.png)
Assimp viewer :![assimp_viewer](https://user-images.githubusercontent.com/46482319/72811945-eda8a180-3c60-11ea-8f0f-2ab65dd0efd5.png)
Assimp viewer (far view) :![assimp_viewer__far_view](https://user-images.githubusercontent.com/46482319/72811974-fb5e2700-3c60-11ea-9616-4173176aed91.png)
Helixtoolkit.SharpDX viewer :![helixtoolkit](https://user-images.githubusercontent.com/46482319/72811999-087b1600-3c61-11ea-9988-746b82cbb660.png)
Helixtoolkit.SharpDX viewer (far view) :![helixtoolkit_far_view](https://user-images.githubusercontent.com/46482319/72812031-14ff6e80-3c61-11ea-9f9a-b1a86173750e.png)
As you can see, only viewers using Assimp generate this very long line.
By zooming in the middle of the building, I found that the line is the top of a broken representation of a wall.
So, I conclude that it's an Assimp problem.
Also, if you take closer look at openings in both Assimp and Helix viewer, you can see that there have, for the most, a wrong geometry because each opening is cut by the wall in diagonal (I think it's the wall). Maybe the two problems are related. I don't know.
Or there is something I'm missing ?
Thanks in advance for any response, Jordan Olivet
Wall's GUID (broken representation) : 0r6vDvzyf7OA7vakNzZuTX
Zip containing two files, the complete one and one with just the first storey (where the problem takes place) : ifc_files.zip