A method for quickly browsing BIM models

By constructing a spatial index and generating viewpoint panoramas through offline rendering, the problems of slow loading and poor interactivity in online BIM model visualization are solved, achieving the effects of fast browsing and efficient switching of perspectives.

CN115512089BActive Publication Date: 2026-11-10TY INTELLIGENT SCIENCE & TECHNOLOGY (CHONGQING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211071452.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2026-11-10
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

Traditional online visualization of BIM models suffers from slow data loading, poor interactivity, complex operation, and poor visualization effects, making it difficult to quickly browse and switch perspectives on mobile phones and web pages.

Method used

By constructing a spatial index, panoramic images and pictures of the viewpoint are generated using offline rendering, the data index is reconstructed, and scene switching is performed based on the spatial index. A buffer is set to cache images of adjacent spaces, thereby improving the efficiency of scene switching.

Benefits of technology

It significantly improves the speed of view switching and operational efficiency of BIM models, enhances rendering effects and the smoothness of model interaction, and meets users' needs for quick browsing and switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115512089B_ABST
    Figure CN115512089B_ABST
Patent Text Reader

Abstract

This invention discloses a method for quickly browsing BIM models, mainly including the following steps: S100, constructing a spatial index and quickly narrowing the viewpoint range by selecting the spatial index; S200, reconstructing the BIM data index corresponding to each viewpoint using the rendering results of each viewpoint; S300, selecting image information according to data type; S400, switching BIM scenes based on the spatial index. This invention utilizes spatial indexes to generate viewpoints in BIM models, effectively solving the difficulty of switching camera views via mouse or gestures in conventional BIM model viewers, especially the problem of switching views between floors in a BIM model. It meets users' needs for quickly viewing BIM models and significantly improves user operating efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of BIM models, specifically to a method for quickly browsing BIM models. Background Technology

[0002] With the continuous development of BIM (Building Information Modeling) technology, an increasing number of construction projects are using BIM to assist in project construction, playing a vital role. BIM is a virtual building created in a computer using digital means. This building contains geometric information describing the building's visual appearance and non-geometric information related to the building components. Non-geometric information includes details such as building materials, procurement information, and cost information. In other words, a BIM model is essentially a database that records all the building's data. The core application of BIM models lies in utilizing this data throughout the entire building lifecycle, playing a crucial role in the construction and subsequent operation and management of the building.

[0003] The basic components in a BIM model generally include foundations, columns, beams, slabs, and walls, as well as models of various disciplines, such as HVAC models, MEP models, and interior design models. BIM models are typically generated using client-side design software (such as Revit), and their construction can only be viewed within that software. To view them on mobile phones or web pages, the BIM model must be lightweighted and then rendered using a web rendering engine. While online visualization offers convenience for viewing models, the sheer volume of BIM data often results in slow data loading, poor interactivity, complex operation, low stability, and poor visualization quality. Summary of the Invention

[0004] The purpose of this invention is to overcome the above-mentioned problems and provide a method for quickly browsing BIM models.

[0005] This invention is achieved through the following technical solution: a method for quickly browsing BIM models, mainly including the following steps:

[0006] S100. Construct a spatial index and quickly narrow the viewpoint range by selecting a spatial index;

[0007] S200. Reconstruct the BIM data index corresponding to each viewpoint using the rendering results of each viewpoint;

[0008] S300. Select image information according to data type;

[0009] S400: Switching between BIM scenes based on spatial indexes.

[0010] Furthermore, step S200, "reconstructing the BIM data index corresponding to each viewpoint using the rendering results of each viewpoint," includes the following specific steps:

[0011] S201. Calculate the preset viewpoint positions and directions of the BIM model, and generate the position and range of each viewpoint;

[0012] S202. Render the image or panorama of each viewpoint offline according to the location and range of the generated viewpoint, and generate all panorama and images related to the rendered viewpoint.

[0013] S203. Calculate the image range corresponding to the model components within the viewpoint;

[0014] S204. Save non-geometric data of model components;

[0015] S205. Calculate the spatial range of the image within the viewpoint.

[0016] Furthermore, the "spatial index" mentioned in step S100 includes the range of several spaces and the connection relationship between several independent spaces.

[0017] Meanwhile, the "selection of image information by data type" in step S300 refers to selecting from the rendered image of each viewpoint based on the data type being browsed.

[0018] To further improve the scene switching speed of the present invention, when "switching BIM scenes based on spatial index" is described in step S400, a buffer containing images of adjacent connected spaces of the space where the current viewpoint is located is also set up whenever a scene of a viewpoint is loaded.

[0019] As a preferred method, the "calculation of the image range corresponding to the space within the viewpoint" in step S205 specifically involves: first, loading the BIM model into the engine's coordinate system and calculating the two-dimensional point coordinates on the image corresponding to the three-dimensional point coordinates of the component edge within the viewpoint range; then, regenerating polygon vertices based on the smoothness of continuous pixels according to a set of two-dimensional points on the image.

[0020] The "completion of BIM scene switching" mentioned in S400 refers to a BIM scene that includes, but is not limited to, rendering images of each viewpoint, component range information, non-geometric data information, and subspace range information.

[0021] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0022] 1. This invention utilizes spatial indexing to generate viewpoints in BIM models, effectively solving the difficulty of switching camera perspectives in conventional BIM model viewers using mouse or gestures, especially the problem of switching perspectives between floors in a BIM model. It can meet users' needs for quick viewing of BIM models and significantly improve user operating efficiency.

