The Use of Interactive Virtual BIM to Boost Virtual Tourism in Heritage Sites, Historic Jeddah

: Today, moving from a two-dimensional environment to a more advanced interactive three-dimensional (3D) environment in the industries of architecture, engineering, and construction has become one of the most signiﬁcant topics of interest. This is due to several primary advantages that the 3D environment can offer. Building information modeling (BIM) can be used as a highly advanced system to present a desired reality in a 3D interactive environment accompanied with 3D reality captured data, such as the point cloud data. As such, these 3D environments can be employed for more advanced uses, such as virtual reality and augmented reality technologies (VR and AR). Recently, BIM has been employed in the context of heritage (known as HBIM, or Heritage Building Information Modeling) for different purposes, such as to provide as-built information with the ability to interact with the end user and uploading information (e.g., historical photographs, documents about materials, or any past restoration projects) into the BIM model. This research will focus on providing an interactive rich virtual 3D model for heritage management. This virtual environment can be employed in cultural tourism and used for the abovementioned purposes. The research project has been adopted in the case of the Zainal Historical House (Bayt Zainal) located in the Historic District of Jeddah, Saudi Arabia. This house is described as one of the signiﬁcant historical buildings in the historic district. The key aim for selecting this case study is to bridge the gap in architectural knowledge regarding these heritage buildings and their hybrid structural systems (i.e., integration of steel or concrete with the traditional “Mangbi” stone technique).


Introduction
Technological improvements have made life easier and changed how people interact with each other and their environment. Due to technological advancements such as virtual environments, people can enjoy the experience of a place without having to physically visit it.
Virtual and augmented reality technology (VR & VA) has the ability to change people's perceptions of the world. Virtual reality technology has many applications, including its use in the preservation of historical buildings for generations to come. The use of interactive 3D graphics in VR has also enabled this technology to be applied in designing, digital painting, and photo editing software, which can exhibit an architect, designer, or engineer's perceptions. It has the capacity to preserve traditional designs such as artwork from damage which may occur as a result of frequent traffic from visitors. In present day, the Kingdom of Saudi Arabia has been applying huge efforts in the tourism sector, one of the supposed cornerstones of "Vision 2030", a national program targeting the transition from an oil-dependent to a comprehensive and multi-source economy. The country is therefore developing many of its important historical sites, with some being Al Ula, Madain Saleh, Ad-Dariyah (Figure 1), Historic Jeddah, and others. Several of these sites are listed on the UNESCO world heritage list, making them priorities for preservation and restoration and, hence, tourism. listed on the UNESCO world heritage list, making them priorities for preservation and restoration and, hence, tourism.

Historic Jeddah: UNESCO World Heritage Site
Historic Jeddah is considered to be one of the most important heritage sites in the kingdom. The city is well-known as "the gate to Makkah", which is considered the most valuable city in the Islamic world. Jeddah is situated on the western side of Saudi Arabia. Its historic district has a long history, and there are several heritage sites and buildings. According to the Saudi SCTA [1], the number of buildings of this heritage is approximately 1442 heritage sites. These buildings are said to have been constructed between 300 and 1200 years ago, with some being Nassif House, Baeshen House, Sharbatly House, Zainal House (Figure 2), and many more. Since 2014, Historic Jeddah has been listed as one of the UNESCO world heritage sites.

Challenges of Heritage Sites
The most significant issues faced by heritage sites and monuments in the world are natural damage and degradation over time [2]. A majority of heritage sites face issues with tourism (physical visits), mainly sites that are listed as UNESCO world heritage sites, which are possibly under greater threat due to their world cultural heritage status. These

Historic Jeddah: UNESCO World Heritage Site
Historic Jeddah is considered to be one of the most important heritage sites in the kingdom. The city is well-known as "the gate to Makkah", which is considered the most valuable city in the Islamic world. Jeddah is situated on the western side of Saudi Arabia. Its historic district has a long history, and there are several heritage sites and buildings. According to the Saudi SCTA [1], the number of buildings of this heritage is approximately 1442 heritage sites. These buildings are said to have been constructed between 300 and 1200 years ago, with some being Nassif House, Baeshen House, Sharbatly House, Zainal House (Figure 2), and many more. Since 2014, Historic Jeddah has been listed as one of the UNESCO world heritage sites.

Historic Jeddah: UNESCO World Heritage Site
Historic Jeddah is considered to be one of the most important heritage sites in the kingdom. The city is well-known as "the gate to Makkah", which is considered the most valuable city in the Islamic world. Jeddah is situated on the western side of Saudi Arabia. Its historic district has a long history, and there are several heritage sites and buildings. According to the Saudi SCTA [1], the number of buildings of this heritage is approximately 1442 heritage sites. These buildings are said to have been constructed between 300 and 1200 years ago, with some being Nassif House, Baeshen House, Sharbatly House, Zainal House (Figure 2), and many more. Since 2014, Historic Jeddah has been listed as one of the UNESCO world heritage sites.

Challenges of Heritage Sites
The most significant issues faced by heritage sites and monuments in the world are natural damage and degradation over time [2]. A majority of heritage sites face issues with tourism (physical visits), mainly sites that are listed as UNESCO world heritage sites, which are possibly under greater threat due to their world cultural heritage status. These

Challenges of Heritage Sites
The most significant issues faced by heritage sites and monuments in the world are natural damage and degradation over time [2]. A majority of heritage sites face issues with tourism (physical visits), mainly sites that are listed as UNESCO world heritage sites, which are possibly under greater threat due to their world cultural heritage status. These sites attract a large number of tourists, much to their detriment. It can be clearly noted in one example how the impact of tourism has affected Alhambra's floors in Granada. As such, heritage restoration, as well as preservation efforts, are necessary to account for human and environmental issues occurring at these monuments and sites.

Research Aim
A high level of entertainment can be offered via AR and the VR reality environment, which are rich in multimedia content. The integration of digital information and the geometry within the Heritage Building Information Modeling (HBIM), AR, and VR can provide a novel way to realize, preserve, and reuse cultural heritage sites [3].
This research aims to provide historical sites with an interactive and rich virtual 3D model for heritage management. The interactive 3D model would be based on 3D point cloud data. This data can be provided via photogrammetry or terrestrial LiDAR techniques. The Heritage BIM model would then be used as a base model for virtual environment applications to be employed for cultural tourism purposes and to be remotely reviewed, with the ability to interact with the end user and upload information (e.g., historical photographs, documents about materials, or any past restoration projects) into the BIM model.

