ladybug-tools / spider-2020

Your 2020 3D happy place for online browsing of building data files
http://ladybug.tools/spider-2020/
MIT License
4 stars 1 forks source link

gbXML Viewer display #11

Open michaldengusiak opened 4 years ago

michaldengusiak commented 4 years ago

I did some test and had a go with new version...there is some display issue with some image image

SAM_export.zip

theo-armour commented 4 years ago

@michaldengusiak

Yes, I have seen this error as well. I believe the reason is this: Three.js wants the vertices of surface boundaries and hole boundaries to go in opposite directions. The errors may be occurring when all the vertices go in the same direction. I will add a check for this. I have hesitated because checks like this can really slow things down. While I am programming, I may need to load a model dozens of times and waiting even a few seconds can be frustrating. And I hear you. A fix wil arrive one day. ;-)

image