[0023] 2. This invention uses images to reconstruct BIM models and employs an offline rendering method to render the models and images. This not only meets the needs of viewing BIM components and non-geometric data of components, but also significantly improves the visual effect of the rendered images, effectively solving the shortcomings of poor rendering effects in traditional online model browsing.

[0024] 3. This invention uses spatial indexes to switch BIM model scenes and utilizes image information related to cached space for data buffering. Therefore, it can significantly improve scene switching efficiency, as well as the smoothness of model interaction and browsing. Attached Figure Description

[0025] Figure 1 This is a schematic diagram of the overall process of the present invention;

[0026] Figure 2 This is a schematic diagram illustrating the process of reconstructing the BIM data index corresponding to each viewpoint according to the present invention. Detailed Implementation

[0027] The present invention will be further described in detail below with reference to the embodiments, but the implementation of the present invention is not limited thereto.

[0028] Example

[0029] The method for quickly browsing a BIM model described in this embodiment is mainly implemented by the following steps, for details. Figure 1 The flowchart shown.

[0030] S100. Construct a spatial index and quickly narrow the viewpoint range by selecting a spatial index.

[0031] In traditional practical applications of BIM models, many applications only require viewing the shape and structure of building components from a specific viewpoint, and then viewing the non-geometric data associated with those components, such as building material information, procurement information, cost information, etc. However, the internal structure of BIM models is often very complex, making it quite difficult to quickly locate the viewpoint and select building components. Therefore, this invention first requires using spatial indexes to quickly narrow down the viewpoint range in order to jump to the ideal viewpoint as soon as possible.

[0032] The spatial index mentioned in this step refers to the division of the BIM model into spatial ranges based on the actual building functional spaces. Through this spatial index, the viewpoint of that space can be quickly located in the BIM model.

[0033] In a BIM model, space can be described as the elevation, coordinates of the vertices of the base polygons, and height within the BIM model. The resulting virtual space is actually a range comprised of a series of three-dimensional points. By examining this range, the building components within the space can be accurately located.

[0034] In addition to the scope of each space, the spatial index also includes the connectivity relationships between several independent spaces. In real-world scenarios, various functional spaces have certain connections, such as whether two spaces are adjacent or reachable. Therefore, the relationships between spaces can be represented by multiple connectivity diagrams. In this embodiment, spaces can be divided into site spaces, building spaces, floor spaces, room spaces, and sub-functional spaces. Each type of space can have its own connectivity diagram constructed, such as a connectivity diagram between floors or a connectivity diagram between rooms. Through the connectivity relationships of various types of spaces at multiple levels, the next spatial viewpoint that the current spatial viewpoint may jump to can be quickly found, allowing for rapid switching of viewpoints according to actual user needs. This provides good interactivity when roaming and viewing within the BIM.

[0035] S200. Reconstruct the BIM data index corresponding to each viewpoint using the rendering results of each viewpoint.