The Implementation of BIM in Heritage
The main concept behind using BIM is to provide higher efficiency in each sector of the building industry from the conceptual design until demolition by focusing on energy, economic, and structural analysis, as well as the scheduling of the works in addition to these new designs [4]. Currently, BIM is employed in different contexts and for different purposes in the architecture, engineering, and construction (AEC) industries. Therefore, each engineering sector has their own explanation of BIM. BIM was defined by the US National BIM Standard Project Committee (NBIMS-US) as "a digital representation of physical and functional characteristics of a facility", which can thus be presented as "a shared knowledge resource for information about a facility forming a reliable basis for decisions during its life-cycle", and this can be outlined as "existing from earliest conception to demolition . . . " [5]. Moreover, Murphy [6] outlined BIM as "the assembling of parametric objects which represent building components within a virtual environment", and this can be used to model and represent the entire building. The "parametric objects" are described according to parameters, some of which are user-defined and others relate to the position in a 3D environment relative to other "shape objects". Through the BIM databases, architectural objects such as doors, walls, and windows are related to one another and have their own properties (for instance, materials and dimensions). Furthermore, in the BIM database, all the architectural objects are related to the whole project, as additionally, the relationship between the project's objects allows the database to modify and update the chosen objects simultaneously for all of the project's stakeholders.
Employing BIM in the heritage project fields has been presented as a novel technique over the past decade. This can be considered the primary stage toward the use of the BIM workflow for reconstruction as well as retrofitting tasks [7]. This new technique is termed Heritage BIM, where the flow diagram of the different processes and professional figures involved in the project can be summarized as shown in Figure 3. Moreover, according to A. Baik [8], Heritage BIM has been defined as "a digital representation of the current situation of the physical and functional characteristics of heritage buildings with respect to any modifications, restoration and maintenance during the heritage building lifecycle." The Heritage BIM technique has been employed in several projects in European countries, such as in [6,[9][10][11][12][13][14]. The core subject of these pieces of research and projects was to deliver intelligent information [10], as well as to offer "as-built" digital 3D models [15] to be used for different purposes. For example, they could be used in management documentation and for conservation. Almost all of these studies used point cloud data, which was generated from close-range photogrammetry (CRP) and terrestrial laser scanning (TLS) [16][17][18]. This point cloud was then used as the basic phase for data capturing. This phase is generally known as "Scan to BIM" [19] or, in the case of heritage projects, "Scan to HBIM" [20][21][22]. Furthermore, based on the scanned surface, each of these points has "x, y, and z coordinates". According to Murphy [6], the "laser ranger is directed towards an object by reflective surfaces that are encoded", and hence, "their angular orientation can be determined for each range measurement." According to Thomson and Boehm [23], point cloud data can be designated to be LoD 0 (the absolute minimal level of detail), from which more data-rich abstractions can be shaped in order to be modeled to higher levels of detail (i.e., LoD 400 or 500). and for conservation. Almost all of these studies used point cloud data, which was gene ated from close-range photogrammetry (CRP) and terrestrial laser scanning (TLS) [16-1 This point cloud was then used as the basic phase for data capturing. This phase is gene ally known as "Scan to BIM" [19] or, in the case of heritage projects, "Scan to HBIM" [2 22]. Furthermore, based on the scanned surface, each of these points has "x, y, and z coo dinates". According to Murphy [6], the "laser ranger is directed towards an object by r flective surfaces that are encoded", and hence, "their angular orientation can be dete mined for each range measurement." According to Thomson and Boehm [23], point clou data can be designated to be LoD 0 (the absolute minimal level of detail), from which mo data-rich abstractions can be shaped in order to be modeled to higher levels of detail (i. LoD 400 or 500).

The Difference between Virtual, Augmented, and Mixed Realities
There are many differences between virtual reality (VR) and augmented reality (AR In VR, a complete imaginary 3D environment can be created, while AR superimposes t 3D digital information over the existing 3D environment [17]. Currently, it can be not that the visualization techniques of using VR and AR have fewer applications in the a chitecture, engineering, and construction (AEC) sector compared with the gaming, ma ufacturing, medical operation, and military sectors, but they are gaining momentum the infrastructure of buildings as well as in all phases of the building life cycle [17,18].
Moreover, extended reality (XR) can be described as a holistic expression that cove the full spectrum of reality. These 3D environments, specifically virtual reality (VR), au mented reality (AR), and mixed reality (MR), are applied to effectively integrate the li separating reality and fantasy, forcing the limits of the user's imagination as well as lowing entraining of any experience imaginable. Each of the three realities accomplish this differently. Figure 4 shows how the human brain processes images to be seen in t virtual environment. With a keen understanding of how VR emerges via having a hea mounted display (HMD) over one's head (including headphones), two main sensory i puts (sight and sound) are being taken over. Because of this, VR environments typica block out the real world. In fact, VR can be described as a platform that allows an ease understanding of different sites without visiting the actual place using computer-gene ated programs (CGPs). According to Ramsey [24], "Virtual reality was used for the fi time in 1994 by heritage museum during a demonstration that provided a walk-throu of Dudley Castle in England as it was in 1550". Thus, this technology permits people travel to different places, relax, and learn about heritage places and other cultures. Henc

The Difference between Virtual, Augmented, and Mixed Realities
There are many differences between virtual reality (VR) and augmented reality (AR). In VR, a complete imaginary 3D environment can be created, while AR superimposes the 3D digital information over the existing 3D environment [17]. Currently, it can be noted that the visualization techniques of using VR and AR have fewer applications in the architecture, engineering, and construction (AEC) sector compared with the gaming, manufacturing, medical operation, and military sectors, but they are gaining momentum in the infrastructure of buildings as well as in all phases of the building life cycle [17,18].
Moreover, extended reality (XR) can be described as a holistic expression that covers the full spectrum of reality. These 3D environments, specifically virtual reality (VR), augmented reality (AR), and mixed reality (MR), are applied to effectively integrate the line separating reality and fantasy, forcing the limits of the user's imagination as well as allowing entraining of any experience imaginable. Each of the three realities accomplishes this differently. Figure 4 shows how the human brain processes images to be seen in the virtual environment. With a keen understanding of how VR emerges via having a head-mounted display (HMD) over one's head (including headphones), two main sensory inputs (sight and sound) are being taken over. Because of this, VR environments typically block out the real world. In fact, VR can be described as a platform that allows an ease of understanding of different sites without visiting the actual place using computer-generated programs (CGPs). According to Ramsey [24], "Virtual reality was used for the first time in 1994 by heritage museum during a demonstration that provided a walk-through of Dudley Castle in England as it was in 1550". Thus, this technology permits people to travel to different places, relax, and learn about heritage places and other cultures. Hence, virtual reality technology has dramatically revolutionized the tourism industry and brought past and lost experiences back to life [19]. virtual reality technology has dramatically revolutionized the tourism industry and brought past and lost experiences back to life [19]. On the other hand, AR can be described as a method to represent the real world explicitly (or by a camera that produces a picture of the actual surrounding world) and then "augmenting" that reality through a visual input created within a computer. In fact, AR uses the concept of overlapping and integrating via a transparent screen, which displays pictures and data in an existing environment [20]. Moreover, both VR and AR, despite having similar device structures, achieve two very different things in two entirely different methods. The VR replaces reality and sends the user to another place. Aside from that, AR is combined with reality, adding data on top of what the user is already seeing. Additionally, the virtual edition is generated into the real world via creating images, audio, or video. AR differs from VR in that it adds up objects or new scenes to the digital real-world projection instead of building every 3D digital element of the visual experience from the beginning. [21]. Furthermore, information, instructional data, emotional artifacts, and characters are projected over AR's real-world view, adding a layer into the actual real world. In fact, AR is often used with the smaller devices of VR (e.g., a smartphone or tablet). One hugely successful app (Pokémon GO), an example of AR application, includes virtual characters extended into the real world and seen over the smartphone camera. Another example, which is more realistic for the architecture profession, would be an engineer demonstrating a construction worker remotely constructing a particular wall specification [19]. Examples of this technology include Apple's ARkit and Google's ARcore. these applications can present the physical world in a 3D digital environment, with building a digital layer on top of this reality, and can even cast digital shadows on physical objects , such as buildings, and mountains. Additionally, AR gives no communication with the augmented digital environment, while mixed reality provides this kind of interaction ( Figure 5: Reality-verticality continuum). On the other hand, AR can be described as a method to represent the real world explicitly (or by a camera that produces a picture of the actual surrounding world) and then "augmenting" that reality through a visual input created within a computer. In fact, AR uses the concept of overlapping and integrating via a transparent screen, which displays pictures and data in an existing environment [20]. Moreover, both VR and AR, despite having similar device structures, achieve two very different things in two entirely different methods. The VR replaces reality and sends the user to another place. Aside from that, AR is combined with reality, adding data on top of what the user is already seeing. Additionally, the virtual edition is generated into the real world via creating images, audio, or video. AR differs from VR in that it adds up objects or new scenes to the digital real-world projection instead of building every 3D digital element of the visual experience from the beginning. [21]. Furthermore, information, instructional data, emotional artifacts, and characters are projected over AR's real-world view, adding a layer into the actual real world. In fact, AR is often used with the smaller devices of VR (e.g., a smartphone or tablet). One hugely successful app (Pokémon GO), an example of AR application, includes virtual characters extended into the real world and seen over the smartphone camera. Another example, which is more realistic for the architecture profession, would be an engineer demonstrating a construction worker remotely constructing a particular wall specification [19]. Examples of this technology include Apple's ARkit and Google's ARcore. these applications can present the physical world in a 3D digital environment, with building a digital layer on top of this reality, and can even cast digital shadows on physical objects, such as buildings, and mountains. Additionally, AR gives no communication with the augmented digital environment, while mixed reality provides this kind of interaction ( Figure 5: Reality-verticality continuum). Mixed reality (MR) involves the real world and inserts computer-generated content in order to communicate a real-world experience. Furthermore, this holds the ability to capture as well as link fully generated virtual worlds over real-world objects. This can Mixed reality (MR) involves the real world and inserts computer-generated content in order to communicate a real-world experience. Furthermore, this holds the ability to capture as well as link fully generated virtual worlds over real-world objects. This can make it the only technology capable of integrating analog and digital realities. Aside from that, all three of these platforms (VR, AR, and MR) are also applied to deeply interactive or digital environments that bring value into the virtual space discussion. Regarding the architectural sense, the critical advantage of being in a true-scale virtual version of a building project is that it supports the expected user to understand, communicate, and critique a design in the most natural way when it is still being developed and constructed in the real world. Additionally, for these different realities in a completely virtual environment, VR appears to be the most suitable technique in order to access the sense of immersion or the sensation of "being". Furthermore, in the architectural field, many projects rely on understanding as well as producing new environments, therefore requiring complete virtual immersion when presented to clients, peers, or students. However, VR can be seen as bringing design imagination to most of the architectural process. In fact, AR could provide more specific abilities in order to overcome the visualizations of transformations and projects with real-world features. Moreover, AR can be a perfect fit for projects that need visualizations of enhancements and changes to existing scenarios. As AR cannot reach the level of virtual immersion that VR can. It is more suitable for projects that need a layer of virtual immersion attached to spaces existing in real life. When VR shuts a user off from the physical world through controlling their vision, it can be used in order to envision nearly any space regardless of whether or not there is architectural space in the present. Therefore, this makes it more diversely suitable to the entire work in the architectural field.

BIM-Based and Applications of VR and AR
It can be agreed that the technologies of VR and AR are not typically stand-alone tools; they are used in conjunction with other technologies like geographic information systems (GISs), the Internet of things (IoT), and cloud computing [22]. For example, the integration of these technologies can be shown in the visualization of prefabrication or construction phases through VR using real-time data captured through the IoT and cloud computing [18].
Constructability investigation utilizing BIM has not been successful due to the lack of communication between stakeholders participating from different geographical places [18]. In the virtual design and construction field, utilizing VR empowers users to digitally explore via a digital 3D BIM model, which assists with bringing together all the stakeholders from remote locations. Through walking in the 3D BIM with a schedule model-described as 4D-BIM in a VR environment-constructability analysis contributes to the productive and efficient planning of the building [23]. Moreover, VR is an effective tool for safety training. With the increasing number of workers coming overseas, it is very important for construction sites to introduce visual-based safety training as an upgrade to the traditional training via demonstrations and media presentations. Recently, VR simulations have been utilized in order to train labor and make them mindful of the project environment. Statistics show that labor trained via VR performs better in identifying risks, with 20% more than those trained traditionally during the training time. [25]. Moreover, the VR welding training framework assists trainees to learn 23% quicker than expected and develop better, stronger memories as well as motoric patterns [26]. Furthermore, VR simulation systems for equipment operators are additionally incredible devices for improving both the skill and efficiency of these operators [24].
On the other hand, augmented reality (AR) applications are simplifying some of the construction activities and reducing the cost and time spent on that activity. By combining BIM with AR, different activities can be performed, such as layout marking, excavation, and positioning and placing precast elements. Furthermore, using AR headsets can aid on-site users to visualize the BIM model over the real-world environment, which takes out the need for on-site access to paper or digital drawings and specifications [18]. It was concluded that construction laborers utilizing BIM with AR had the option to complete the same task twice as quick as other crew members utilizing the traditional blueprint drawings [27]. Additionally, inspections can also be made simpler, quicker, secure, and less expensive utilizing AR alongside intuitive equipment and associated insight, which can accurately track inspectors' locations as they move around the places of work [28]. Moreover, the ARbased inspection of tunnel construction decreased the overall inspection time by 25% [29]. With enough mobile device capabilities, photos or virtual notes can likewise be added by the inspectors, which stick to a location and can be shared over multiple devices. Utilizing photogrammetry techniques with imagery data and geo-referencing can create as-built models [18] in the same digital environment with the planned BIM models, making progress monitoring a lot simpler [30].

Material
As mentioned in Section 1.2, corrosion and disappearance are major issues faced at historical sites. This became significant in preserving architectural heritage. These artifacts have passed through many repair stages and processes in order to repair damages as well as to reconstruct and renovate. It is essential to save a record of these sites to preserve the history of these locations using 3D model technology, as they are present to monitor modifications, predict structural issues, and enable broader tourism to nearly see and visit these sites. The application of virtual environment technologies can reduce a number of these issues. For example, they are reducing the number of visitors who visit historical sites. This can help in preserving historical buildings and reduce possible damage. Aside from that, people do not have to travel long distances to visit famous places. Moreover, these applications allow everyone to explore and experience many sites as if they visited them, thus also saving time and money [31]. Virtual reality technology has helped with the visualization of complicated designs in architecture, since learners can visit simulation rooms to acquaint themselves with the plans, acting as a physical visit in terms of actual architectural designs [32]. Furthermore, it also helps architects and designers with the opportunity to visualize their designs while helping them understand spaces and to avoid possible mistakes before building begins. Lastly, this technology has enabled learners to experience a simulated reality of several complicated designs in one place without traveling [33]. It can be agreed that using virtual and augmented reality is an achievable solution to save heritage sites and, as a further, more advanced step, rebuild demolished historic buildings to the way they were.

The 3D Modeling and E-Documentation
The term E-documentation describes a digital archiving method with an educational functionality based on measured data, online and offline distance learning, and 3D modeling. This expanded digital documentation is a complete sequence of traditional and core digital architectural documents. It can be used for a computer-based architecture, engineering practice, CD-ROM, DVD, online and offline multimedia, and promotional facilities. The aim of e-documentation is to identify precise data structures and metadata on intangible features such as anthropology, economy, history, religion, sociology, psychology science. Then, representing these data in digital form to be Analyzable. For such a system, vast volumes of different data types are compiled and cross-referenced. A historical 3D building or memorial provides a very stable foundation for the creation and distribution of digital data, as is the case with e-documentation (meta-documentation functionality) [34].
According to the Burra Charter [35], the process of preserving cultural heritage consists of three stages: "knowing the meaning, improving policies and operating according to policy" [36]. Moreover, to preserve and document a historic site or building, it is essential to understand the building and collect the information from its physical condition before intervention or action that may cause a change to these heritage sites. Furthermore, several factors are endangering architectural heritage, such as environmental disasters, urban development, demolition, and aging, which from a realistic point of view are not guar-anteed for eternity. Therefore, it should ensure accurate documentation of these heritage sites, which could be passed on to future generations as a result of their loss or used for reconstruction purposes if necessary [37]. Many researchers and experts have researched, experimented on, and evaluated the potential of digital technologies in the process of preserving cultural heritage. In fact, cultural heritage specialists, surveyors, and IT and computer experts, especially in developing countries, still have a knowledge gap. Additionally, the rapid development of electronic means has made this method more sophisticated, as cultural heritage specialists must update their expertise to understand the latest useful achievements in preparing conservation plans and necessary policy development [36].
Cultural heritage research has inspired surveyors and experts to suggest new approaches and classifications. Categorization is based on the metric details of the target object and the collection of points and coordinates with or without images. There are three types of documentation techniques: image-based, non-image-based, and hybrid approaches [38].

Virtual and Augmented Reality (VR&VA) for Documenting Cultural Heritage
Virtual reality technology (VR) is defined by M. Samadbeik et al. [39] as a simulation of a physical environment in which the perceiver practices their presence digitally. Digital documentation utilization has possibilities for improving the virtual environment where the client experiences a virtual simulated tour within the historic site digitally without being there physically. Moreover, VR also helps visitors select prospective places to visit before they plan their travel. On the other hand, "augmented reality" (AR) technology is a mixture of actual and computer-created data in an interactive real-time perspective that joins virtual objects with realistic or ecological targets [40]. Therefore, AR is used to show the computer-generated details of the historic site, digitally reconstructing a particular moment in history and providing the user with a pleasant adventure.
The purpose of a wide range of technologies for metric cultural heritage documentation approves the multiplicity of suitable selections for an object's documentation. However, the desired accuracy is not guaranteed via a single method, and there are always difficulties as well as issues that limit a technique's potential. In selecting a survey method, the cost, time, complication, and size of the object itself, as well as the approachability and proficiency of the survey team play significant roles. Furthermore, every single method has specific characteristics of its own. However, in most cases, the requirements of a project cannot be met via a single method, and a blend of different techniques is needed in order to achieve the preferred outcome. If the assigned budget allows, this hybrid approach can be the best method to document cultural heritage.
Consequently, in the progression of documenting appreciated objects and sites, it is necessary to study and plan the project requirements and other significant factors in order to guarantee the project's effectiveness. To achieve this result, an expert in the field of cultural heritage can achieve understanding of the project's requirements and be a dependable and trustworthy consultant for surveyors and IT specialists. The outcome of this collaboration has unlimited significance, as it will reduce the risk of time and budget waste and guarantee production usability.

Method
The ability of BIM to export into different formats can act as the basis for subsequently making it suitable for input into devices supporting the concept of the digital virtual environment. For example, VR and AR can be used in smart mobile devices. Additionally, a number of smart device applications that offer integration with BIM and other technologies have been provided in a number of research projects. For instance, Waugh et al. [41], in order to record construction development, used an environment wherein a web-based augmented panoramic application was presented. Moreover, Park et al. [42] presented an outline for the integration of BIM and AR in the case of clash detection in construction.
Aside from that, Dunston and Wang [43] provided the complete stages of the facility life cycle via the use of AR applications. Figure 6 shows the outline of the proposed method.

Zainal House Case Study
Bayt Zainal (Zainal House) is found in a strategic place near to the northern gat of Historic Jeddah (Bab Jaddead, the new gate) and close to Allegiance Square (Figure 7). Furthermore, Zainal House is considered one of Jeddah's historic district's first steel and concrete buildings. Zainal House was constructed in 1920 by the Zainal family. From 1949 to 1957, Zainal House was leased and occupied. Since 1957, Zainal House has been left empty. Lately, the Saudi Commission for Tourism and National Heritage (SCTH) has rented the house. Different proposals were presented to reuse the building. One of these proposals was to reuse Zainal House as the headquarters of the SCTH. From this point of view, as part of early-stage feasibility studies in order to develop Zainal House's outline, providing a 3D interactive digital model by implanting Heritage BIM was the first step, with more focus on creating the Hijazi architectural components.
The 3D model was to be based on the 3D point cloud data captured from the site and then supplemented, cross-checked, and provided for modeling. The Zainal House project was divided into four main phases. The first phase started with the traditional surveying and preparing the site for the second phase (i.e., the laser scanning phase). The second phase started with terrestrial laser scanning to scan the building's façades from the outside to the inside. The third phase was to model the building's 3D point cloud to a 3D BIM model and create a 3D object library for the building's elements. The fourth phase was the process of transferring the BIM model to the VR and AR applications. To deal with the 3D BIM model in the VR and AR environment, several mobile applications are available online that can handle this task. The basic concept is to present and show the BIM model on a construction site by providing a shared collaborative environment among the project stakeholders.
Due to considerable developments in technology, the Internet, and cloud services, integrating different levels of users remotely to operate the construction of different projects is possible. This can be conducted via a central 3D model, which can be remotely presented and accessed by the project's stakeholders, evaluating, checking, and managing the project documents via online applications. There is also the benefit of offering the ability to have real-time communication between the stakeholders via e-mail, chat, and video conference notifications [3]. One of the applications for portable devices which was used in this project was Autodesk A360. Moreover, this mobile application is a cloud-based platform that can upload the Revit files to storage. These can be used within a  Applications (i.e., VR & VA) help in preserving valuable information regarding historical buildings that have degraded over time [20]. An important aspect that is offered by the applications is the opportunity to recreate destroyed historical context and observe the past. In addition, the old architectural designs can inspire current architecture.
The city's historical architectural design gives the city its uniqueness and importance; it is a strong attraction for tourists. This suggests that the city's traditional architectural designs must be preserved. Similar designs will benefit the city to make it a more beautiful and more significant center for tourists. According to M. Samadbeik et al. [39], VR and AR have improved the efficiency and effectiveness of architectural design, regardless of how complex it is, since VR simplifies the complicated procedures into simpler ones. The applications can benefit both clients and designers, where designs can be displayed to the clients using VR, and then they can have a complete understanding of how the final output will look. The history of damaged or collapsed historical buildings can also be simulated using VR, whereby the building is viewed in different periods of time, and the viewer can relate this with the entire building before it collapsed. Currently, a number of applications are presented in the app market for "mobile BIM". For example, Autodesk A 360, Autodesk 360 glue, Autodesk 360 BIM field, Tekla BIMsight Mobile, BIManywhere, Navigator Pano Review, InfraWorks 360, Graphisoft BIMx, and many more exist. Most of these apps are available on Apple Store and Google Play. The purpose of this section is to express that heritage BIM systems can be integrated with different VR and AR devices, not just by the professionals in the engineering fields, but also by a more extensive community involved in digital reconstructions, cultural heritage preservation, and virtual tourism. Furthermore, as Barazzetti and Banfi [3] stated, these integrations "can be a new opportunity for modeling and understanding cultural heritage". Furthermore, using VR and AR applications to present the heritage buildings and monuments in Historic Jeddah can offer a remote and realistic experience without causing any damage or risk to these heritage sites, in addition to providing visitations to the heritage buildings and monuments that have a sensitive environment or a situation that means it is unsuitable for crowds.

Zainal House Case Study
Bayt Zainal (Zainal House) is found in a strategic place near to the northern gat of Historic Jeddah (Bab Jaddead, the new gate) and close to Allegiance Square (Figure 7). Furthermore, Zainal House is considered one of Jeddah's historic district's first steel and concrete buildings. Zainal House was constructed in 1920 by the Zainal family. From 1949 to 1957, Zainal House was leased and occupied. Since 1957, Zainal House has been left empty. Lately, the Saudi Commission for Tourism and National Heritage (SCTH) has rented the house. Different proposals were presented to reuse the building. One of these proposals was to reuse Zainal House as the headquarters of the SCTH. From this point of view, as part of early-stage feasibility studies in order to develop Zainal House's outline, providing a 3D interactive digital model by implanting Heritage BIM was the first step, with more focus on creating the Hijazi architectural components. collaborative workspace, and cloud services are available to support the project stakeholders regarding developing the design, visualization, simulation and project information sharing anytime and anywhere. Autodesk A360 presents several advantages, like visualizing 2D and 3D models in real-time via several predefined perspectives, such as in 3D views (zoom, pan, and rotate) or orthographic plans and sections, as well as tools for mark-up, annotation, and comments. In this phase, the eBIM project of Zainal House (the Autodesk Revit file) was exported as a .dwf file format to preserve the elements' properties. These properties included the type, level, and category, among others.

Reality Capture: 3D Environment
The Zainal House project's fieldwork started with locating the ground control points' (GCPs) coordinates. These GCPs provide highly accurate surveying. The reference point number (S177) allocated by the Jeddah municipality was used as the reference point for the Zainal House project.
The second phase initialized with terrestrial laser scanning (TLS) to scan Zainal House's façades from the outside to the inside. This phase took around 14 working days, with Leica C10 laser scanning undertaken by more than 100 scan stations. The outcome of this scanning was a 3D point cloud model of the whole building. The 3D point cloud data processing took around 7 working days to be completed. Furthermore, the laser scanning procedure started by detecting the most accurate position for the scan stations. Defining the coordinates of these positions through the Leica total station depended on the backsight technique (Figure 8). This resulted in the production of net points inside and outside the heritage site. This offered a coordinate map for every single location.  The 3D model was to be based on the 3D point cloud data captured from the site and then supplemented, cross-checked, and provided for modeling. The Zainal House project was divided into four main phases. The first phase started with the traditional surveying and preparing the site for the second phase (i.e., the laser scanning phase). The second phase started with terrestrial laser scanning to scan the building's façades from the outside to the inside. The third phase was to model the building's 3D point cloud to a 3D BIM model and create a 3D object library for the building's elements. The fourth phase was the process of transferring the BIM model to the VR and AR applications. To deal with the 3D BIM model in the VR and AR environment, several mobile applications are available online that can handle this task. The basic concept is to present and show the BIM model on a construction site by providing a shared collaborative environment among the project stakeholders.
Due to considerable developments in technology, the Internet, and cloud services, integrating different levels of users remotely to operate the construction of different projects is possible. This can be conducted via a central 3D model, which can be remotely presented and accessed by the project's stakeholders, evaluating, checking, and managing the project documents via online applications. There is also the benefit of offering the ability to have real-time communication between the stakeholders via e-mail, chat, and video conference notifications [3]. One of the applications for portable devices which was used in this project was Autodesk A360. Moreover, this mobile application is a cloud-based platform that can upload the Revit files to storage. These can be used within a collaborative workspace, and cloud services are available to support the project stakeholders regarding developing the design, visualization, simulation and project information sharing anytime and anywhere.
Autodesk A360 presents several advantages, like visualizing 2D and 3D models in real-time via several predefined perspectives, such as in 3D views (zoom, pan, and rotate) or orthographic plans and sections, as well as tools for mark-up, annotation, and comments.
In this phase, the eBIM project of Zainal House (the Autodesk Revit file) was exported as a .dwf file format to preserve the elements' properties. These properties included the type, level, and category, among others.

Reality Capture: 3D Environment
The Zainal House project's fieldwork started with locating the ground control points' (GCPs) coordinates. These GCPs provide highly accurate surveying. The reference point number (S177) allocated by the Jeddah municipality was used as the reference point for the Zainal House project.
The second phase initialized with terrestrial laser scanning (TLS) to scan Zainal House's façades from the outside to the inside. This phase took around 14 working days, with Leica C10 laser scanning undertaken by more than 100 scan stations. The outcome of this scanning was a 3D point cloud model of the whole building. The 3D point cloud data processing took around 7 working days to be completed. Furthermore, the laser scanning procedure started by detecting the most accurate position for the scan stations. Defining the coordinates of these positions through the Leica total station depended on the backsight technique ( Figure 8). This resulted in the production of net points inside and outside the heritage site. This offered a coordinate map for every single location.

Reality Capture: 3D Environment
The Zainal House project's fieldwork started with locating the ground control (GCPs) coordinates. These GCPs provide highly accurate surveying. The referenc number (S177) allocated by the Jeddah municipality was used as the reference po the Zainal House project.
The second phase initialized with terrestrial laser scanning (TLS) to scan House's façades from the outside to the inside. This phase took around 14 workin with Leica C10 laser scanning undertaken by more than 100 scan stations. The outc this scanning was a 3D point cloud model of the whole building. The 3D point clou processing took around 7 working days to be completed. Furthermore, the laser sc procedure started by detecting the most accurate position for the scan stations. D the coordinates of these positions through the Leica total station depended on th sight technique (Figure 8). This resulted in the production of net points inside and the heritage site. This offered a coordinate map for every single location.  The next step was to identify the most suitable spots to place the black and white (B/W) targets for the TLS method ( Figure 9). Moreover, to provide a 3D point cloud model with more accuracy and minimal errors, it was vital to provide at least three accurate B/W targets in common between these scan stations. The third step was to scan the Zainal House façades from the outside to the inside. In this step, the overlap between each scan was crucial to cover the whole area of Zainal House. Indeed, the overlapping between these scans was, on average, more than 70%. This could result in a high registration accuracy in case the cloud-to-cloud process was implemented. Each scan station's resolution within a 10-m distance for indoor scanning was 0.07 m, and it was approximately 70 m for the outdoor scanning. The scanning process took about 2 weeks. targets in common between these scan stations. The third step was to scan the Zainal House façades from the outside to the inside. In this step, the overlap between each scan was crucial to cover the whole area of Zainal House. Indeed, the overlapping between these scans was, on average, more than 70%. This could result in a high registration accuracy in case the cloud-to-cloud process was implemented. Each scan station's resolution within a 10-m distance for indoor scanning was 0.07 m, and it was approximately 70 m for the outdoor scanning. The scanning process took about 2 weeks.

Point Cloud Data Processing
The point cloud data processing step was started by inserting the LiDAR data into professional point cloud processing software. For example, Leica Cyclone software was used to create an accurate 3D register model of each scan station for Zainal House. Furthermore, it was crucial to remove all the noise data from the point cloud model during the processing step.

3D Heritage BIM Model
The third phase was to introduce the 3D point cloud data into the BIM platform to model the building, creating a 3D component library for the building's elements with the attributes (Figure 10). Several professional modeling applications can handle this point cloud data. For example, one of the most common applications in architecture, engineering, and construction (AEC) is with the Autodesk Revit software, which was used to produce the 3D BIM model of Zainal House due to its speed in terms of modeling time and transferring the point cloud model into "3D BIM" (Figure 11). Aside from that, this software was utilized because of the high level of quality and flexibility offered in producing architecture, engineering, and construction information and documents. Moreover, in this phase, the 3D point cloud was used as the basis for the BIM model, which provided indepth architectural, structural and quantitative values. Three-dimensional orthographic images were implanted and placed on their actual spots on the building façades and the plans, sections, and ground points. The architectural and structural elements such as the columns, doors, windows, and other building elements are illustrated to be part of the object's library. The library parameters measured from the terrestrial laser scanning data were employed in the library's architectural and structural objects before mapping the data to the survey. This is contained in the HBIM plug-in to finalize the building model.

Point Cloud Data Processing
The point cloud data processing step was started by inserting the LiDAR data into professional point cloud processing software. For example, Leica Cyclone software was used to create an accurate 3D register model of each scan station for Zainal House. Furthermore, it was crucial to remove all the noise data from the point cloud model during the processing step.

3D Heritage BIM Model
The third phase was to introduce the 3D point cloud data into the BIM platform to model the building, creating a 3D component library for the building's elements with the attributes (Figure 10). Several professional modeling applications can handle this point cloud data. For example, one of the most common applications in architecture, engineering, and construction (AEC) is with the Autodesk Revit software, which was used to produce the 3D BIM model of Zainal House due to its speed in terms of modeling time and transferring the point cloud model into "3D BIM" (Figure 11). Aside from that, this software was utilized because of the high level of quality and flexibility offered in producing architecture, engineering, and construction information and documents. Moreover, in this phase, the 3D point cloud was used as the basis for the BIM model, which provided indepth architectural, structural and quantitative values. Three-dimensional orthographic images were implanted and placed on their actual spots on the building façades and the plans, sections, and ground points. The architectural and structural elements such as the columns, doors, windows, and other building elements are illustrated to be part of the object's library. The library parameters measured from the terrestrial laser scanning data were employed in the library's architectural and structural objects before mapping the data to the survey. This is contained in the HBIM plug-in to finalize the building model. This step took 20 working days to model in BIM with LoD 3 (level of detail) over elements like the windows, doors, and plaster, among others.

From Heritage BIM toward Virtual Panoramic Tours
Providing a virtual panoramic tour (VPT) usually involves creating rendered 360° photospheres. Moreover, from the 3D BIM models, a complete virtual tour can be generated. Usually, the panoramic image can be produced through projecting the Earth on a sphere. As a result, the panoramic images are not purely created in a 3D environment; however, the visual effect can be recognized easily. Producing the final output is achieved through laying different image locations that have been captured. According to Barazzetti and Banfi [3], "Virtual navigation is quite fluid also on mobile devices with limited performances", and this is due to the fact that "the output is not a complete 3-D model but only the combination of static images". Furthermore, the linking of several panoramic images will generate a VPT. In this case, the user can visit the different spaces (indoor and outdoor) available at this location.

From Heritage BIM toward Virtual Panoramic Tours
Providing a virtual panoramic tour (VPT) usually involves creating rendered 360° photospheres. Moreover, from the 3D BIM models, a complete virtual tour can be generated. Usually, the panoramic image can be produced through projecting the Earth on a sphere. As a result, the panoramic images are not purely created in a 3D environment; however, the visual effect can be recognized easily. Producing the final output is achieved through laying different image locations that have been captured. According to Barazzetti and Banfi [3], "Virtual navigation is quite fluid also on mobile devices with limited performances", and this is due to the fact that "the output is not a complete 3-D model but only the combination of static images". Furthermore, the linking of several panoramic images will generate a VPT. In this case, the user can visit the different spaces (indoor and outdoor) available at this location. Figure 11. A 3D point cloud model of the building seen in (a) and (b), which is then linked and modeled in Autodesk Revit software as (c) and (d). Figure 11. A 3D point cloud model of the building seen in (a,b), which is then linked and modeled in Autodesk Revit software as (c,d).

From Heritage BIM toward Virtual Panoramic Tours
Providing a virtual panoramic tour (VPT) usually involves creating rendered 360 • photospheres. Moreover, from the 3D BIM models, a complete virtual tour can be generated. Usually, the panoramic image can be produced through projecting the Earth on a sphere. As a result, the panoramic images are not purely created in a 3D environment; however, the visual effect can be recognized easily. Producing the final output is achieved through laying different image locations that have been captured. According to Barazzetti and Banfi [3], "Virtual navigation is quite fluid also on mobile devices with limited performances", and this is due to the fact that "the output is not a complete 3-D model but only the combination of static images". Furthermore, the linking of several panoramic images will generate a VPT. In this case, the user can visit the different spaces (indoor and outdoor) available at this location.

Results and Discussion
From Heritage BIM toward Augmented Reality (AR) and Virtual Reality (VR) Technologies Today, presenting the real world in a digital environment is considered a trendy topic which includes VR, AR, and mixed reality. The integration between BIM models and VR, AR, and mixed reality is providing new and significant potential for huge numbers of applications in the architecture, engineering, and construction (AEC) industries [44][45][46][47]. The basic concept of using 3D models is to move from the back office to a more dynamic sphere, such as at the construction site, where continuous modifications are always under development. Thus, these purposes need to be developed to deal with technical issues, such as automated localization as well as tracking and alignment for complex sites that need to be significantly updated. Furthermore, the AR applications are based on the 3D model's visualization, and they are to be launched from the printed architecture diagrams, such as the elevations, plans, and sections ( Figure 12). Moreover, presenting the 3D architectural and structural models with mechanical, electrical, and plumbing (MEP) services can be achieved via the project presentation boards, which will be employed as markers to visualize the project from different perspectives. Through using a reference object, such as any of the project's floor plans, several 3D contents can be easily reviewed and inspected. Moreover, using AR can be projected as a novel technique in order to understand the whole project. Furthermore, the correlation between BIM with mobile devices and applications based on AR is strong and still developing.
Today, presenting the real world in a digital environment is considered which includes VR, AR, and mixed reality. The integration between BIM m AR, and mixed reality is providing new and significant potential for hu applications in the architecture, engineering, and construction (AEC) ind The basic concept of using 3D models is to move from the back office to a sphere, such as at the construction site, where continuous modifications ar development. Thus, these purposes need to be developed to deal with te such as automated localization as well as tracking and alignment for com need to be significantly updated. Furthermore, the AR applications are ba model's visualization, and they are to be launched from the printed architec such as the elevations, plans, and sections ( Figure 12). Moreover, presentin tectural and structural models with mechanical, electrical, and plumbing can be achieved via the project presentation boards, which will be employ to visualize the project from different perspectives. Through using a referen as any of the project's floor plans, several 3D contents can be easily rev spected. Moreover, using AR can be projected as a novel technique in order the whole project. Furthermore, the correlation between BIM with mobile d plications based on AR is strong and still developing. Using the mobile AR application to produce the engineering inform from the 3D BIM model can increase the collaboration and sharing of inform the project's stakeholders. Moreover, these AR applications have the abili mated geo-localization tools. These tools can be very effective on a constr example, these tools can be used for evaluating the construction's progress den objects, assisting with work, clash detection, and simulating any fut Furthermore, AR applications can be very effective in the built heritage sit due to the stimulation of better collaboration between people (e.g., stakeho ists) and the heritage sites.
Using BIM at heritage sites can be a platform for experts who are mo the restoration and preservation of heritage sites. In the case of Zainal Hi the Heritage BIM model can be used as an informative and educational to tourism ( Figure 13). Using the mobile AR application to produce the engineering information directly from the 3D BIM model can increase the collaboration and sharing of information between the project's stakeholders. Moreover, these AR applications have the ability to use automated geo-localization tools. These tools can be very effective on a construction site. For example, these tools can be used for evaluating the construction's progress, revealing hidden objects, assisting with work, clash detection, and simulating any future situations. Furthermore, AR applications can be very effective in the built heritage sites. This can be due to the stimulation of better collaboration between people (e.g., stakeholders and tourists) and the heritage sites.
Using BIM at heritage sites can be a platform for experts who are most interested in the restoration and preservation of heritage sites. In the case of Zainal Historical House, the Heritage BIM model can be used as an informative and educational tool for cultural tourism (Figure 13). Producing the AR model of Zainal Historical House was achieved via BIMserver.center applications ( Figure 14). These applications can work with different formats based on IFC. Moreover, BIMserver.center applications are cloud-based servers which can work on both desktop and mobile devices with the ability to be presented in different headmounted display (HMD) kits, such as iGlasses.
Additionally, the eBIM of Zainal Historical House was converted from Autodesk Revit format into .fbx format. This step allowed the model to be inserted into several types of modeling software (such as Autodesk 3-D Max). Then, the model could be linked with specific markers. Within Autodesk 3-Ds Max, the model can be exported into AR application formats. This step is important since it can result in a 3D AR model with a limited file size, thus giving it the ability to be transferred to mobile device applications. Lastly, by using the mobile camera to capture the marker (Figure 15), the AR model can be automatically presented.   Producing the AR model of Zainal Historical House was achieved via BIMserver.cen ter applications (Figure 14). These applications can work with different formats based o IFC. Moreover, BIMserver.center applications are cloud-based servers which can work o both desktop and mobile devices with the ability to be presented in different head mounted display (HMD) kits, such as iGlasses.
Additionally, the eBIM of Zainal Historical House was converted from Autodes Revit format into .fbx format. This step allowed the model to be inserted into several type of modeling software (such as Autodesk 3-D Max). Then, the model could be linked wit specific markers. Within Autodesk 3-Ds Max, the model can be exported into AR applica tion formats. This step is important since it can result in a 3D AR model with a limited fil size, thus giving it the ability to be transferred to mobile device applications. Lastly, b using the mobile camera to capture the marker (Figure 15), the AR model can be automa ically presented.  Additionally, the eBIM of Zainal Historical House was converted from Autodesk Revit format into .fbx format. This step allowed the model to be inserted into several types of modeling software (such as Autodesk 3-D Max). Then, the model could be linked with specific markers. Within Autodesk 3-Ds Max, the model can be exported into AR application formats. This step is important since it can result in a 3D AR model with a limited file size, thus giving it the ability to be transferred to mobile device applications. Lastly, by using the mobile camera to capture the marker (Figure 15), the AR model can be automatically presented.

Conclusions
Virtual reality and augmented reality technologies offer unlimited support to th field of architecture. Their application helps in developing potential projects with bette performance and fewer resources and saving time [47]. With the use of mobile phone ap plications which are mostly integrated with a camera, people can experience a virtual re ality simulation. Virtual reality technology makes it more applicable in architecture toda than previously, when the certain equipment for virtual reality and augmented reality together with simulation rooms, were costly and unaffordable. Mixed reality, combine VR and AR, results in a better understanding and is more beneficial. They connect anyon anywhere and integrate everything. Preservation of the historical architectural designs i not only crucial for future generations to see them, but it offers a sense of preserving nation's culture and beliefs [39].
It is essential to preserve cultural heritage and historical sites. The approach to th latest 3D digital scanners affords new ways to preserve these sites digitally and documen historical studies by creating geometric and realistic 3D models. A necessary aspect o national identity is cultural and historical heritage. In the collective memory of society heritage sites, structures, and monuments play an essential role.
The use of a 3D environment seeks to create an active online database website o application shared with the public. The users can be anyone and not only specialists o architects. The users can share not only models or pictures but also stories about any his toric building or site. This database attempts to preserve the historical building not onl in the form of its appearance or a digital model, but it also seeks to protect the tradition and culture of it. This is a method for preserving the identity of each city.
Funding: This research received no external funding. Data Availability Statement: No ethical approval was required due to the use of publicly availab and/or aggregate secondary data.

Acknowledgments:
The author greatly acknowledge research support from King Abdulaziz University.

Conflicts of Interest:
The author declares no conflict of interest.

Conclusions
Virtual reality and augmented reality technologies offer unlimited support to the field of architecture. Their application helps in developing potential projects with better performance and fewer resources and saving time [47]. With the use of mobile phone applications which are mostly integrated with a camera, people can experience a virtual reality simulation. Virtual reality technology makes it more applicable in architecture today than previously, when the certain equipment for virtual reality and augmented reality, together with simulation rooms, were costly and unaffordable. Mixed reality, combined VR and AR, results in a better understanding and is more beneficial. They connect anyone anywhere and integrate everything. Preservation of the historical architectural designs is not only crucial for future generations to see them, but it offers a sense of preserving a nation's culture and beliefs [39].
It is essential to preserve cultural heritage and historical sites. The approach to the latest 3D digital scanners affords new ways to preserve these sites digitally and document historical studies by creating geometric and realistic 3D models. A necessary aspect of national identity is cultural and historical heritage. In the collective memory of society, heritage sites, structures, and monuments play an essential role.
The use of a 3D environment seeks to create an active online database website or application shared with the public. The users can be anyone and not only specialists or architects. The users can share not only models or pictures but also stories about any historic building or site. This database attempts to preserve the historical building not only in the form of its appearance or a digital model, but it also seeks to protect the traditions and culture of it. This is a method for preserving the identity of each city.
Funding: This research received no external funding. Data Availability Statement: No ethical approval was required due to the use of publicly available and/or aggregate secondary data.