From IFC to 3D Tiles: An Integrated Open-Source Solution for Visualising BIMs on Cesium
Abstract
:1. Introduction
2. Previous Work
2.1. Rendering BIM in Cesium
2.2. Mago3D (IFC)
3. Proposed Conversion Approach
3.1. Step 1: IFC Decomposition
- (1)
- General IfcProduct Query: This is used for the simplest IfcTypes to generate the following IfcTypes from the model: IfcWindow, IfcDoor, IfcColumn, IfcBuildingElementProxy, IfcBeam, IfcCovering, IfcRailing, IfcFlowTerminal, IfcFurnishingElement.
- (2)
- Queries for IfcTypes with openings: This is used to generate separate IFC and JSON (Streaming) files for components with openings such as IfcSlab and IfcWall.
- (3)
- Queries for objects with aggregate components: Some objects contain other components such as aggregates. For example, curtainwalls contain plates and members; stairs contain railings, stair flights and slabs; and ramps contain slabs and ramps. To convert and visualise these components properly, their respective aggregate relationships should be retained during the process, and this query is used to extract the required formats.
3.2. Step 2: IFC to OBJ
3.3. Step 3: OBJ to glTF
3.4. Step 4: glTF to b3dm
4. Performance
5. Discussion and Conclusions
Author Contributions
Funding
Conflicts of Interest
Appendix A. Open-Source Tools and Libraries Used in This Work
Appendix B. BIMServer API Queries
References
- Cesium. Available online: https://cesiumjs.org/about/ (accessed on 4 February 2018).[Green Version]
- glTF. Available online: https://www.khronos.org/gltf/ (accessed on 1 March 2018).
- Murshed, S.M.; Al-Hyari, A.M.; Wendel, J.; Ansart, L. Design and Implementation of a 4D Web Application for Analytical Visualization of Smart City Applications. ISPRS Int. J. Geo-Inf. 2018, 7, 276. [Google Scholar] [CrossRef]
- 3D Tiles Specification. Available online: https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification#tileset-json (accessed on 4 February 2018).
- 3D Tiles. Available online: https://cesium.com/blog/2015/08/10/introducing-3d-tiles/ (accessed on 4 February 2018).
- Amirebrahimi, S.; Rajabifard, A.; Mendis, P.; Ngo, T. A BIM-GIS integration method in support of the assessment and 3D visualisation of flood damage to a building. J. Spat. Sci. 2016, 61, 317–350. [Google Scholar] [CrossRef]
- Isikdag, U.; Zlatanova, S. Towards defining a framework for automatic generation of buildings in CityGML using Building Information Models. In 3D Geo-Information Sciences: Lecture Notes in Geoinformation and Cartography; Lee, J., Zlatanova, S., Eds.; Springer: Berlin/Heidelberg, Germany, 2009; pp. 79–96. [Google Scholar]
- El-Mekawy, M.; Ostman, A. Semantic mapping: An ontology engineering method for integrating building models in IFC and CityGML. In Proceedings of the 3rd ISDE Digital Earth Summit, Nessebar, Bulgaria, 12–14 June 2010. [Google Scholar]
- Karimi, H.A.; Akinci, B. CAD and GIS Integration, 1st ed.; Karimi, H.A., Akinci, B., Eds.; CRC Press: Boca Raton, FL, USA, 2010. [Google Scholar]
- El Meouche, R.; Rezoug, M.; Hijazi, I. Integrating and managing BIM in GIS, software review. In Proceedings of the ISPRS 8th 3DGeoInfo Conference & WG II/2 Workshop, Istanbul, Turkey, 27–29 November 2013. [Google Scholar]
- Arroyo Ohori, K.; Biljecki, F.; Diakite, A.; Krijnen, T.; Ledoux, H.; Stoter, J. Towards an integration of gis and bim data: What are the geometric and topological issues? In Proceedings of the 12th 3D Geoinfo Conference on ISPRS Annals of the Photogrammetry Remote Sensing and Spatial Information Sciences, Melbourne, Australia, 26–27 October 2017; Volume IV-4/W5. [Google Scholar]
- Eastman, C.; Teicholz, P.; Sacks, R.; Liston, K. BIM Handbook: A Guide to Building Information Modeling for Owners, Managers, Designers, Engineers and Contractors, 2nd ed.; Wiley: Hoboken, NJ, USA, 2011; ISBN 978-0-470-54137-1. [Google Scholar]
- Hijazi, I.; Ehlers, M.; Zlatanova, S. BIM for geo-analysis (BIM4GEOA): Set up of 3D information system with open source software and open specifications (OS). In Proceedings of the 5th International 3D Geoinfo Conference, Berlin, Germany, 3–4 November 2010; pp. 45–49. [Google Scholar]
- Stouffs, R.; Tauscher, H.; Biljecki, F. Achieving Complete and Near-Lossless Conversion from IFC to CityGML. ISPRS Int. J. Geo-Inf. 2018, 7, 355. [Google Scholar] [CrossRef]
- Cesium v1.35. Available online: https://cesium.com/blog/2017/07/05/cesium-version-1.35-released/ (accessed on 4 February 2018).
- Mago3D. Available online: http://www.mago3d.com/homepage/spec.do (accessed on 28 July 2018).
- KHR Materials Common. Available online: https://github.com/KhronosGroup/glTF/tree/master/extensions/1.0/Khronos/KHR_materials_common (accessed on 28 July 2018).
- PBR Metallic Roughness. Available online: https://github.com/KhronosGroup/glTF-WebGL-PBR (accessed on 28 July 2018).
Simple IFC | Complex IFC | |||
---|---|---|---|---|
Time | Space | Time | Space | |
Decomposition (IFC and JSON) | 3.3 s | 11.26 MB | 13.4 min | 8.67 GB |
Decomposition (IFC only) | 0.86 s | 2.6 MB | 1.25 min | 347 MB |
IFC to OBJ | 18 s | 1.62 MB | 3.5 min | 741 MB |
OBJ to glTF | 36 s | 914 KB | 22.2 min | 268 MB |
glTF to b3dm | 0.36 s | 1.70 MB | 9.5 min | 568 MB |
File Number | IFC Size | JSON Size | |
---|---|---|---|
Original IFC Model | 1 | 214 MB | 179 MB |
Decomposed IFC Model | 5281 | 347 MB | 8.32 GB |
- IfcWalls | 853 | 10.3 MB | 1.15 GB |
- IfcWindows | 181 | 2.35 MB | 247 MB |
- IfcDoors | 398 | 119 MB | 945 MB |
- IfcColumns | 1698 | 19.0 MB | 2.16 GB |
- IfcSlabs | 145 | 1.33 MB | 188 MB |
- IfcStairs | 58 | 12.0 MB | 118 MB |
- IfcBuildingElementProxies | 372 | 92.7 MB | 783 MB |
- IfcBeams | 896 | 12.2 MB | 1.25 GB |
- IfcCoverings | 71 | 645 KB | 91.6 MB |
- IfcCurtainWalls | 331 | 50.5 MB | 0.99 GB |
- IfcRailings | 184 | 9.49 MB | 264 MB |
- IfcRamps | 25 | 433 KB | 33.6 MB |
- IfcFlowTerminals | 69 | 17.4 MB | 153 MB |
OBJ File Number | Lost Objects | OBJ Size | MTL Size | |
---|---|---|---|---|
Decomposed IFC Model | 5222 | 59 | 740 MB | 1.00 MB |
- IfcWalls | 841 | 12 | 9.22 MB | 133 KB |
- IfcWindows | 181 | 0 | 2.77 MB | 46.9 KB |
- IfcDoors | 388 | 10 | 311 MB | 156 KB |
- IfcColumns | 1696 | 2 | 9.82 MB | 285 KB |
- IfcSlabs | 125 | 20 | 1.10 MB | 21.0 KB |
- IfcStairs | 58 | 0 | 28.5 MB | 15.5 KB |
- IfcBuildingElementProxies | 357 | 15 | 222 MB | 59.5 KB |
- IfcBeams | 896 | 0 | 3.83 MB | 152 KB |
- IfcCoverings | 71 | 0 | 467 KB | 13.6 KB |
- IfcCurtainWalls | 331 | 0 | 87.9 MB | 89.8 KB |
- IfcRailings | 184 | 0 | 20.3 MB | 34.9 KB |
- IfcRamps | 25 | 0 | 690 KB | 3.21 KB |
- IfcFlowTerminals | 69 | 0 | 42.4 MB | 15.3 KB |
File Number | glTF Size | b3dm Size | b3dm Time | |
---|---|---|---|---|
Decomposed IFC Model | 5223 | 268 MB | 568 MB | 9.5 min |
- IfcWalls | 841 | 5.51 MB | 4.30 MB | 1062 ms |
- IfcWindows | 181 | 1.66 MB | 2.10 MB | 602 ms |
- IfcDoors | 388 | 90.3 MB | 350 MB | 124,049 ms |
- IfcColumns | 1696 | 8.95 MB | 6.91 MB | 5636 ms |
- IfcSlabs | 125 | 792 KB | 581 KB | 122 ms |
- IfcStairs | 58 | 9.04 MB | 10.1 MB | 1585 ms |
- IfcBuildingElementProxies | 357 | 68.1 MB | 111 MB | 34067 ms |
- IfcBeams | 896 | 4.13 MB | 2.59 MB | 1050 ms |
- IfcCoverings | 71 | 401 KB | 274 KB | 89 ms |
- IfcCurtainWalls | 331 | 59.7 MB | 46.3 MB | 395,362 ms |
- IfcRailings | 184 | 7.13 MB | 9.5 MB | 2610 ms |
- IfcRamps | 25 | 291 KB | 1.1 MB | 445 ms |
- IfcFlowTerminals | 69 | 12.2 MB | 21.2 MB | 3057 ms |
© 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chen, Y.; Shooraj, E.; Rajabifard, A.; Sabri, S. From IFC to 3D Tiles: An Integrated Open-Source Solution for Visualising BIMs on Cesium. ISPRS Int. J. Geo-Inf. 2018, 7, 393. https://doi.org/10.3390/ijgi7100393
Chen Y, Shooraj E, Rajabifard A, Sabri S. From IFC to 3D Tiles: An Integrated Open-Source Solution for Visualising BIMs on Cesium. ISPRS International Journal of Geo-Information. 2018; 7(10):393. https://doi.org/10.3390/ijgi7100393
Chicago/Turabian StyleChen, Yiqun, Erfan Shooraj, Abbas Rajabifard, and Soheil Sabri. 2018. "From IFC to 3D Tiles: An Integrated Open-Source Solution for Visualising BIMs on Cesium" ISPRS International Journal of Geo-Information 7, no. 10: 393. https://doi.org/10.3390/ijgi7100393
APA StyleChen, Y., Shooraj, E., Rajabifard, A., & Sabri, S. (2018). From IFC to 3D Tiles: An Integrated Open-Source Solution for Visualising BIMs on Cesium. ISPRS International Journal of Geo-Information, 7(10), 393. https://doi.org/10.3390/ijgi7100393