[0036] When previewing a BIM model online in the traditional way, the rendering engine needs to calculate the triangles that need to be displayed in each view frustum first, and then use rendering technology to generate each frame of image and display it. Therefore, this method is very slow when the number of triangles in the BIM model is large. Moreover, it is also limited by the hardware conditions of the terminal device itself, and the display effect is also poor with poor hardware.

[0037] Therefore, to display the content of a BIM model from a specific viewpoint, this invention uses pre-rendering to save the rendering results of each viewpoint as images or panoramic views. Based on this, the corresponding BIM data index is reconstructed. This method not only meets the needs of viewing various components of the BIM model and browsing BIM data, but also greatly improves loading speed during online previews and achieves better rendering results even in offline rendering.

[0038] As per the process Figure 2 As shown, this step, which involves reconstructing the BIM data index corresponding to each viewpoint using the rendering results of each viewpoint, includes the following specific steps:

[0039] S201. Calculate the preset viewpoint positions and directions of the BIM model, and generate the position and range of each viewpoint.

[0040] Before offline rendering, this invention must first calculate the viewpoint and rendering range. Considering user-friendly interactivity and maximizing the convenience of querying components, this invention needs to generate different viewpoints for each type of space based on multiple spatial levels. For example, in a building space, based on the multiple face directions of the building's polygonal cube, viewpoints parallel to that direction and viewpoints at 45 degrees are generated. The distance from these viewpoints to the building space is limited by the condition that all components in the space can be viewed. The optimal distance is calculated to generate several preset viewpoints for the building space.

[0041] For example, taking a room space as an example, the viewpoints within the room space are designed to allow for viewing as many BIM model components as possible within that area. A point is preset at the center of the space, and points are preset at each corner of the space's polygonal cube. In summary, the viewpoints preset for each component aim to allow for viewing as many BIM model components as possible within each space.

[0042] S202. Render the image or panorama of each viewpoint offline according to the location and range of the generated viewpoint, and generate all the panorama and images related to the rendered viewpoint.

[0043] After completing step S201, images need to be rendered based on the viewpoint information, i.e., rendering images or panoramas for each viewpoint using offline rendering. Offline rendering uses professional rendering tools, such as rendering engines like 3ds Max, Unreal Engine 4, and Unity. First, the BIM model is loaded into the rendering engine, then the camera is adjusted to the viewpoint position to be rendered, and finally the rendering engine is started to generate the rendered image. In particular, for generating panoramas, the viewpoint's visible rotation range needs to be changed to 360 degrees to generate the panorama. Following this method, panoramas and images related to all viewpoints are generated.

[0044] S203. Calculate the image range corresponding to the model components within the viewpoint.

[0045] Since the images or panoramic views of each viewpoint in the BIM model generated through offline rendering can only be used to view the appearance of the BIM model and cannot be interacted with or manipulated, it is also necessary to generate the corresponding range of the components on each image. Relative to the image, the range of a component can be represented by a planar polygon, specifically by a series of two-dimensional pixel coordinates and the lines connecting the points.

[0046] During offline rendering, when rendering each image from each viewpoint, it is necessary to first load the BIM model into the engine's coordinate system, calculate the corresponding 2D point coordinates on the image based on the 3D point coordinates of the component edges within the viewpoint range, and then regenerate polygon vertices based on the smoothness of continuous pixels according to a set of 2D points on the image to reduce the amount of data.

[0047] For each BIM component within the visible range in each rendering of the viewpoint, its corresponding polygon extent points should be generated. For each rendering, the extent point coordinates of the corresponding BIM component should be stored separately. Components within the visible range and the current corresponding spatial area that are occluded by other components should also have their extent point coordinates generated. Furthermore, all coordinates generated in this step need to be stored using a data file.

[0048] S204. Save the non-geometric data of the model components.

[0049] In addition to storing the BIM model components within the rendered image, this invention should also store the non-geometric data of the BIM model. This data is very useful in certain application scenarios, such as building origin tracing and identifying manufacturers. For each rendered image, a separate file is used to store the non-geometric information of each component within the rendered image. This information can be retrieved using the component's ID.

[0050] S205. Calculate the spatial range of the image within the viewpoint.

[0051] In this step, for each rendered image, it is necessary to save the extent of other spaces that exist within it. For example, a rendered image under a floor space may contain multiple room spaces. For subspaces, the extent of the subspace should be saved in a separate file. The generation method is similar to that of component extents, generating polygons of their boundary extents.

[0052] At this point, the image-based BIM data has been fully constructed. A BIM model should generate rendered images, component extent information, non-geometric data information, and subspace extent information for each viewpoint in the scene.

[0053] S300. Select image information according to data type.

[0054] Unlike typical BIM models where components are selected and data is browsed by mapping 3D points, this step involves selecting components from the rendered image of each viewpoint according to the data type that needs to be browsed.

[0055] For viewing architectural components in a BIM model, the component's polygonal area is directly drawn on the rendered image, allowing the user to directly locate the specific component. For components that are obscured within the space, the component name can be selected from a drop-down list. After locating the component, its corresponding non-geometric information can be retrieved using its ID.

[0056] To view spatial sub-regions of the BIM model, the corresponding polygonal range is directly drawn on the rendered image. By selecting this range, information about the space and its components can be viewed. Different polygonal ranges can be selected according to different data types, and then the corresponding information can be retrieved based on the component ID or space ID to query BIM-related data.

[0057] S400: Switching between BIM scenes based on spatial indexes.

[0058] To achieve good interactivity and smoothness, this invention uses spatial indexing to switch BIM scenes. Specifically, the user selects a starting viewpoint as needed, and the scene switches to the image or panoramic view corresponding to that pilot project. The user can then select components, view spatial information, and view component information in the scene as needed.

[0059] Whenever a scene loads for a viewpoint, a buffer needs to be set up, containing images of adjacent connected spaces in the space where the current viewpoint resides. When the user views the next space, the image is directly retrieved from the buffer, completing the image loading process. This method of using spatial indexes for scene switching not only provides the user with a fixed viewpoint to improve interactivity but also improves smoothness by caching images of adjacent spaces in the spatial index.

[0060] As described above, the present invention can be well implemented.

Claims

1. A method for quickly browsing a BIM model, characterized in that, The main steps include: S100. Construct a spatial index and quickly narrow the viewpoint range by selecting a spatial index; S200. Reconstruct the BIM data index corresponding to each viewpoint using the rendering results of each viewpoint; S300. Select image information according to data type; S400: Switching between BIM scenes based on spatial indexes; Step S200, "reconstructing the BIM data index corresponding to each viewpoint using the rendering results of each viewpoint," includes the following specific steps: S201. Calculate the preset viewpoint positions and directions of the BIM model, and generate the position and range of each viewpoint; S202. Render the image or panorama of each viewpoint offline according to the location and range of the generated viewpoint, and generate all panorama and images related to the rendered viewpoint. S203. Calculate the image range corresponding to the model components within the viewpoint; S204. Save non-geometric data of model components; S205. Calculate the spatial range of the image within the viewpoint; The "spatial index" mentioned in step S100 includes the range of several spaces and the connection relationship of several independent spaces; When "switching BIM scenes based on spatial indexes" is performed in step S400, a buffer containing images of adjacent connected spaces of the current viewpoint is also set up whenever a scene of a viewpoint is loaded.

2. The method for quickly browsing a BIM model according to claim 1, characterized in that, The "selecting image information by data type" mentioned in step S300 refers to selecting from the rendered image of each viewpoint based on the data type being browsed.

3. The method for quickly browsing a BIM model according to claim 2, characterized in that, The "calculation of the image range corresponding to the space within the viewpoint" in step S205 specifically involves: first, loading the BIM model into the engine's coordinate system and calculating the two-dimensional point coordinates on the image corresponding to the three-dimensional point coordinates of the component edge within the viewpoint range; then, regenerating polygon vertices based on the smoothness of continuous pixels according to a set of two-dimensional points on the image.

4. The method for quickly browsing a BIM model according to claim 3, characterized in that, The "Complete the switching of BIM scene" mentioned in step S400 refers to a BIM scene that includes, but is not limited to, the rendered image of each viewpoint, component range information, non-geometric data information, and subspace range information.

Citation Information

Patent Citations

  • Granularity index construction method for large-scale BIM building data

    CN111930825A

  • Method for displaying and interacting three-dimensional BIM model in two-dimensional view

    CN113538708A